Learn R Programming

hdcuremodels (version 0.0.6)

summary.mixturecure: 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 mixturecure
summary(object, ...)

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.

Arguments

object

a mixturecure object resulting from curegmifs, cureem, cv_curegmifs, or cv_cureem.

...

other arguments.

See Also

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

Examples

Run this code
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)

Run the code above in your browser using DataLab