BookmarkSubscribeRSS Feed
LNL
Calcite | Level 5 LNL
Calcite | Level 5

Hi

I am running a logistic random effects model using GLIMMIX to predict the probability of death. I'm interested in variation between geographic areas. My first model is a "null" model with no fixed effects and a random intercept for geographic areas. The second model controls for age and sex by including those variables in the model.

model 1:

proc glimmix data=data;

class geo;

model death (event-last) = / solution dist=binary link=logit oddsratio;

random geo / solution;

run;

model 2:

proc glimmix data=data;

class geo;

model death (event-last)  = age female/ solution dist=binary link=logit oddsratio;

random geo / solution;

run;

I would like to get the probability of death in each geographic area relative to the average. The coefficients in the "solution for random effects" table are on the logit scale. How do i get the probability of each area being higher, lower than 1 for each model?

Thanks very much

LNL

1 REPLY 1
SteveDenham
Jade | Level 19

If there are not too many levels to geo, consider using ESTIMATE statements with the ILINK option.

Steve Denham

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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