coef.cox_cure_net {intsurv}R Documentation

Estimated Covariate Coefficients

Description

Extract the covariate coefficient estimates from a solution path of regularized Cox cure rate model.

Usage

## S3 method for class 'cox_cure_net'
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)

## S3 method for class 'cox_cure_net_uncer'
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)

Arguments

object

Object representing a fitted solution path.

naive_en

A logical value specifying whether to return naive elastic net estimates. If FALSE by default, the elastic net estimates will be returned instead of the naive elastic net estimates.

selection

A character string for specifying the criterion for selection of coefficient estimates. The available options are "bic1" for selecting coefficient estimates by regular BIC criterion based on the number of observations, "bic2" for a variant BIC criterion based on the effective sample size, and "all" for returning the whole solution path. See BIC.cox_cure_net for details of selection by BIC.

...

Other arguments for future usage.

Value

A list that consists of the following named elements:

Examples

## see examples of function `cox_cure_net`


[Package intsurv version 0.2.2 Index]