Dear Statalisters working on survival analyses,
Hope you are all well.
I would appreciate your suggestions to help me understand what might be underlying the following:
1. I estimate stcox x1 x2 x3 i.x4, vce(robust) followed by estat phtest, detail. I see no violation of PH.
2. However, stcox x1 x2 x3 i.x4, vce(cluster clusterID) results in both x1 and x2 violating PH.
3. Then I run stcox x1 x2 x3 i.x4, tvc(x1 x2) texp(ln(_t)) vce(cluster clusterID). Coefficients under tvc (time interactions) are not significant.
My sample is approx. 17000 (farms) spread over 1600 clusters (counties).
I have also read the intuition behind frailty. There could be county level frailty; it is not implausible. When I estimate a frailty model Stata takes a long time to estimate. It has succeeded once, and had a significant theta.
I am also wondering if some of my PH violations are due to use of a large dataset.
I use Stata Now 19.5 / SE for Windows.
Thank you.
Hope you are all well.
I would appreciate your suggestions to help me understand what might be underlying the following:
1. I estimate stcox x1 x2 x3 i.x4, vce(robust) followed by estat phtest, detail. I see no violation of PH.
2. However, stcox x1 x2 x3 i.x4, vce(cluster clusterID) results in both x1 and x2 violating PH.
3. Then I run stcox x1 x2 x3 i.x4, tvc(x1 x2) texp(ln(_t)) vce(cluster clusterID). Coefficients under tvc (time interactions) are not significant.
My sample is approx. 17000 (farms) spread over 1600 clusters (counties).
I have also read the intuition behind frailty. There could be county level frailty; it is not implausible. When I estimate a frailty model Stata takes a long time to estimate. It has succeeded once, and had a significant theta.
I am also wondering if some of my PH violations are due to use of a large dataset.
I use Stata Now 19.5 / SE for Windows.
Thank you.

Comment