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 = parent.frame(), 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 ConvertWeibull
.
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, Epidemiology, Biostatistics and Prevention Institute (EBPI), University of Zurich, sarah.haile@uzh.ch
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. 2nd edition, Springer.
Requires the package survival. This function depends on ConvertWeibull
. See also
survreg
.
data(larynx)
WR <- WeibullReg(Surv(time, death) ~ factor(stage) + age, data = larynx)
WR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.