rBinReg: Random Binary Outcome

Description Usage Arguments Value

Description

Simulates outcomes from a binary regression model. Model choices include logistic, probit, and robit.

Usage

1
rBinReg(X, b, model = "logistic", df = NULL)

Arguments

X

Design matrix.

b

Regression coefficient.

model

Selected from among logistic, probit, and robit.

df

Degrees of freedom if the robit model is selected.

Value

Numeric vector of binary outcomes, one for each row of the design matrix.


zrmacc/BinReg documentation built on May 9, 2019, 8:08 a.m.