Dear Statalist community,
I would appreciate feedback on why I might be getting such big Hazard Ratio (and corresponding robust Standard Error) for the variable called "V2" (significant at the 0.1 Level) below (subject-year observations starting in 2000 and ending in 2014):
Previously, in http://www.statalist.org/forums/foru...=1463052080277 #2, it is suggested that after stsetting:
But in Stata 13 when I type that, I get the following error:
in http://www.stata.com/statalist/archi.../msg01087.html it is suggested that the ratio of the number of failures to the number of predictors should be no more than 5:1; in my case it is 14:9. However, I have seen in previous studies (social science) worse ratios (models with more covariates and less failures)
By the way, neither the global nor the covariate specific Proportionality Assumption test(s) are violated:
Only V4 & V5 are dummies, the rest are continuous vars.
V2 was subjected to linear Interpolation (I only had data for three Points, censi 2000 & 2010 & intercensus 2005). V7 & V9 were interpolated similarly
Question also available here http://stackoverflow.com/questions/3...zard-ratios-se
I would appreciate feedback on why I might be getting such big Hazard Ratio (and corresponding robust Standard Error) for the variable called "V2" (significant at the 0.1 Level) below (subject-year observations starting in 2000 and ending in 2014):
Code:
stcox V1 V2 V3 V4 V5 V6 V7 V8 V9, cluster(stateid) failure _d: CU_intro_censor analysis time _t: CU_intro_durat id: stateid Iteration 0: log pseudolikelihood = -38.498425 Cox regression -- Breslow method for ties No. of subjects = 32 Number of obs = 409 No. of failures = 14 Time at risk = 409 Wald chi2(9) = 57.10 Log pseudolikelihood = -38.498425 Prob > chi2 = 0.0000 (Std. Err. adjusted for 32 clusters in stateid) ------------------------------------------------------------------------------ | Robust _t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval] -------------+---------------------------------------------------------------- V1 | 1.31167 .1280843 2.78 0.005 1.08319 1.588342 V2 | 29249.42 164285.9 1.83 0.067 .4843432 1.77e+09 V3 | 1.266819 .2825774 1.06 0.289 .8181731 1.961481 V4 | 2.542591 1.442277 1.65 0.100 .8364406 7.728905 V5 | 3.529885 3.106127 1.43 0.152 .6291362 19.80507 V6 | .0101404 .0452379 -1.03 0.303 1.62e-06 63.5887 V7 | 1.010953 .0321171 0.34 0.732 .9499248 1.075903 V8 | 1.000334 .0001594 2.10 0.036 1.000022 1.000647 V9 | 1.053155 .0487628 1.12 0.263 .9617902 1.153199 ------------------------------------------------------------------------------
Previously, in http://www.statalist.org/forums/foru...=1463052080277 #2, it is suggested that after stsetting:
Code:
sts graph, strata(V2) risktable dotplot _t if _d, over(V2)
Code:
strata() requires adjustfor(); perhaps you mean by() r(198);
By the way, neither the global nor the covariate specific Proportionality Assumption test(s) are violated:
Code:
estat phtest, detail Test of proportional-hazards assumption Time: Time ---------------------------------------------------------------- | rho chi2 df Prob>chi2 ------------+--------------------------------------------------- V1 | -0.07008 0.09 1 0.7685 V2 | 0.04479 0.03 1 0.8714 V3 | 0.10258 0.12 1 0.7336 V4 | -0.17487 0.35 1 0.5554 V5 | -0.03148 0.03 1 0.8608 V6 | 0.00600 0.00 1 0.9779 V7 | 0.01503 0.01 1 0.9382 V8 | 0.13468 0.24 1 0.6227 V9 | 0.04130 0.05 1 0.8272 ------------+--------------------------------------------------- global test | 1.02 9 0.9994
V2 was subjected to linear Interpolation (I only had data for three Points, censi 2000 & 2010 & intercensus 2005). V7 & V9 were interpolated similarly
Question also available here http://stackoverflow.com/questions/3...zard-ratios-se
Comment