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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 1543 views
  • 0 likes
  • 2 in conversation