{"args":{"cluster":"schlcode","dataset":"final5","endog":["classize"],"exog":["tipuach"],"instruments":["func1"],"y":"avgmath"},"checks":[{"abs_tol":5.772648049818425e-08,"bind":"any","column":null,"failure_class":null,"field":"value","interval":false,"key":"coef.classize","kind":"figure_close","min_lre":null,"note":"software reference","open_interval":false,"rel_tol":1e-06,"required":true,"source_id":"angrist_lavy_1999.tab4_c7.software","table":null,"tool":"infer.iv_2sls","value":-0.013046507688542874,"weight":1.0,"where":null},{"abs_tol":5.772648049818425e-08,"bind":"any","column":null,"failure_class":null,"field":"se","interval":false,"key":"coef.classize","kind":"figure_close","min_lre":null,"note":"software reference, SE","open_interval":false,"rel_tol":1e-06,"required":true,"source_id":"angrist_lavy_1999.tab4_c7.software","table":null,"tool":"infer.iv_2sls","value":0.057726480498184254,"weight":1.0,"where":null},{"abs_tol":null,"bind":"any","column":null,"failure_class":null,"field":"value","interval":false,"key":"coef.classize","kind":"figure_close","min_lre":null,"note":"published cell","open_interval":false,"rel_tol":null,"required":true,"source_id":"angrist_lavy_1999.tab4_c7.paper","table":null,"tool":"infer.iv_2sls","value":-0.013,"weight":1.0,"where":null},{"abs_tol":null,"bind":"any","column":null,"failure_class":null,"field":"se","interval":false,"key":"coef.classize","kind":"figure_close","min_lre":null,"note":"published cell, SE (known deviation: se_convention)","open_interval":false,"rel_tol":null,"required":false,"source_id":"angrist_lavy_1999.tab4_c7.paper","table":null,"tool":"infer.iv_2sls","value":0.056,"weight":1.0,"where":null}],"datasets":{"final5":{"columns":null,"description":"The authors' class-level file for fifth graders in Israeli public schools, 1991 (final5.dta on Joshua Angrist's data archive), restricted as the authors' AngristLavy_Table4.do restricts it: classes with 2 to 44 pupils in schools with more than 5 fifth graders enrolled, the do-file's school-type rule (c_leom equal to 1 and c_pik below 3), and a reading score; one row per class. Columns: schlcode, the school; classid, the class; c_size, fifth-grade enrollment of the school at the start of the year; cohsize, enrollment in the grade (cohort size); classize, the number of pupils in the class; tipuach, the percent of pupils who are disadvantaged; verbsize and mathsize, the number of pupils who took the reading and the math test; avgverb and avgmath, the class's average reading comprehension and math scores (a score recorded above 100 is reduced by 100, as the do-file does; missing when no pupil took that test); func1, the class size Maimonides' rule of 40 predicts from enrollment, c_size / (floor((c_size - 1) / 40) + 1).","file_sha256":"bf443edee9033926b4e74dc2c17a98b04405b899735bf4c372e0e6d468431a54","format":"dta","frame_sha256":null,"generator":null,"kind":"file","licence":"No licence stated (author's data archive); fetched, not redistributed.","member":null,"object":null,"params":{},"path":null,"read_kw":{},"records":null,"role":"agent","sha256":"bf443edee9033926b4e74dc2c17a98b04405b899735bf4c372e0e6d468431a54","transforms":[{"args":{"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}},"op":"rename"},{"args":{"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"},"op":"derive"},{"args":{"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"verb_over_100","factor":100.0},"name":"verb_shift","op":"scale"},"op":"derive"},{"args":{"args":{"column":"math_over_100","factor":100.0},"name":"math_shift","op":"scale"},"op":"derive"},{"args":{"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"},"op":"derive"},{"args":{"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"},"op":"derive"},{"args":{"args":{"column":"c_size","divisor":40.0},"name":"func1","op":"floor_div_rule"},"op":"derive"},{"args":{"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"},"op":"derive"},{"args":{"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"},"op":"derive"},{"args":{"args":{"column":"verb_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"verb_mask","op":"map"},"op":"derive"},{"args":{"args":{"column":"math_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"math_mask","op":"map"},"op":"derive"},{"args":{"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"},"op":"derive"},{"args":{"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"},"op":"derive"},{"args":{"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"},"op":"filter"},{"args":{"columns":["avgverb"]},"op":"dropna"},{"args":{"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]},"op":"select"}],"url":"https://economics.mit.edu/sites/default/files/inline-files/final5.dta"}},"difficulty":"E","id":"paper_repro.angrist_lavy_1999.tab4_c7.tool","level":"T1","meta":{"acceptable_tools":["infer.iv_2sls"],"cluster":"angrist_lavy_1999","contamination":{"benchmark_first_public":"1999-05","gold_in_public_repo":true,"model_reported_cutoff":null,"url":"https://doi.org/10.1162/003355399556061"},"expected_tool":"infer.iv_2sls","family":"iv","kind":"tool","known_deviation":{"evidence":"Set from the paper's stated convention before any tool or reference run: the printed standard error is a Moulton-type correction for within-school correlation (the authors' AngristLavy_Table4.do calls mmoulton_post.do), not the cluster-robust CR1 error the tool and the reference compute, so the printed SE is not expected to be reproduced. The coefficient is the same 2SLS point estimate under either convention.","fields":["se"],"found_in_run":false,"kind":"se_convention"},"locator":"Table IV (2SLS estimates for 1991, fifth graders), column (7), math, full sample, row 'Class size'","n_published":2018,"paper":"angrist_lavy_1999","se_policy":{"basis":"The table notes say standard errors 'were corrected for within-school correlation between classes'; the authors' AngristLavy_Table4.do computes them with mmoulton (a Moulton-type correction, clu(schlcode) 2sls), which the tools do not offer.","convention":"cluster-robust by school (CR1), the tool's option for within-school correlation","never_required":false,"stated_in_question":true},"target":"tab4_c7","trap_tools":[]},"question":"","requires":[],"runner":null,"sources":["angrist_lavy_1999.tab4_c7.paper","angrist_lavy_1999.tab4_c7.software"],"split":"public","suite":"paper_repro","tags":["paper_repro","angrist_lavy_1999","iv"],"target":"tool","tool":"infer.iv_2sls","truth":"Angrist, J. D. and Lavy, V. (1999). Using Maimonides' Rule to Estimate the Effect of Class Size on Scholastic Achievement. Quarterly Journal of Economics 114(2): 533-575. Table IV (2SLS estimates for 1991, fifth graders), column (7), math, full sample, row 'Class size' (source angrist_lavy_1999.tab4_c7.paper); software reference angrist_lavy_1999.tab4_c7.software: linearmodels 7.0: the reference specification of angrist_lavy_1999 tab4_c7 (infer.iv_2sls, figure 'coef.classize') on an independent code path"}