I'm trying to calculate the adjusted event rates for 2 patient cohorts, after adjusting the model (using proc glimmix) by propensity weights as well as some patient characteristics (age, sex, diabetes, smoking etc).
After running my model (below) I'm not getting any values for the specific outcome.
Any advice on how to adjust my model to get the adjusted event rates, or is there another procedure I should use?
proc glimmix data= final_population;
class patient_group survival gender (ref="0") daibetes (ref="0") smoking (ref="0") obesity (ref="0") ;
model survival (descending)=age gender daibetes smoking obesity propensity_score / dist=binary link=logit solution;
random intercept / subject=patient_group
run;
You will need to add an LSMEANS statement to get the estimates. They will be reported as logits, so you will need to include the ILINK option. If you want to calculate differences in risks, you will need to use the %nlmeans macro.
SteveDenham
You will need to add an LSMEANS statement to get the estimates. They will be reported as logits, so you will need to include the ILINK option. If you want to calculate differences in risks, you will need to use the %nlmeans macro.
SteveDenham
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.