Dear all:
I have one question regarding application of syntax (svy) to cox regression.
After using "svyset" to set sampling error and stratum and using weighing option when doing "stset", I planned to apply "svy" to a cox regression, which has robust option.
In this regard, the syntax is:
svy: stcox predictor_1 predictor_2 ... predictor_N, vce(robust)
(Note: the reason I put "robust" is that: I have to use Andersen-Gill model to deal with recurrent events)
But, after typing that syntax, I got the following message: "option robust not allowed with the svy prefix"
May I have your favor to figure out this question?
Thank you very much
0 Response to Application of syntax (svy) to cox regression
Post a Comment