A dataset containing simulated data where the binary outcome depends quadratically on a partially observed covariate.
ex_logisticquad
A data frame with 1000 rows and 4 variables:
Binary outcome
Fully observed covariate, with linear effect on outcome (on log odds scale)
Partially observed normally distributed covariate, with quadratic effect on outcome (on log odds scale)
An auxiliary variable (i.e. not contained in the substantive model)