two_error_data: Simulated data with two covariates with classical measurement...

two_error_dataR 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.


inlamemi documentation built on Oct. 31, 2024, 5:08 p.m.