BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I've learned how to use GENMOD assuming a poisson or negative binomial distribution, but I'm getting a much smaller deviance using a gamma with a log link. I need help interpreting these results.

I have a handful of explanatory variables, and the outptu is giving me the coefficient estimates for the intercept (1.87), and explanatory variables x1 (.29), x2 (.19), x3 (.47), and a scale parameter (3.87).

I'm trying to figure out where alpha is showing up on the output. The mean of the response variable is 7.13, so is alpha (7.13/3.87)? The results don't make the counts of my observed that well, but it's not bad.

Also, how do I find the corresponding model given these coefficients? I tried E(y)=exp(1.87 + .29x1 + .19x2 + .47*x3), but that didn't match my observed at all, and I'm not sure how to include the v and lambda variables.
1 REPLY 1
Dale
Pyrite | Level 9
Having specified a log link, you have indicated that E(Y)=exp(b0 + b1*x1 + b2*x2 + b3*x3). Whether you obtain a good fit or not is a different question.

I really don't know what you mean when you refer to "the v and lambda variables". GENMOD only allows you to model the expectation as a function of some predictor variables. It does not allow you to model the scale (or inverse scale) as a function of predictor variables. For that, you could use the NLMIXED procedure. But I am only guessing that your reference to "the v ... variables" refers to a set of variables which influence the scale parameter. And I have no idea what you mean by the lambda variables.

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