Learn R Programming

pogit (version 1.2.0)

simul_binomial: Simulated data set

Description

The data set simul_binomial contains simulated binomial data with 9 binary covariates. The design matrix is built by computing all 2^9 possible 0/1 combinations. The regression effects are set to alpha = {-0.5,0.2,-0.15,0.1,-1.1,0,0,1.2,-0.1,0.3}. The number of trials N are simulated from a Poisson distribution with parameter \(\exp(\alpha)/(1+\exp(\alpha))\)*100.

Usage

data(simul_binomial)

Arguments

Format

A data frame with 512 rows and the following 12 variables:

y

number of successes for each covariate pattern

N

number of trials for each covariate pattern

X.0

intercept

X.1, X.2, X.3, X.4, X.5, X.6, X.7, X.8, X.9

binary covariates

See Also

logitBvs