I would welcome advice on using the stpm2_standsurv command. When I include the permitted option 'ci' to estimate a confidence interval I get the error message below.
I tried to use the 'se' command instead to estimate the standard error and whilst I did not get an error message, no se was produced.
I used the following commands
. stpm2 age gender year_num CMno, scale(hazard) df(5) dftvc(4) eform
. stpm2_standsurv, atvars(male female) at1(gender 0) at2(gender 1) timevar(tt) ci
You can not use the ci option with the meansurv option
r(198);
Any suggestions much appreciated.
Thank you
I tried to use the 'se' command instead to estimate the standard error and whilst I did not get an error message, no se was produced.
I used the following commands
. stpm2 age gender year_num CMno, scale(hazard) df(5) dftvc(4) eform
. stpm2_standsurv, atvars(male female) at1(gender 0) at2(gender 1) timevar(tt) ci
You can not use the ci option with the meansurv option
r(198);
Any suggestions much appreciated.
Thank you
Comment