fc_select {failCompare}R Documentation

Selecting a failure time model from a list

Description

select failure time model from predefined list of candidate models produced by the function fc_fit(). Kaplan-Meier nonparametric model is selectable from any list.

Usage

fc_select(mod_ls, model)

Arguments

mod_ls

failure model list object (i.e., class fc_list)

model

model selected from list of those available. Options include:

  • "weibull" = 2-parameter Weibull

  • "weibull3" = 3-parameter Weibull

  • "gompertz" = Gompertz Model

  • "gamma" = Gamma distribution (2-parameter)

  • "lognormal" = Log-Normal distribution

  • "llogis" = Log-Logistic distribution

  • "gengamma" = Generalized Gamma Distribution

  • "vitality.ku" = 4-parameter vitality model

  • "vitality.4p" = 4-parameter vitality model

  • "kaplan-meier" = Kaplan-Meier nonparametric estimate (always selectable)

Value

Returns a failure time model object of class fc_obj .

See Also

fc_fit


[Package failCompare version 1.0.0 Index]