Dear all, I have a question regarding a survival analysis.
I thank you all in advance.
I have to compare 5 drugs, adjusting for covariates.
It is a multicenter study where most of the failures occures at 6, 12, 24 and 36 months. After the 36-month visit the patient is censored.
The proportionality of the hazards holds for all the covariates but NOT for the "drug" variable (it is quite evident also from the attached graph).
Array
The problem is:
to take into account the multi-centre structure of the studio, I have used a shared frailty in the model.
However, as a result of this, STATA does NOT allow me to stratify for the "drug" variable.
I wonder how to fix this.
Or can the problem of no-proportionality of hazards be solved in another way?
What I get from STATA is:
xi: stcox age i.sex i.adverseevents i.efficacy i.pathology, frailty(gamma) shared(hospital) nolog forceshared strata(drug)
option strata(drug) not allowed with shared frailty models
Thanks again.
Gianfranco
Related Posts with STATA does NOT allow me to stratify for a variable in a frailty model. How to fix?
do-file does not even runRecently I am working on the paper of Ehrmann et al. (2011). For replication I need to run their do-…
lassologit: Stata package for logistic lasso regressionFollowing up on lassopack, Chris Hansen, Mark Schaffer and myself have developed a package for logis…
No observations - Portfolio SortsHello everyone, I have double-sorted my data and dropped observations to include only one observati…
generating a variable with a custom transformationHi, I am analyzing auction data with Stata. What I would like to do is to generate a variable of eq…
Reminder: 25th UK Stata Conference (London, 5-6 September 2019): Submissions before 31 May 2019 pleaseDates: Thursday 5 September and Friday 6 September 2019 Venue: Cass Business School Executive Educat…
Subscribe to:
Post Comments (Atom)
0 Response to STATA does NOT allow me to stratify for a variable in a frailty model. How to fix?
Post a Comment