Hi there! I am struggling to interpret my SAS output for gamma regression using PROC GENMOD, where the dist=GAMMA and the link=LOG. My dependent and independent variables (and other covariates) are continuous. The dependent variable is measured in weeks.
I am stuck because in the "Contrast Estimate Results" table I get a mean estimate of 1.01, and I'm not sure how to interpret it because when I convert the dependent variable to days (so I can interpret a larger beta estimate), I get an identical mean estimate of 1.01, and the only thing that changes is my intercept.
With that in mind, is the mean estimate not interpreted as the change in y for every unit change in x? I've seen mixed responses and based on my identical answer despite changing the units of y, I wanted to inquire. Thank you!
Hi! Yes, that is correct, the code is identical except the variable for days is that of weeks multiplied by 7. I apologize - here are the statements:
proc genmod data=dataset;
model age_days = exposure covariate1 covariate2 covariate3 /dist=GAMMA link=log;
estimate "Age, days with exposure" exposure 1;
ods output estimates = day_exp;
run;
proc genmod data=dataset;
model age_wks = exposure covariate1 covariate2 covariate3 /dist=GAMMA link=log;
estimate "Age, weeks with exposure" exposure 1;
ods output estimates = week_exp;
run;
Thank you! I will look deeper into this to wrap my head around it, but it makes sense. Thanks!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.