Hi there,
I have been trying to mianalyze a multiple imputation survival data with phreg and i keep getting errors. Please help. Thanks
proc mi data=low_rectal nimpute=20 out=LOW_RECTAL_mi ;
class operation sex therapy treatment acps distal_margin radial_margin cat_age;
var operation sex therapy treatment acps distal_margin radial_margin cat_age age;
fcs reg logistic ;
ods select misspattern;
run;
ods graphics on;
proc phreg data= LOW_RECTAL_mi outest=out covout;
class operation sex therapy treatment acps
distal_margin radial_margin ;
class operation(ref='APR') sex(ref='F') therapy(ref='None') treatment(ref='surgery only') acps(ref='3')
distal_margin(ref='Not reported') radial_margin(ref='Not reported') ;
model os*os_censor(0)=operation sex therapy treatment acps distal_margin radial_margin cat_age age
/covb slentry=0.99 slstay=0.995 rl=both best=5;
hazardratio operation/diff=all;
ods output PARAMETERESTIMATES=parms2 covb=cov2;
by _imputation_;
id univid;
format cat_age age.;
run;
proc mianalyze parms=parms2 covb=cov2;
modeleffects OperationAPR SEXF therapyNone therapyPostOp therapyPreOp
treatmentcombined ACPS1 ACPS2 'DISTAL_MARGINNot involved'n
RADIAL_MARGINInvolved 'RADIAL_MARGINNot involved'n cat_age
;
run;
... View more