Externe Publikationen

Estimating survival functions after stcox with time-varying coefficient

Ruhe, Constantin
Externe Publikationen (2016)

in: Stata Journal 16 (4), 867-879

Information

In many applications of the Cox model, the proportional-hazards assumption is implausible. In these cases, the solution to nonproportional hazards usually consists of modeling the effect of the variable of interest and its interaction effect with some function of time. Although Stata provides a command to implement this interaction in stcox, it does not allow the typical visualizations using stcurve if stcox was estimated with the tvc() option. In this article, I provide a short workaround that estimates the survival function after stcox with timedependent coefficients. I introduce and describe the scurve_tvc command, which automates this procedure and allows users to easily visualize survival functions for models with time-varying effects.

Weitere IDOS-Expert*innen zu diesem Thema

Kontakt

Cornelia Hornschild
Koordinatorin Publikationen

E-Mail Cornelia.Hornschild@idos-research.de
Telefon +49 (0)228 94927-135
Fax +49 (0)228 94927-130

Alexandra Fante
Bibliothekarin/Open Access-Koordinatorin

E-Mail Alexandra.Fante@idos-research.de
Telefon +49 (0)228 94927-321
Fax +49 (0)228 94927-130