A dataset containing simulated data where the outcome depends quadratically on a partially observed covariate.
ex_linquad
A data frame with 1000 rows and 5 variables:
Continuous outcome
Fully observed covariate, with linear effect on outcome
Partially observed normally distributed covariate, with quadratic effect on outcome
The square of x, which thus has missing values also
An auxiliary variable (i.e. not contained in the substantive model)