Stata Command: reporterror.ado
The Stata output displayed below shows estimated probability masses of the true years of education (Ui) using two noisy measurements, namely self-reported years of education (Xi) and sibling-reported years of education (Yi), with possibly nonclassical and nonseparable measurement errors (Hu and Sasaki, 2017). Also displayed are the conditional probabilities of correct reports by Xi and Yi given the true level of education Ui. We observe that the self reports tend to be accurate when the true years of education is greater (e.g., 16-18), while sibling reports tend to be accurate in typical diploma years (e.g., 12, 16 and 18) - see discussions in Hu and Sasaki (2017). These results can be automatically produced by the Stata command reporterror as follows.
Installation:
. ssc install reporterror
Usage:
. use "example_education.dta"
. reporterror selfreport siblingreport, minu(12)
Help:
. help reporterror
Reference: Hu, Y. and Y. Sasaki (2017) Identification of Paired Nonseparable Measurement Error Models. Econometric Theory, 33 (4), pp. 955-979. Paper.