BookmarkSubscribeRSS Feed
cxc810
Calcite | Level 5

Hello Community,

When using a GLM gamma model with log link, is there a rule of thumb for when to specific the scale as the default, Pearson or deviance?   

 

I've been reading up online, but they're always answering the question for a different distribution of GLM, and I don't think any of the answers i have found are relevant for gamma models.

 

Moreover, in college, I did all my statistical analysis in python, and all the packages we use had Pearson as the default scale, so that has me wondering if I've been doing it wrong the whole time!

 

In case it helps, here is the model setup.

 

ods graphics on;

proc genmod data=data;

model y = x

      /dist=gamma link=log  ;

run;

ods graphics off;

 

Thanks in advance! 

2 REPLIES 2
StatDave
SAS Super FREQ

Scaling with the SCALE= option is only needed as a way to attempt to deal with overdispersion as discussed in this note

Ksharp
Super User
Gamma distribution is for Y>0 ,which means dependent variable Y must be positive .

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 2 replies
  • 1030 views
  • 2 likes
  • 3 in conversation