City Research Online

simPH: An R package for illustrating estimates from cox proportional hazard models including for interactive and nonlinear effects

Gandrud, C. (2015). simPH: An R package for illustrating estimates from cox proportional hazard models including for interactive and nonlinear effects. Journal of Statistical Software, 65(3), pp. 1-20. doi: 10.18637/jss.v065.i03

Abstract

The R package simPH provides tools for effectively communicating results from Cox proportional hazard (PH) models, including models with interactive and nonlinear effects. The Cox (PH) model is a popular tool for examining event data. However, previously available computational tools have not made it easy to explore and communicate quantities of interest and associated uncertainty estimated from them. This is especially true when the effects are interactions or nonlinear transformations of continuous variables. These transformations are especially useful with Cox PH models because they can be employed to correctly specifying models that would otherwise violate the nonproportional hazards assumption. Package simPH makes it easy to simulate and then plot quantities of interest for a variety of effects estimated from Cox PH models including interactive effects, nonlinear effects, as well as standard linear effects. Package simPH employs visual weighting in order to effectively communicate estimation uncertainty. There are options to show either the standard central interval of the simulation's distribution or the shortest probability interval - which can be useful for asymmetrically distributed estimates. This paper uses hypothetical and empirical examples to illustrate package simPH’s syntax and capabilities.

Publication Type: Article
Publisher Keywords: Cox proportional hazard models, hazard ratios, time interactions, time-varying, nonlinearity, splines, visual weighting, R
Subjects: H Social Sciences > HA Statistics
Departments: City, University of London (-2022) > School of Arts & Social Sciences
School of Arts & Social Sciences
SWORD Depositor:
[thumbnail of v65i03.pdf]
Preview
Text - Published Version
Available under License Creative Commons: Attribution 3.0.

Download (750kB) | Preview

Export

Add to AnyAdd to TwitterAdd to FacebookAdd to LinkedinAdd to PinterestAdd to Email

Downloads

Downloads per month over past year

View more statistics

Actions (login required)

Admin Login Admin Login