OutcomeBinaryLogistic-class: 'OutcomeBinaryLogistic' class

OutcomeBinaryLogistic-classR Documentation

OutcomeBinaryLogistic class

Description

A class for defining a logistic regression with a binary outcome to be translated to Stan code. Objects of class OutcomeBinaryLogistic should not be created directly but by the constructor outcome_bin_logistic().

Slots

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 OutcomeBinaryLogistic.

binary_var

character. Variable used for outcome in OutcomeBinaryLogistic 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.

See Also

Other outcome: BinaryOutcome-class, ContinuousOutcome-class, Outcome-class, OutcomeContinuousNormal-class, OutcomeSurvExponential-class, OutcomeSurvPEM-class, OutcomeSurvWeibullPH-class, TimeToEvent-class


psborrow2 documentation built on April 4, 2025, 12:37 a.m.