Skip to contents

Bernoulli distribution with logit parametrization

Usage

logistic_bin_outcome(binary_var)

Arguments

binary_var

character. Name of binary (1/0 or TRUE/FALSE) outcome variable in the model matrix

Value

Object of class LogisticBinaryOutcome.

See also

Other outcome models: exp_surv_dist(), weib_ph_surv_dist()

Examples

lg <- logistic_bin_outcome(binary_var = "response")