Abstract
The Schoenfeld residual-based test for proportional-hazards violations in the Cox duration model is predicated on a key assumption pertaining to homoskedasticity in the residuals. This assumption is likely to be violated in the presence of stratified hazards, which is noted in estat phtest’s help file. We provide a wrapper command, stratph, that implements a straightforward modification to the residual-based diagnostic that corrects for the potential assumption violation. We use the stratified hazards example from the stcox help file to demonstrate the stratph command’s workings.
| Original language | English |
|---|---|
| Pages (from-to) | 1028-1033 |
| Number of pages | 6 |
| Journal | Stata Journal |
| Volume | 21 |
| Issue number | 4 |
| DOIs | |
| State | Published - Dec 2021 |
Keywords
- Cox model
- estat phtest
- heteroskedasticity
- proportional hazards
- st0661
- stratified hazards
- stratph
Fingerprint
Dive into the research topics of 'Properly calculating estat phtest in the presence of stratified hazards'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver