The simulated data set sim3
considers a setting with 2000 observations from a logistic
regression model. The number and types of predictors, the regression effects and the level probabilites
of the predictors are the same as for sim1
. The number of observations was increased as the uncertainty
is usually higher for logistic regression compared to linear regression with normal response.
data(sim3)
A named list containing the following four variables:
y
vector with 2000 observations of a binary response variable
X
matrix with 8 categorical predictors
beta
vector with coefficients used for data generation
types
character vector with types of covariates, 'o' for ordinal and 'n' for nominal covariates