weibullReg | R Documentation |
weibullReg
performs Weibull regression using the
survreg
function, and transforms the estimates to a more
natural parameterization. Additionally, it produces hazard ratios
(corresponding to the proportional hazards interpretation), and event time
ratios (corresponding to the accelerated failure time interpretation) for
all covariates.
weibullReg(formula, data, conf.level = 0.95)
formula |
A |
data |
The dataset containing all variables referenced in
|
conf.level |
Specifies that |
Details regarding the transformations of the parameters and their standard
errors can be found in Klein and Moeschberger (2003, Chapter 12). An
explanation of event time ratios for the accelerated failure time
interpretation of the model can be found in Carroll (2003). A general
overview can be found in the vignette("weibull")
of this package, or
in the documentation for survreg2weibull
.
formula |
The formula for the Weibull regression model. |
coef |
The transformed maximum likelihood estimates, with standard errors. |
HR |
The hazard ratios for each of the predictors, with
|
ETR |
The event time ratios
(acceleration factors) for each of the predictors, with |
summary |
The summary output from the original
|
Sarah R. Haile
Carroll, K. (2003). On the use and utility of the Weibull model in the analysis of survival data. Controlled Clinical Trials, 24, 682–701.
Klein, J. and Moeschberger, M. (2003). Survival analysis: techniques for censored and truncated data. Springer.
survreg2weibull
, survreg
.
data(larynx)
weibullReg(Surv(time, death) ~ factor(stage) + age, data = larynx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.