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
Related Posts with Application of syntax (svy) to cox regression
integrated time dependent area under the curveHello Is there any command in stata to calculate the integrated time dependent area under the curve…
ml command with estimated coefficients (rangestat/runby?)Dear All, Given the data set Code: * Example generated by -dataex-. To install: ssc install dataex…
Converting incident data to weekly ratesHi, I've got a data handling challenge that I was hoping to get some assistance with. The data I'm …
Add leading zero before decimal in scalarsDear All, I am writing to ask a quick question on making a small adjustment to scalars. Code: sy…
A package for Nearest Neighbor estimation with panel data?Hello. I'm trying to estimate an effect using panel data with three time periods (0, 1 and 2). Time …
Subscribe to:
Post Comments (Atom)
0 Response to Application of syntax (svy) to cox regression
Post a Comment