A class for defining a time-to-event survival analysis with a
piecewise survival distribution.
Objects of class OutcomeSurvPEM should not be created directly
but by the constructor outcome_surv_pem().
Slots
function_stan_codecharacter. stan function code block containing text to interpolate into stan model. Empty string for
OutcomeSurvPEM.param_stan_codecharacter. stan parameter code block containing text to interpolate into stan model. Empty string for
OutcomeSurvPEM.n_paraminteger. Number of ancillary parameters for the model to estimate (0).
param_priorslist. Named list of prior distributions on the ancillary parameters in the model. Empty for
OutcomeSurvPEM.time_varcharacter. Variable used for time in
TimeToEventobjects.cens_varcharacter. Variable used for censoring in
TimeToEventobjects.baseline_priorPrior. Object of classPriorspecifying prior distribution for the baseline outcome.name_beta_trt.Named vector for beta_trt.
name_exp_trt.Named vector for exponentiated beta_trt
alpha_type.How to interpret alpha.
name_addnl_params.Named vector for additional parameters.
n_periods.Number of periods.