FitWeibull: Weibull Distribution Parameter Estimation
Description
Estimates parameters for Weibull event times subject to non-informative
right censoring. The Weibull distribution is parameterized in terms
of the shape \(\alpha\) and rate \(\lambda\):
$$f(t) = \alpha\lambda^{\alpha}t^{\alpha-1}e^{-(\lambda t)^{\alpha}}, t>0$$
Usage
FitWeibull(
data,
init = list(),
sig = 0.05,
status_name = "status",
tau = NULL,
time_name = "time"
)
Value
An object of class fit containing the following:
Parameters
The estimated shape \(\alpha\) and rate \(\lambda\).
Information
The observed information matrix.
Outcome
The fitted mean, median, and variance.
RMST
The estimated RMSTs, if tau was specified.
Arguments
data
Data.frame.
init
List containing the initial value for the shape, \(\alpha\).
sig
Significance level, for CIs.
status_name
Name of the status indicator, 1 if observed, 0 if censored.