summary.mixturecure: Summarize a fitted mixture cure object

View source: R/summary.R

summary.mixturecureR 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 mixturecure object resulting from curegmifs, cureem, cv_curegmifs, or cv_cureem.

...

other arguments.

Value

prints the number of non-zero coefficients from the incidence and latency portions of the fitted mixture cure model when using the minimum AIC to select the final model. When fitting a model using curegmifs or cureem the summary function additionally prints results associated with the following model selection methods: 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). This information can be used to guide the user in the selection of a final model from the solution path.

See Also

curegmifs, cureem, coef.mixturecure, plot.mixturecure, predict.mixturecure

Examples

library(survival)
withr::local_seed(1234)
temp <- generate_cure_data(n = 100, j = 10, n_true = 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)

hdcuremodels documentation built on Aug. 8, 2025, 7:38 p.m.