Covariate measurement error is a common issue in epidemiology. Many statistical methods have been developed for allowing for covariate measurement error over the last three decades or so. I’ve been playing around with Stata’s structural equation modelling builder, which enables one to allow for covariate measurement error using maximum likelihood for estimation. I’m still very much a beginner with structural equation models and Stata’s implementation of them, but hopefully this YouTube video is a useful illustration of just one of the things that’s possible with them.