BookmarkSubscribeRSS Feed
MigMaster12
Calcite | Level 5

Greetings!

 

I'm running a generalized linear model (GLM) in SAS via PROC GENMOD.

 

I've specified a gamma distribution since my Y response variable is skewed to the right & is non-negative. I've specified a square root power link (since I found that transforming my Y via the square root improves the skewed distribution). I have 2 X predictor variables, X1 and X2.

 

My code looks something like:

 

PROC GENMOD DATA=SAMPLE;

MODEL Y = X1 X2 / DIST=GAMMA LINK=POWER(0.5);

RUN;

 

SAS gives me an output of the 2 regression estimates for X1 & X2. For example:

X1:  0.64

X2:  -0.08

 

How would I go about interpreting these estimates in terms of my Y variable? Can I just say that 1 unit change in X1 results in a increase of 0.64 in Y (assuming that my specific link function has already taken care of the transformation)? Or do I have to take the square of the estimates to obtain the original un-transformed Y?

 

Thank you in advance for your help!

1 REPLY 1
unison
Lapis Lazuli | Level 10

Add the output option:

 

Output pred=Pred;

So that you can view the prediction table. Take a look at the table and try a few observations with how you’ve hypothesized the link function to work. Report back with what you find!


here are some helpful docs: https://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_genmod_sect...

 

-unison

-unison

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

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1048 views
  • 0 likes
  • 2 in conversation