In this paper, we describe a new Stata command, stlh, which estimates and tests for the significance of the time-varying regression coefficients in Aalen’s linear hazards model; see Aalen (1989). We see two potential uses for this command. One may use it as an alternative to a proportional hazards or other nonlinear hazards regression model analysis to describe the effects of covariates on survival time. A second application is to use the command to supplement a proportional hazards regression model analysis to assist in detecting and then describing the nature of time-varying effects of covariates through plots of the estimated cumulative regression coefficients, with confidence bands, from Aalen’s model. We illustrate the use of the command to perform this supplementary analysis with data from a study of residential treatment programs of different durations that are designed to prevent return to drug use.


Downloads Statistics

Download Full History