Hostname: page-component-76d6cb85b7-7262s Total loading time: 0 Render date: 2026-07-16T04:42:23.266Z Has data issue: false hasContentIssue false

Implementation Matters: Evaluating the Proportional Hazard Test’s Performance

Published online by Cambridge University Press:  07 November 2023

Shawna K. Metzger*
Affiliation:
Department of Political Science, University at Buffalo, Buffalo, NY, USA.
Rights & Permissions [Opens in a new window]

Abstract

Political scientists commonly use Grambsch and Therneau’s (1994, Biometrika 81, 515–526) ubiquitous Schoenfeld-based test to diagnose proportional hazard violations in Cox duration models. However, some statistical packages have changed how they implement the test’s calculation. The traditional implementation makes a simplifying assumption about the test’s variance–covariance matrix, while the newer implementation does not. Recent work suggests the test’s performance differs, depending on its implementation. I use Monte Carlo simulations to more thoroughly investigate whether the test’s implementation affects its performance. Surprisingly, I find the newer implementation performs very poorly with correlated covariates, with a false positive rate far above 5%. By contrast, the traditional implementation has no such issues in the same situations. This shocking finding raises new, complex questions for researchers moving forward. It appears to suggest, for now, researchers should favor the traditional implementation in situations where its simplifying assumption is likely met, but researchers must also be mindful that this implementation’s false positive rate can be high in misspecified models.

Information

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 Illustrative simulation results, nonnegative correlations only (n = 100). Negative correlations omitted for brevity; Corr(x1,x2) < 0 follow similar patterns as Corr(x1,x2) > 0. Vertical lines represent target ${\widehat{r}}_p$ for a well-sized (x1) or well-powered (x2) test.

Figure 1

Table 1 False positive %: Corr(x1,x2) = 0 vs. ≠ 0, n = 100.

Figure 2

Figure 2 Illustrative simulation results, nonnegative correlations only (n = 1,000). Negative correlations omitted for brevity; Corr(x1,x2) < 0 follow similar patterns as Corr(x1,x2) > 0. Vertical lines represent target ${\hat{r}}_p$ for a well-sized (x1) or well-powered (x2) test.

Figure 3

Table 2 Agerberg and Kreft: PH test p-values.

Figure 4

Figure 3 Effect of high sexual violence conflicts across time.

Supplementary material: Link

Metzger Dataset

Link
Supplementary material: PDF

Metzger supplementary material

Metzger supplementary material

Download Metzger supplementary material(PDF)
PDF 1.7 MB