Hi all,
proc glm data = protein;
class month;
model value = month;
run; quit;
proc glm data = protein;
class month parity;
model value = month parity;
run; quit;
I'm using proc GLM to get the Anova test as these codes showing.
My question is, how to get the 95% confident intervals of the means by using this Prco, once by one factor and then two factors.
OR What I should use instead of this to get Anova test as well as the confident intervals.
regards
Ibrahim
Have you tried the MEANS statement?
@Barkamih wrote:
Hi all,
proc glm data = protein; class month; model value = month; run; quit; proc glm data = protein; class month parity; model value = month parity; run; quit;
I'm using proc GLM to get the Anova test as these codes showing.
My question is, how to get the 95% confident intervals of the means by using this Prco, once by one factor and then two factors.
OR What I should use instead of this to get Anova test as well as the confident intervals.
regards
Ibrahim
proc glm data = protein; class month; model value = month; run; quit;
Hi @Barkamih
You can specify the CLM and ALPHA options as follows:
model <your model> / clm alpha=.05
Best,
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.