summary.mixturecure | R Documentation |
summary
method for a mixturecure object fit using curegmifs
,
cureem
, cv_curegmifs
, or cv_cureem
.
## S3 method for class 'mixturecure'
summary(object, ...)
object |
a |
... |
other arguments. |
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.
curegmifs
, cureem
,
coef.mixturecure
, plot.mixturecure
,
predict.mixturecure
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.