Measurement error bias in linear regression

Data generation

Preferences

Measurement error in X

Measurement error in Y

Results

Estimates (without error)

Estimates (with error)