ex_logisticquad: Simulated example data with binary outcome and quadratic...

Description Usage Format

Description

A dataset containing simulated data where the binary outcome depends quadratically on a partially observed covariate.

Usage

1

Format

A data frame with 1000 rows and 5 variables:

y

Binary outcome

z

Fully observed covariate, with linear effect on outcome (on log odds scale)

x

Partially observed normally distributed covariate, with quadratic effect on outcome (on log odds scale)

xsq

The square of x, which thus has missing values also

v

An auxiliary variable (i.e. not contained in the substantive model)


smcfcs documentation built on June 17, 2021, 5:08 p.m.