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