Skip to contents

A class for defining a regression with a normal outcome to be translated to Stan code. Objects of class OutcomeContinuousNormal should not be created directly but by the constructor outcome_cont_normal().

Slots

function_stan_code

character. stan function code block containing text to interpolate into stan model. Empty string for OutcomeContinuousNormal.

param_stan_code

character. stan parameter code block containing text to interpolate into stan model. Empty string for OutcomeContinuousNormal.

likelihood_stan_code

character. stan model likelihood code block containing text to interpolate into stan model.

n_param

integer. Number of ancillary parameters for the model to estimate (0).

param_priors

list. Named list of prior distributions on the ancillary parameters in the model. Empty for OutcomeContinuousNormal.

continuous_var

character. Variable used for outcome in OutcomeContinuousNormal objects.

baseline_prior

Prior. Object of class Prior specifying 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.