BookmarkSubscribeRSS Feed
samraty81
Calcite | Level 5

I am trying to predict the impact of readmission events (continuous) and type of readmission (medical, surgical, other) on total hospital costs. Because costs are skewed by nature, I am applying gamma distribution with log link function. Below is the model

 

PROC GENMOD data = abc;
class type (ref='medical') gender (ref='F')/param=ref;
model cost = event type age gender /dist=gamma link=log type3;
run;

 

 

 

1) Is the model correct?

2) How can I get marginal effects from the coefficients for different variables. i.e. is there a SAS option that will give me hospital cost within each level of type of readmission and for male and female?

3) I know modified park test will help us determine whether to use gamma distribution or not, but I can't seem to find that option in SAS.

1 REPLY 1
Ksharp
Super User
1) check EFFECTPLOT statement
2)

http://blogs.sas.com/content/iml/2015/09/10/plot-distrib-reg-model.html

http://blogs.sas.com/content/iml/2015/09/16/plot-distrib-exp.html

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