Tarefa paper_repro.angrist_lavy_1999.tab4_c1.agent
paper_reproagentT2publicépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): iv (two-stage least squares)
Pergunta feita ao analista
Angrist and Lavy (1999), 'Using Maimonides' Rule to Estimate the Effect of Class Size on Scholastic Achievement', Table IV, column (1): for fifth-grade classes in 1991 (the full sample), estimate by two-stage least squares the effect of class size on the class's average reading comprehension score, using as the instrument the class size predicted by Maimonides' rule of 40 from the school's grade enrollment, with the percent of disadvantaged pupils as the only other regressor. Correct the standard errors for within-school correlation between classes. Report the coefficient on class size.
Estimativa (infer.iv_2sls): coef.classize = -0,1585.
Valores esperados e de onde vêm
angrist_lavy_1999.tab4_c1.software
- Fonte
- linearmodels 7.0: the reference specification of angrist_lavy_1999 tab4_c1 (infer.iv_2sls, figure 'coef.classize') on an independent code path
- Tipo
- software
- Localização
- angrist_lavy_1999: Table IV (2SLS estimates for 1991, fifth graders), column (1), reading comprehension, full sample, row 'Class size'
- Valor
- -0,158478
-0.15847765494294208(se 0,04166710.04166708823732179) - Conferido por
- execução de software · IV2SLS(dependent=avgverb, exog=[const, tipuach], endog=['classize'], instruments=['func1']).fit(cov_type='clustered', clusters=schlcode, debiased=True) on final5 (the file pinned at sha256 bf443edee9033926b4e74dc2c17a98b04405b899735bf4c372e0e6d468431a54, after its 17 declared transforms); n_obs = 2019, n_clusters = 1002. The tool infer.iv_2sls (magi_infer, numpy) does not call linearmodels. Written by scripts/paper_repro_reference.py.
- Implementação
- independente da ferramenta
- Endereço
https://pypi.org/project/linearmodels/7.0/
- #9 figura da resposta próxima: -0,158478
-0.15847765494294208· relativa 0.000001 · absoluta 4.166708823732179e-8 - #10 figura da resposta próxima: 0,0416671
0.04166708823732179· relativa 0.000001 · absoluta 4.166708823732179e-8
angrist_lavy_1999.tab4_c1.paper
- Fonte
- 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.
- Tipo
- paper
- Localização
- Table IV (2SLS estimates for 1991, fifth graders), column (1), reading comprehension, full sample, row 'Class size'
- Página
- 554
- Trecho
Class size −.158 (.040) N 2019
- Valor como publicado
−.158- Erro-padrão como publicado
.040- Valor
- -0,158
-0.158(se 0,040.04) points of the class average reading score per pupil - Conferido por
- fonte primária · Read on 2026-10-15 from the JSTOR copy of the QJE article on a WWU course page (44-page PDF); Table IV is a rotated scan on PDF page 22 (printed page 554), read from the rendered page image. Notes: 'Standard errors were corrected for within-school correlation between classes. All estimates use f_sc as an instrument for class size.' The authors' posted AngristLavy_Table4.do keeps 1 < classize < 45, c_size > 5, c_leom == 1, c_pik < 3 and a non-missing reading score, and runs mmoulton (clu(schlcode) 2sls). Column (1): N 2019.
- sha256 da cópia lida
bf4b8d52ee493e27d46a81b8549fb71a5066cc4b6437b46b25c96c25a1a435b2(identifica a cópia lida, não um arquivo canônico)- Desvio conhecido
- convenção de erro-padrãoSet 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.
- Endereço
https://doi.org/10.1162/003355399556061- Licença
- Copyright of the publisher; cited, not reproduced.
- #11 figura da resposta próxima: -0,158
-0.158· published_cell d=3 · absoluta 0.000500001 - #12 figura da resposta próxima: 0,04
0.04· published_cell d=3 (the SE as printed) · absoluta 0.000500001
Verificações
| # | Verificação | Obrigatória | Resultado | Esperado | Observado | Tolerância | Fonte | Chamada |
|---|---|---|---|---|---|---|---|---|
| 0 | resposta com lastro every number backed | obrigatória | passou | — | [] | — | — | — |
| 1 | figura da resposta escolhida answer figure call_1156b06f:coef.classize (infer.iv_2sls) | obrigatória | passou | — | "call_1156b06f:coef.classize" | — | — | call_1156b06f |
| 2 | ferramenta chamada answer call is infer.iv_2sls | obrigatória | passou | — | "infer.iv_2sls" | — | — | call_1156b06f |
| 3 | argumento igual infer.iv_2sls.y = 'avgverb' | obrigatória | passou | "avgverb" | "avgverb" | — | — | call_1156b06f |
| 4 | argumento igual infer.iv_2sls.endog = ['classize'] | obrigatória | passou | ["classize"] | ["classize"] | — | — | call_1156b06f |
| 5 | argumento igual infer.iv_2sls.instruments = ['func1'] | obrigatória | passou | ["func1"] | ["func1"] | — | — | call_1156b06f |
| 6 | argumento igual infer.iv_2sls.exog = ['tipuach'] | obrigatória | passou | ["tipuach"] | ["tipuach"] | — | — | call_1156b06f |
| 7 | argumento igual infer.iv_2sls.cluster = 'schlcode' | obrigatória | passou | "schlcode" | "schlcode" | — | — | call_1156b06f |
| 8 | diagnóstico 2019 vs 2019 | obrigatória | passou | 2.0192019 | 2.0192019 | default rel 1e-6 (abs floor 1e-6) | — | call_1156b06f |
| 9 | figura da resposta próxima -0.1584776549 vs -0.15847765494294208 | obrigatória | passou | -0,158478-0.15847765494294208 | -0,158478-0.1584776549429287 | relativa 0.000001 · absoluta 4.166708823732179e-8 | angrist_lavy_1999.tab4_c1.software | call_1156b06f |
| 10 | figura da resposta próxima 0.04166708824 vs 0.04166708823732179 | obrigatória | passou | 0,04166710.04166708823732179 | 0,04166710.04166708823731838 | relativa 0.000001 · absoluta 4.166708823732179e-8 | angrist_lavy_1999.tab4_c1.software | call_1156b06f |
| 11 | figura da resposta próxima -0.1584776549 vs -0.158 | registrada | passou | -0,158-0.158 | -0,158478-0.1584776549429287 | published_cell d=3 · absoluta 0.000500001 | angrist_lavy_1999.tab4_c1.paper | call_1156b06f |
| 12 | figura da resposta próxima 0.04166708824 vs 0.04 | registrada | falhou | 0,040.04 | 0,04166710.04166708823731838 | published_cell d=3 (the SE as printed) · absoluta 0.000500001 | angrist_lavy_1999.tab4_c1.paper | call_1156b06f |
Caminho de referência e caminho do agente
A chamada de referência ao lado da chamada que deu a resposta, argumento por argumento.
a tarefa T1 do mesmo alvo (paper_repro.angrist_lavy_1999.tab4_c1.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | "schlcode" | "schlcode" | igual |
| dataset | "final5" | "final5" | igual |
| endog | ["classize"] | ["classize"] | igual |
| exog | ["tipuach"] | ["tipuach"] | igual |
| instruments | ["func1"] | ["func1"] | igual |
| level | — | 0,950.95 | não fixado pela referência |
| se | — | "HC1" | não fixado pela referência |
| subset | — | — | não fixado pela referência |
| y | "avgverb" | "avgverb" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
Angrist and Lavy (1999), 'Using Maimonides' Rule to Estimate the Effect of Class Size on Scholastic Achievement', Table IV, column (1): for fifth-grade classes in 1991 (the full sample), estimate by two-stage least squares the effect of class size on the class's average reading comprehension score, using as the instrument the class size predicted by Maimonides' rule of 40 from the school's grade enrollment, with the percent of disadvantaged pupils as the only other regressor. Correct the standard errors for within-school correlation between classes. Report the coefficient on class size.
final5(agent)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).
filebf443edee9033926b4e74dc2c17a98b04405b899735bf4c372e0e6d468431a54· frame —rename{"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}}derive{"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"}derive{"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"}derive{"args":{"column":"verb_over_100","factor":100},"name":"verb_shift","op":"scale"}derive{"args":{"column":"math_over_100","factor":100},"name":"math_shift","op":"scale"}derive{"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"}derive{"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"}derive{"args":{"column":"c_size","divisor":40},"name":"func1","op":"floor_div_rule"}derive{"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"}derive{"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"}derive{"args":{"column":"verb_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"verb_mask","op":"map"}derive{"args":{"column":"math_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"math_mask","op":"map"}derive{"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"}derive{"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"}filter{"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"}dropna{"columns":["avgverb"]}select{"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]}
- 1Transformação
final5·rename{"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}}2029 → 2029 linhasFrame antes → depois:2b23ad8cd0d1→010f00767173 - 2Transformação
final5·derive{"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"}2029 → 2029 linhasFrame antes → depois:010f00767173→c6b27ce0fe06 - 3Transformação
final5·derive{"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"}2029 → 2029 linhasFrame antes → depois:c6b27ce0fe06→3306d1504ee6 - 4Transformação
final5·derive{"args":{"column":"verb_over_100","factor":100},"name":"verb_shift","op":"scale"}2029 → 2029 linhasFrame antes → depois:3306d1504ee6→40047f6499b1 - 5Transformação
final5·derive{"args":{"column":"math_over_100","factor":100},"name":"math_shift","op":"scale"}2029 → 2029 linhasFrame antes → depois:40047f6499b1→99aa2e0fdfab - 6Transformação
final5·derive{"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"}2029 → 2029 linhasFrame antes → depois:99aa2e0fdfab→ffb1bb9e8300 - 7Transformação
final5·derive{"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"}2029 → 2029 linhasFrame antes → depois:ffb1bb9e8300→092a1c47a742 - 8Transformação
final5·derive{"args":{"column":"c_size","divisor":40},"name":"func1","op":"floor_div_rule"}2029 → 2029 linhasFrame antes → depois:092a1c47a742→875de4a2cc30 - 9Transformação
final5·derive{"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"}2029 → 2029 linhasFrame antes → depois:875de4a2cc30→89ca7567675b - 10Transformação
final5·derive{"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"}2029 → 2029 linhasFrame antes → depois:89ca7567675b→38222658161f - 11Transformação
final5·derive{"args":{"column":"verb_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"verb_mask","op":"map"}2029 → 2029 linhasFrame antes → depois:38222658161f→0ae1567e1fc1 - 12Transformação
final5·derive{"args":{"column":"math_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"math_mask","op":"map"}2029 → 2029 linhasFrame antes → depois:0ae1567e1fc1→cc67430b1dbd - 13Transformação
final5·derive{"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"}2029 → 2029 linhasFrame antes → depois:cc67430b1dbd→c56ddccb9364 - 14Transformação
final5·derive{"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"}2029 → 2029 linhasFrame antes → depois:c56ddccb9364→e7e52aba50e2 - 15Transformação
final5·filter{"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"}2029 → 2024 linhasFrame antes → depois:e7e52aba50e2→78b2a8a74186 - 16Transformação
final5·dropna{"columns":["avgverb"]}2024 → 2019 linhasFrame antes → depois:78b2a8a74186→724502391e3c - 17Transformação
final5·select{"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]}2019 → 2019 linhasFrame antes → depois:724502391e3c→e5f6f10d4c43 - 18Turno do modelo
call_27130567referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelTable IV, column (1): 2SLS of the class's average reading comprehension score on class size, instrumented by Maimonides' rule (func1), with the percent disadvantaged, errors clustered by school.
Chamadas pedidasinfer.iv_2sls{ "cluster": "schlcode", "dataset": "final5", "endog": [ "classize" ], "exog": [ "tipuach" ], "instruments": [ "func1" ], "y": "avgverb" }
- 19Ferramenta
infer.iv_2slsv0.1.0call_1156b06fdecidido pelo modeloreexecutávelMotivo: Table IV, column (1): 2SLS of the class's average reading comprehension score on class size, instrumented by Maimonides' rule (func1), with the percent disadvantaged, errors clustered by school.
Argumentos
{ "cluster": "schlcode", "dataset": "final5", "endog": [ "classize" ], "exog": [ "tipuach" ], "instruments": [ "func1" ], "level": 0.95, "se": "HC1", "subset": null, "y": "avgverb" }Figuras call_1156b06f Chave Valor Valor bruto Erro-padrão IC coef.classize 2SLS effect of classize on avgverb-0,158478 -0.15847765494292870,0416671 0.04166708823731838-0,240243 – -0,0767128 Diagnósticosfirst_stage_F.classize= 774,575774.5747822893542partial_r2.classize= 0,4488020.44880209399595195weak_instrument=falsen_obs= 2.0192019se_type="cluster"n_clusters= 1.0021002
Tabelas (3)
{ "coefficients": [ { "ci_high": 87.00953033915071, "ci_low": 81.72805358938909, "coef": 84.3687919642699, "p": 0, "se": 1.3457111451741575, "t": 62.694577708465935, "term": "Intercept" }, { "ci_high": -0.34006714726869425, "ci_low": -0.40285271643053877, "coef": -0.3714599318496165, "p": 9.341232983329694e-96, "se": 0.015997654478174198, "t": -23.219649627787874, "term": "tipuach" }, { "ci_high": -0.07671279829266166, "ci_low": -0.24024251159319576, "coef": -0.1584776549429287, "p": 0.00015134922325899373, "se": 0.04166708823731838, "t": -3.80342523673135, "term": "classize" } ], "first_stage": [ { "ci_high": 0.7531393219109376, "ci_low": 0.6539289621477021, "coef": 0.7035341420293199, "endog": "classize", "instrument": "func1", "p": 1.0099426782262282e-126, "se": 0.025278628151898873, "t": 27.831183630764865 } ], "reduced_form": [ { "ci_high": -0.05528831812935853, "ci_low": -0.16770056387282528, "coef": -0.1114944410010919, "instrument": "func1", "p": 0.00010573013370968822, "se": 0.028642445876121088, "t": -3.892629892129557 } ] }- Digests dos dados
final5e5f6f10d4c435ecfab68a7e6bc06b2f9bd134269223cf7b0871fadb4c2ce49d5- sha256 do resultado
aada4c5e9b259e47c2567442c2a2c9917be9c59ec806950ec57106c8ea98c276
- 20Turno do modelo
call_185dad32referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheChamadas pedidassubmit_answer(meta-ferramenta){ "answer": "Estimativa (infer.iv_2sls): coef.classize = -0,1585.", "caveats": [], "figure_refs": [ "call_1156b06f:coef.classize" ] }
- 21Guardaresposta aceita
- Números encontrados
- -0,1585
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 22Resposta
Estimativa (infer.iv_2sls): coef.classize = -0,1585.
Figuras citadas:call_1156b06f:coef.classize· Parada:answeredFigura da resposta:call_1156b06f:coef.classize= -0,158478-0.1584776549429287(se 0,04166710.04166708823731838) - 23Pontuação#0resposta com lastropassouobrigatória
every number backed - 24Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_1156b06f:coef.classize (infer.iv_2sls) - 25Pontuação#2ferramenta chamadapassouobrigatória
answer call is infer.iv_2sls - 26Pontuação#3argumento igualpassouobrigatória
infer.iv_2sls.y = 'avgverb' - 27Pontuação#4argumento igualpassouobrigatória
infer.iv_2sls.endog = ['classize'] - 28Pontuação#5argumento igualpassouobrigatória
infer.iv_2sls.instruments = ['func1'] - 29Pontuação#6argumento igualpassouobrigatória
infer.iv_2sls.exog = ['tipuach'] - 30Pontuação#7argumento igualpassouobrigatória
infer.iv_2sls.cluster = 'schlcode' - 31Pontuação#8diagnósticopassouobrigatória
2019 vs 2019 - 32Pontuação#9figura da resposta próximapassouobrigatória
-0.1584776549 vs -0.15847765494294208 - 33Pontuação#10figura da resposta próximapassouobrigatória
0.04166708824 vs 0.04166708823732179 - 34Pontuação#11figura da resposta próximapassouregistrada
-0.1584776549 vs -0.158 - 35Pontuação#12figura da resposta próximafalhouregistrada
0.04166708824 vs 0.04
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | falhou |
Tentativas
Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.
- época 1, tentativa 1passoupontuada(exibindo)
Downloads desta tarefa
0e32d5ddfc4026d21e9806966c7434eae6c111c62b9489813e6dbff80679ffdfO hash de um zip é só de transporte: o que ancora a integridade é o RUN_SHA256SUMS que vai dentro dele, cópia exata do SHA256SUMS da execução.
| Arquivo | Tamanho | sha256 |
|---|---|---|
| attachments/0554f649b35daa8ce0647645f282614ace3fa017e9c91c9891345990086e8e0f.json | 1,5 KB | 0554f649b35daa8ce0647645f282614ace3fa017e9c91c9891345990086e8e0f |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/473b52b5f12d63d803aa29e04b28878a1645f217f6a9245252e2c0acafbb0754.json | 1,6 KB | 473b52b5f12d63d803aa29e04b28878a1645f217f6a9245252e2c0acafbb0754 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/5e5a680e47142201055d9b95278b1ed88e706a2de844ac68d8e1dca8b904ee75.json | 408 B | 5e5a680e47142201055d9b95278b1ed88e706a2de844ac68d8e1dca8b904ee75 |
| attachments/86cca16f4c027e951a6467f391ba7f7a152cea14598d6009762d986866193806.json | 1,5 KB | 86cca16f4c027e951a6467f391ba7f7a152cea14598d6009762d986866193806 |
| attachments/fc14a14906c112ac67b30bc1a66ba7ef76dfd87c61704626da9f5120781cd2f4.json | 618 B | fc14a14906c112ac67b30bc1a66ba7ef76dfd87c61704626da9f5120781cd2f4 |
| native/paper_repro/paper_repro.angrist_lavy_1999.tab4_c1.agent.e1.a1.json | 36 B | 39a1ffcef98d10bf196fee2aa93ee0343ff9c7c2b32629831f61ccb9c4e8fdd7 |
| sources/angrist_lavy_1999.tab4_c1.paper.json | 2,1 KB | 7d35d337f218a5f91a68311d30f89b324640a0a63daf841c64b05a2b0c8921e3 |
| sources/angrist_lavy_1999.tab4_c1.software.json | 1,3 KB | 301a485ab817f06c1f90fa1ead2cdbc40f37a90d42a595c2cee965c10448702f |
| specs/paper_repro.angrist_lavy_1999.tab4_c1.agent.json | 11,4 KB | 56cb6aa1587b770c4e0b854a17501dd911093a67f6447741f649c63cd2961cf3 |
| traces/paper_repro.angrist_lavy_1999.tab4_c1.agent.e1.a1.jsonl | 30,3 KB | 9c8d5850c0230e286f4701fd0faae74eff4d400321aa04da74d0a84c89d4e7dd |
| trajectories/paper_repro.angrist_lavy_1999.tab4_c1.agent.e1.a1.jsonl | 29,2 KB | 010d3fae922ab1a14da046d5cfa9f8f7f0477518aa565c57af6dc27d3cc76d2b |