I'm trying to pool type 3 tests from a regression model using proc genmod, across 10 imputed data sets. Is there a macro to leverage the ods type3 output table I can use to generate a pooled estimate of the p-value (for example, for "X1" in the code snippet below)?
proc genmod data=data plots=(dfbetacs);
class id time;
model y=time X1 time*X1 X2*time X3*time /noint dist=normal link=identity id=studyid type3;
repeated subject=id/type=ind ecovb;
weight &weight;
ods output GEEEmpPEst=emp_est type3=type3table; ;
by _imputation_;
run;
proc mianalyze parms (classvar=level)= emp_est;
class time ;
modeleffects time*X1;
run;
Thanks, I will give this a shot!
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!
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.