BookmarkSubscribeRSS Feed
haoduonge
Quartz | Level 8

Hi all,

Output from [proc glm] includes [estimate and standard error], can we get standard deviation instead?

Thanks!

Hao

 

https://communities.sas.com/t5/ODS-and-Base-Reporting/output-tables-from-proc-glm/m-p/239152 

8 REPLIES 8
PaigeMiller
Diamond | Level 26

Standard deviation of what?

--
Paige Miller
haoduonge
Quartz | Level 8

Standard deviation of the estimate (continuous variable).

PaigeMiller
Diamond | Level 26

Ok, estimate of what??



--
Paige Miller
haoduonge
Quartz | Level 8

Below is the example:

Proc glm data=temp1;

class age_group(ref=first);

model BMI=age_group/solution E3;

run; 

Thanks!

PaigeMiller
Diamond | Level 26

This GLM model produces a lot of estimates. Which one are you referring to?

--
Paige Miller
haoduonge
Quartz | Level 8

I think only one estimate (parameter), the value below intercept.

 

PaigeMiller
Diamond | Level 26

So to make the example concrete, let's go with 

 

proc glm data=sashelp.class;
    class sex;
    model height=sex/solution;
    means sex;
run;
quit;

this produces

 

PaigeMiller_0-1652816877689.png

and so you want the standard deviation of the estimate -3.3211111 for Sex F.

 

As far as I understand things, there is no standard deviation of this estimate. In fact, I don't even think it makes sense to talk about a standard deviation of this estimate. The Standard Error of 2.2862... gives you a measure of how variable this estimate is. 

 

So, under the usual assumptions for PROC GLM (errors are iid normal), this estimate has a normal distribtuion with mean of -3.3211111 and a standard deviation — which is equal to the standard error — of 2.2862 ...). Is that what you want?

--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 8 replies
  • 2746 views
  • 1 like
  • 2 in conversation