This page contains all data needed to replicate the results reported in the article "Estimating the causal effect of measured endogenous variables: A tutorial on experimentally randomized instrumental variables".
There are three different folders: Review, Study 1, and Study 2.
The folder “Review” comprises five files:
1. The file “ERIV_review” contains the data for the Review (in .dta format), which is summarized in Table 2 of the manuscript.
2. The file “ERIV_review_code” contains the code (in .do format) to replicate the results reported in Table 2.
3. The file “ERIV_kappa” contains the data (in .dta format) that was used to calculate the kappa coefficient of inter-rater agreement.
4. The file “ERIV_kappa_code” contains the code (in .do format) to replicate the kappa coefficient reported in the description of the review.
5. The file “ERIV_review_variables” contains the description of the variables in the datasets “ERIV_review” and “ERIV_kappa” (in .pdf format).
The folder “Study 1” comprises three files:
1. The file “ERIV_study1” contains the data for Study 1 (in .dta format), which was used for the analyses reported in Table 3 and Table 4 of the manuscript.
2. The file “ERIV_study1_code” contains the code (in .do format) to generate the simulated dataset as well as the code to replicate the results reported in Table 3 and Table 4.
3. The file “ERIV_ study1_variables” contains the description of the variables in the dataset “ERIV_study1” (in .pdf format).
The folder “Study 2” comprises three files:
1. The file “ERIV_study2” contains the data for Study 2 (in .dta format), which was used for the analyses reported in Table 5, Table 6 and Table 7 of the manuscript.
2. The file “ERIV_study2_code” contains the code (in .do format) to replicate the results reported in Table 5, Table 6 and Table 7.
3. The file “ERIV_ study2_variables” contains the description of the variables in the dataset “ERIV_study2” (in .pdf format)