Skip to contents

BinaryOutcome class

Slots

function_stan_code

character. Code to include in the Stan functions program block.

param_stan_code

character. Code to include in the Stan parameters program block.

likelihood_stan_code

character. Code defining the likelihood to include in the Stan model program block.

data_stan_code

character. Code to include in the Stan data program block.

n_param

integer. Number of ancillary parameters for the model to estimate.

param_priors

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

binary_var

character. Variable used for outcome in BinaryOutcome objects.

baseline_prior

Prior. Object of class Prior specifying prior distribution for the baseline outcome.