mar_data {inlamemi} | R Documentation |
Simulated data with observation missing at random (MAR)
Description
A simulated dataset to demonstrate how to set up a model in the case where there are two variables with measurement error.
Usage
mar_data
Format
## 'mar_data' A data frame with 1000 rows and 5 columns:
- y
Response variable
- x
Observed value of covariate, with almost 20 percent missing
- x_true
Correct version of x, without missingness
- z1
Covariate correlated with x
- z2
Covariate correlated with the missingness of x
Source
The dataset is simulated.
[Package inlamemi version 1.0.0 Index]