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?
collinearityHello I got the below output, I can not understand why stata omitted y1987 and 1988. Thanks Shiva .…
Variable not found (after others created in the same way)I have the following nested for loops to run the same calculation for different radii, I have bolded…
Excluding*data entriesHi, I have something that is confusing me. I have a dataset and want to merge it with another, but …
Generate new variable without duplicatesHello I have one problem, I need to create a new variable: One extrait of my dataset is the followi…
xttrans2 - calculating transitional probabilities for multiple years.Hi, I'm a little confused with regards to the xttrans2 command and obtaining transitional probabilit…
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