sim3: Simulated data set 3

Description Usage Format See Also

Description

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.

Usage

1

Format

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

See Also

effectFusion, sim1


effectFusion documentation built on Oct. 14, 2021, 1:07 a.m.