simple_data {inlamemi}R Documentation

Simple simulated data

Description

A simulated dataset to demonstrate how to model different types of measurement error and missing data using the 'inlamemi' package.

Usage

simple_data

Format

## 'simple_data' A data frame with 1000 rows and 4 columns:

y

Response variable

x

Covariate measured with error, both Berkson and classical error and missing observations

x_true

Correct version of the covariate with error

z

Error free covariate, correlated with x

Source

The dataset is simulated.


[Package inlamemi version 1.0.0 Index]