This seems silly, but I'm having an issue that I'm not sure what I'm doing incorrectly. Code:
proc means data= data mean lclm uclm alpha=.05;
by measure;
var score;
output out= data2 mean=avg lclm=lcl uclm=ucl;
run;
What happens is I get the correct means and confidence limits on the printed output. However, the output data set contains whole numbers for both the mean and confidence limits, which is clearly incorrect. I want the output data set so I can create a chart.
Suggestions?
Change the format on variable SCORE to allow for decimals.
Change the format on variable SCORE to allow for decimals.
Perfect, thank you!
data data2; set data;
format score 5.2;
run;
proc means data= data2mean lclm uclm alpha=.05;
by measure;
var score;
output out= data 3 mean=avg lclm=lcl uclm=ucl;
run;
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.