two_error_data {inlamemi}R Documentation

Simulated data with two covariates with classical measurement error

Description

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.


[Package inlamemi version 1.0.0 Index]