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?
In regression analysis, is the unit of the predictor rounded in any way?In regression analysis, I'm familiar with the saying that the coefficient reported is an effect on y…
Mean, StDev, N, t-value in one commandHello Guys I have a dataset which shows the following: Firm date return DayofWeek AARGKB Janua…
Problem with using propensity score matching (psmatch2) while conducting an event studyDear Statalisters, I am using Stata 16 on an Apple Macbook. For my master thesis Financial Economi…
Converting a country-year dataset into a countyr-year-religiousgroup dataset (from wide format to long format)Hello, Thanks in advance for suggestions. I want to change the format of the data (I think the corre…
Calculate at once using patternHello, I would like to calculate the employment and unemployment rate using estimates of labor forc…
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