Confidence Intervals
We often quote confidence intervals for a parameter, the SAS procedure is PROC MEANS.
The format of PROC GPLOT is,
- PROC MEANS data=library.datafile lclm uclm alpha=conf level;
- VAR the variable(s) to be used;
- RUN;
Where lclm and uclm are for lower and upper confidence limits and alpha is the significance level (defalut=0.05).
Example
Suppose you wanted to calculate the 95% confidence interval for price, the program you would write is,
- PROC MEANS data=sasuser.houses lclm uclm alpha=0.05;
- VAR price;
- RUN;
SAS will output sonething similar to this,
