summary.mixturecure {hdcuremodels} | R Documentation |
Summarize a Fitted Mixture Cure Object.
Description
summary
method for a mixturecure object fit using curegmifs
, cureem
, cv_curegmifs
, or cv_cureem
.
Usage
## S3 method for class 'mixturecure'
summary(object, ...)
Arguments
object |
a |
... |
other arguments. |
Value
prints the following items extracted from the object fit using curegmifs
or cureem
: the step and value that maximizes the log-likelihood; the step and value that minimizes the AIC, modified AIC (mAIC), corrected AIC (cAIC), BIC, modified BIC (mBIC), and extended BIC (EBIC). Returns log-likelihood, AIC, and BIC if the object was fit using cv_curegmifs
or cv_cureem
at the optimal cross-validated values if no FDR control; the number of non-zero incidence and latency variables is returned when cross-validation is used together with FDR control.
See Also
curegmifs
, cureem
, coef.mixturecure
, plot.mixturecure
, predict.mixturecure
Examples
library(survival)
set.seed(1234)
temp <- generate_cure_data(N = 100, J = 10, nTrue = 10, A = 1.8)
training <- temp$Training
fit <- curegmifs(Surv(Time, Censor) ~ .,
data = training, x.latency = training,
model = "weibull", thresh = 1e-4, maxit = 2000,
epsilon = 0.01, verbose = FALSE)
summary(fit)