Short code
Below you can download the files for record and summary level QBA
SAS and R code
Stata
We do not have Stata code, but this has been suggested as an option for summary level exposure misclassification. It is not verified.
Datasets for the code