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
If there are not too many levels to geo, consider using ESTIMATE statements with the ILINK option.
Steve Denham
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.