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?

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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