Skip to contents

A simulated dataset to demonstrate how to set up a model in the case where there are two variables with measurement error.

Usage

two_error_data

Format

## `two_error_data` A data frame with 1000 rows and 5 columns:

y

Response variable

x1

Covariate measured with classical error, correlated with z

x2

Covariate measured with classical error

x1_true

Correct version of x1

x2_true

Correct version of x2

z

Error free covariate, correlated with x1

Source

The dataset is simulated.