stan_surv_step: Bayes model step-wise fitting

Description Usage Arguments Value

Description

Fit model by step-wise variable selection.

Usage

1
2
stan_surv_step(x, time = "time", status = "status", scope = NULL,
  criterion = "loo", verbose = TRUE, fit = NULL, stan_function = NULL)

Arguments

train

: train data
time : time variable
status : status variable
method: forward, backward or both
fit : fit model: "Stepwise", "Random forest"

Value

stan_step fit model


csetraynor/rstanhaz documentation built on May 9, 2019, 8:14 a.m.