BookmarkSubscribeRSS Feed
Robert_Klein_ND
Fluorite | Level 6

Hello SAS community!

 

I am constantly working with regression, and having to calculate "estimated means" to help with interpreting slopes. For instance, if I do this:

 

Proc reg; model continuous_dependent_variable = z-scored_neuroticism ;run;

 

The output, of course, gives me an intercept estimate and a slope for the predictor. If the predictor is z-scored, one can take the intercept and add the slope to it to estimate the level of the the DV expected at +1 standard deviation of the predictor. The slope can be subtracted from the intercept to get an estimated DV mean at low (-1 sd) neuroticism.

 

My question is, does anybody know if SAS is capable of automatically outputting estimated means? Even for 2 or 3-way interactions?

 

Thanks, all

Robbie @ NDSU

1 REPLY 1
Reeza
Super User

LSMEANS or ESTIMATE statements within PRO GLM?

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 1593 views
  • 0 likes
  • 2 in conversation