BookmarkSubscribeRSS Feed
Barkamih
Pyrite | Level 9

 

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 

 

 

2 REPLIES 2
Reeza
Super User

Have you tried the MEANS statement?

https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_glm_syntax15.htm&docsetVersion=14...

 


@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; 

 

ed_sas_member
Meteorite | Level 14

Hi @Barkamih 

 

You can specify the CLM and ALPHA options as follows:

model <your model>  / clm alpha=.05

Best,

SAS Innovate 2025: Call for Content

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

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.

Discussion stats
  • 2 replies
  • 555 views
  • 1 like
  • 3 in conversation