TY - JOUR
T1 - Mecor
T2 - An R package for measurement error correction in linear regression models with a continuous outcome
AU - Nab, Linda
AU - van Smeden, Maarten
AU - Keogh, Ruth H.
AU - Groenwold, Rolf H.H.
N1 - Funding Information:
LN, MvS and RHHG were supported by grants from the Netherlands Organization for Scientific Research (ZonMW-Vidi project 917.16.430) and Leiden University Medical Center, LN was supported by Stichting Jo Kolk Studiefonds and Leids Universiteits Fonds in the form of a travel grant, RHK was supported by a Medical Research Council Methodology Fellowship (MR/M014827/1) and a UK Research and Innovation Future Leaders Fellowship (MR/S017968/1).
Publisher Copyright:
© 2021 The Authors
PY - 2021/9
Y1 - 2021/9
N2 - Measurement error in a covariate or the outcome of regression models is common, but is often ignored, even though measurement error can lead to substantial bias in the estimated covariate-outcome association. While several texts on measurement error correction methods are available, these methods remain seldomly applied. To improve the use of measurement error correction methodology, we developed mecor, an R package that implements measurement error correction methods for regression models with a continuous outcome. Measurement error correction requires information about the measurement error model and its parameters. This information can be obtained from four types of studies, used to estimate the parameters of the measurement error model: an internal validation study, a replicates study, a calibration study and an external validation study. In the package mecor, regression calibration methods and a maximum likelihood method are implemented to correct for measurement error in a continuous covariate in regression analyses. Additionally, methods of moments methods are implemented to correct for measurement error in the continuous outcome in regression analyses. Variance estimation of the corrected estimators is provided in closed form and using the bootstrap.
AB - Measurement error in a covariate or the outcome of regression models is common, but is often ignored, even though measurement error can lead to substantial bias in the estimated covariate-outcome association. While several texts on measurement error correction methods are available, these methods remain seldomly applied. To improve the use of measurement error correction methodology, we developed mecor, an R package that implements measurement error correction methods for regression models with a continuous outcome. Measurement error correction requires information about the measurement error model and its parameters. This information can be obtained from four types of studies, used to estimate the parameters of the measurement error model: an internal validation study, a replicates study, a calibration study and an external validation study. In the package mecor, regression calibration methods and a maximum likelihood method are implemented to correct for measurement error in a continuous covariate in regression analyses. Additionally, methods of moments methods are implemented to correct for measurement error in the continuous outcome in regression analyses. Variance estimation of the corrected estimators is provided in closed form and using the bootstrap.
KW - Maximum likelihood
KW - Measurement error correction
KW - Method of moments
KW - R
KW - Regression calibration
UR - http://www.scopus.com/inward/record.url?scp=85111050838&partnerID=8YFLogxK
U2 - 10.1016/j.cmpb.2021.106238
DO - 10.1016/j.cmpb.2021.106238
M3 - Article
C2 - 34311414
AN - SCOPUS:85111050838
SN - 0169-2607
VL - 208
JO - Computer Methods and Programs in Biomedicine
JF - Computer Methods and Programs in Biomedicine
M1 - 106238
ER -