Mecor: An R package for measurement error correction in linear regression models with a continuous outcome

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.

[1]  James W. Hardin,et al.  The Regression Calibration Method for Fitting Generalized Linear Models with Additive Measurement Error , 2003 .

[2]  I. White,et al.  A toolkit for measurement error correction, with a focus on nutritional epidemiology , 2014, Statistics in medicine.

[3]  Raymond J Carroll,et al.  Modeling Data with Excess Zeros and Measurement Error: Application to Evaluating Relationships between Episodically Consumed Foods and Health Outcomes , 2009, Biometrics.

[4]  Alexander Kukush,et al.  Measurement Error Models , 2011, International Encyclopedia of Statistical Science.

[5]  B Rosner,et al.  Correction of logistic regression relative risk estimates and confidence intervals for random within-person measurement error. , 1992, American journal of epidemiology.

[6]  Ruth H. Keogh,et al.  Measurement error as a missing data problem , 2019 .

[7]  M van Smeden,et al.  Changing predictor measurement procedures affected the performance of prediction models in clinical examples. , 2019, Journal of clinical epidemiology.

[8]  B Rosner,et al.  Correction of logistic regression relative risk estimates and confidence intervals for measurement error: the case of multiple covariates measured with error. , 1990, American journal of epidemiology.

[9]  Sophia Rabe-Hesketh,et al.  Correcting for covariate measurement error in logistic regression using nonparametric maximum likelihood estimation , 2003 .

[10]  Maarten van Smeden,et al.  Measurement error is often neglected in medical literature: a systematic review. , 2018, Journal of clinical epidemiology.

[11]  R. Keogh,et al.  Quantitative Bias Analysis for a Misclassified Confounder , 2020, Epidemiology.

[12]  Sophia Rabe-Hesketh,et al.  Maximum Likelihood Estimation of Generalized Linear Models with Covariate Measurement Error , 2003 .

[13]  Peter Dalgaard,et al.  R Development Core Team (2010): R: A language and environment for statistical computing , 2010 .

[14]  Raymond J. Carroll,et al.  Measurement error in nonlinear models: a modern perspective , 2006 .

[15]  J. R. Cook,et al.  Simulation-Extrapolation Estimation in Parametric Measurement Error Models , 1994 .

[16]  Timothy L. Lash,et al.  Applying Quantitative Bias Analysis to Epidemiologic Data , 2009, Statistics for Biology and Health.

[17]  Jonathan W Bartlett,et al.  Bayesian correction for covariate measurement error: A frequentist evaluation and comparison with regression calibration , 2016, Statistical methods in medical research.

[18]  Pamela A Shaw,et al.  STRATOS guidance document on measurement error and misclassification of variables in observational epidemiology: Part 1—Basic theory and simple methods of adjustment , 2020, Statistics in medicine.

[19]  E W Steyerberg,et al.  Impact of predictor measurement heterogeneity across settings on the performance of prediction models: A measurement error perspective , 2019, Statistics in medicine.

[20]  Sander Greenland,et al.  Multiple-imputation for measurement-error correction. , 2006, International journal of epidemiology.

[21]  John P. Buonaccorsi,et al.  Measurement Error: Models, Methods, and Applications , 2010 .

[22]  R. Carroll,et al.  Efficient regression calibration for logistic regression in main study/internal validation study designs with an imperfect reference instrument. , 2001, Statistics in medicine.

[23]  Chris Frost,et al.  Linear mixed models for replication data to efficiently allow for covariate measurement error , 2009, Statistics in medicine.

[24]  Wenqing He,et al.  SIMEX R Package for Accelerated Failure Time Models with Covariate Measurement Error , 2012 .

[25]  C. Spearman The proof and measurement of association between two things. , 2015, International journal of epidemiology.

[26]  S. Thompson,et al.  Correcting for regression dilution bias: comparison of methods for a single predictor variable , 2000 .

[27]  James W. Hardin,et al.  The Simulation Extrapolation Method for Fitting Generalized Linear Models with Additive Measurement Error , 2003 .

[28]  P. Levy Measurement Error and Misclassification in Statistics and Epidemiology: Impacts and Bayesian Adjustments , 2004 .

[29]  James A Hanley,et al.  Random measurement error and regression dilution bias , 2010, BMJ : British Medical Journal.

[30]  Ben Armstrong,et al.  Measurement error in the generalised linear model , 1985 .

[31]  Ruth H. Keogh,et al.  Epidemiologic analyses with error-prone exposures: review of current practice and recommendations. , 2018, Annals of epidemiology.

[32]  Raymond J. Carroll,et al.  Approximate Quasi-likelihood Estimation in Models with Surrogate Predictors , 1990 .

[33]  Bin Wang,et al.  Deconvolution Estimation in Measurement Error Models: The R Package decon. , 2011, Journal of statistical software.

[34]  L Nab,et al.  Measurement error in continuous endpoints in randomised trials: Problems and solutions , 2018, Statistics in medicine.

[35]  Volker H. Franz,et al.  Ratios: A short guide to confidence limits and proper use , 2007, 0710.2024.

[36]  R. Prentice Covariate measurement errors and parameter estimation in a failure time regression model , 1982 .

[37]  Yi Li,et al.  Survival Analysis with Error‐Prone Time‐Varying Covariates: A Risk Set Calibration Approach , 2011, Biometrics.

[38]  Raymond J Carroll,et al.  Statistical issues related to dietary intake as the response variable in intervention trials , 2016, Statistics in medicine.