cancel
Showing results for 
Search instead for 
Did you mean: 

Proc mianalyze for type 3 tests

ProfB
Fluorite | Level 6

Proc mianalyze for type 3 tests

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;

 

2 REPLIES 2
Highlighted
SAS_Rob
SAS Employee

Re: Proc mianalyze for type 3 tests

Message contains a hyperlink
While there is no way to combine the Type3 tests in MIANALYZE you can combine the Chi-Square statistics themselves from the Type3 tests using the COMBCHI macro found on Paul Allison's web site.
http://www.ssc.upenn.edu/~allison/


ProfB
Fluorite | Level 6

Re: Proc mianalyze for type 3 tests

Thanks, I will give this a shot!