ex_linquad {smcfcs} | R Documentation |
Simulated example data with continuous outcome and quadratic covariate effects
Description
A dataset containing simulated data where the outcome depends quadratically on a partially observed covariate.
Usage
ex_linquad
Format
A data frame with 1000 rows and 4 variables:
- y
Continuous outcome
- z
Fully observed covariate, with linear effect on outcome
- x
Partially observed normally distributed covariate, with quadratic effect on outcome
- v
An auxiliary variable (i.e. not contained in the substantive model)
[Package smcfcs version 2.0.1 Index]