Hello everyone,
I'm running a cox model with an unbalanced panel from 2015-2021 to measure the factors that influence the survival of companies, I have my time variable and the failure variable, my covariates vary over time, that is, they are GDP , agglomeration index, growth rate of economic sectors and other indexes, these variables are different each year and also vary depending on the region. When the covariates are included in the analysis, they turn out to be significant, but none of them meet the proportional hazards assumption. My question is, is there an error in my database?
The commands I use to run the model are
-snapspan idn time died, generate(time0) replace-
-stset time, id(idn) failure (died)-
-stcox- (with my covariates)
-stat phtest-
I have reviewed some works where tests of the proportional hazards assumption are not included, so I don't know if it is something necessary,
thanks in advance
Ana
Related Posts with Cox model with an unbalanced panel
Problem with delimitDear All, I have a master file from where I invoke other auxiliary files, the code being: Code: …
Education Calculation!Good Afternoon Everyone, I wonder if someone can help me to find a right command. I need to calcul…
Merging datasets with one to many mappingHi All, My first dataset is an input-output matrix, that resembles the following: Code: * Exampl…
How to calculate/obtain the standard errors of the residuals using FamaMacBeth with asreg fmb for Shanken Correction (1992)Hello everyone, I am currently trying to implement the Shanken (1992) Correction for my dataset aft…
Time Fixed effectsHello everyone, Just running a panel data regression, and the results for the Hausman test prove tha…
Subscribe to:
Post Comments (Atom)
0 Response to Cox model with an unbalanced panel
Post a Comment