Tarefa paper_repro.angrist_lavy_1999.tab4_c7.design
paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E) · infer.iv_2sls (iv · mínimos quadrados em dois estágios)
coef.classize =-0,0130465-0.013046507688572694coef.classize =-0,0130465-0.013046507688542874Pergunta feita ao analista
Do smaller classes raise pupils' math achievement? Using Israeli fifth-grade classes in 1991, estimate the causal effect of one more pupil in the class on the class's average math score, holding the share of disadvantaged pupils fixed, using a source of variation in class size that is not chosen by schools or parents.
Estimativa (infer.iv_2sls): coef.classize = -0,01305.
Como o agente resolveu e como foi validado
Resumo passo a passo do que o agente executou, por que o caminho está correto e como cada verificação conferiu o resultado.
- 1Preparação da base de dados
final5— 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).Transformação "rename" aplicada à base "final5" (2029 → 2029 linhas).{"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"column":"verb_over_100","factor":100},"name":"verb_shift","op":"scale"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"column":"math_over_100","factor":100},"name":"math_shift","op":"scale"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"column":"c_size","divisor":40},"name":"func1","op":"floor_div_rule"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"column":"verb_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"verb_mask","op":"map"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"column":"math_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"math_mask","op":"map"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"}Transformação "derive" aplicada à base "final5" (2029 → 2029 linhas).{"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"}Transformação "filter" aplicada à base "final5" (2029 → 2024 linhas).{"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"}Transformação "dropna" aplicada à base "final5" (2024 → 2019 linhas).{"columns":["avgverb"]}Transformação "select" aplicada à base "final5" (2019 → 2019 linhas).{"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]} - 2Chamada que gerou a resposta finalVer chamada call_da6799ae nos detalhes
infer.iv_2sls(Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E))citada na respostacoincide com a referênciaTable IV, column (7): 2SLS of the class's average math score on class size, instrumented by Maimonides' rule (func1), with the percent disadvantaged, errors clustered by school.
Por que este é o caminho de referência: Table IV, column (7): 2SLS of the class's average math score on class size, instrumented by Maimonides' rule (func1), with the percent disadvantaged, errors clustered by school.Argumentos principais- cluster:
"schlcode"- dataset:
"final5"- endog:
["classize"]- exog:
["tipuach"]- instruments:
["func1"]- level:
- 0,95
0.95 - se:
"HC1"- y:
"avgmath"
Resultado calculadocoef.classize= -0,0130465-0.0130465076885726942SLS effect of classize on avgmath
Diagnósticos:first_stage_F.classize= 768,769768.769420364802(Wald F of the excluded instruments in the first stage for classize (cluster-robust standard errors (CR1) by 'schlcode')) ·partial_r2.classize= 0,4475620.4475618602370457(share of the variation the instruments explain beyond the controls) ·weak_instrument=false(every first-stage F is at least 10) ·n_obs= 2.0182018·se_type="cluster"(cluster-robust standard errors (CR1) by 'schlcode') ·n_clusters= 1.0011001(1001 clusters of 'schlcode') - 3Conferência de lastro e resposta final
Todos os 1 números escritos na resposta foram conferidos contra as ferramentas e o enunciado (nenhum número sem lastro).
Números encontrados:-0,01305Figuras citadas:call_da6799ae:coef.classize- #0resposta com lastroGarante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo).
- #1figura da resposta escolhidaan answer figure: the effect of an estimator call the answer cites
- #2ferramenta chamada
infer.iv_2slsExige que o resultado venha da ferramenta infer.iv_2sls. - #3argumento igual
yT3: the outcome the design question implies - #4argumento igual
endog[0]T3: the treatment the design question implies - #5argumento igual
instrumentsT3: the instrument the design question implies - #6argumento igual
youtcome: the class's average math score (T3: recorded; a design question cannot state it) - #7argumento igual
endogthe endogenous regressor: class size (T3: recorded; a design question cannot state it) - #8argumento igual
instrumentsthe instrument: Maimonides' rule (T3: recorded; a design question cannot state it) - #9argumento igual
exogpercent disadvantaged (T3: recorded; a design question cannot state it) - #10argumento igual
clusterwithin-school correlation: clustered by school (T3: recorded; a design question cannot state it) - #11diagnóstico
n_obs(T3: recorded; a design question cannot state it) - #12figura da resposta próximasoftware reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
- #13figura da resposta próximasoftware reference, SE: recorded (T3)
- #14figura da resposta próximapublished cell: recorded, never required on T2/T3
- #15figura da resposta próximapublished cell, SE: recorded, never required on T2/T3
Aprofundamento técnico para especialistas
Acesso direto às fontes primárias, tabela formal de verificações, comparação de argumentos, trajetória completa com prompts brutos e somas SHA-256.
Valores esperados e de onde vêm
angrist_lavy_1999.tab4_c7.software
- Fonte
- linearmodels 7.0: the reference specification of angrist_lavy_1999 tab4_c7 (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 (7), math, full sample, row 'Class size'
- Valor
- -0,0130465
-0.013046507688542874(se 0,05772650.057726480498184254) - Conferido por
- execução de software · IV2SLS(dependent=avgmath, 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 = 2018, n_clusters = 1001. 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/
- #12 figura da resposta próxima: -0,0130465
-0.013046507688542874· relativa 0.000001 · absoluta 5.772648049818425e-8 - #13 figura da resposta próxima: 0,0577265
0.057726480498184254· relativa 0.000001 · absoluta 5.772648049818425e-8
angrist_lavy_1999.tab4_c7.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 (7), math, full sample, row 'Class size'
- Página
- 554
- Trecho
Class size −.013 (.056) N 2018
- Valor como publicado
−.013- Erro-padrão como publicado
.056- Valor
- -0,013
-0.013(se 0,0560.056) points of the class average math 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 (7), math, full sample: N 2018 (the reading sample less classes with no math score).
- 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.
- #14 figura da resposta próxima: -0,013
-0.013· published_cell d=3 · absoluta 0.000500001 - #15 figura da resposta próxima: 0,056
0.056· published_cell d=3 (the SE as printed) · absoluta 0.000500001
Especificação técnica do gabarito
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
Verificações
| # | Verificação | Obrigatória | Resultado | Esperado | Observado | Tolerância | Fonte | Chamada |
|---|---|---|---|---|---|---|---|---|
| 0 | resposta com lastro Garante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo). every number backed | obrigatória | passou | 0 sem lastro | 0 sem lastro[] | — | — | — |
| 1 | figura da resposta escolhida an answer figure: the effect of an estimator call the answer cites answer figure call_da6799ae:coef.classize (infer.iv_2sls) | obrigatória | passou | — | "call_da6799ae:coef.classize" | — | — | call_da6799ae |
| 2 | ferramenta chamada infer.iv_2slsExige que o resultado venha da ferramenta infer.iv_2sls. answer call is infer.iv_2sls | obrigatória | passou | "infer.iv_2sls" | "infer.iv_2sls" | — | — | call_da6799ae |
| 3 | argumento igual yT3: the outcome the design question implies infer.iv_2sls.y = 'avgmath' | obrigatória | passou | "avgmath" | "avgmath" | — | — | call_da6799ae |
| 4 | argumento igual endog[0]T3: the treatment the design question implies infer.iv_2sls.endog[0] = 'classize' | obrigatória | passou | "classize" | "classize" | — | — | call_da6799ae |
| 5 | argumento igual instrumentsT3: the instrument the design question implies infer.iv_2sls.instruments = ['func1'] | obrigatória | passou | ["func1"] | ["func1"] | — | — | call_da6799ae |
| 6 | argumento igual youtcome: the class's average math score (T3: recorded; a design question cannot state it) infer.iv_2sls.y = 'avgmath' | registrada | passou | "avgmath" | "avgmath" | — | — | call_da6799ae |
| 7 | argumento igual endogthe endogenous regressor: class size (T3: recorded; a design question cannot state it) infer.iv_2sls.endog = ['classize'] | registrada | passou | ["classize"] | ["classize"] | — | — | call_da6799ae |
| 8 | argumento igual instrumentsthe instrument: Maimonides' rule (T3: recorded; a design question cannot state it) infer.iv_2sls.instruments = ['func1'] | registrada | passou | ["func1"] | ["func1"] | — | — | call_da6799ae |
| 9 | argumento igual exogpercent disadvantaged (T3: recorded; a design question cannot state it) infer.iv_2sls.exog = ['tipuach'] | registrada | passou | ["tipuach"] | ["tipuach"] | — | — | call_da6799ae |
| 10 | argumento igual clusterwithin-school correlation: clustered by school (T3: recorded; a design question cannot state it) infer.iv_2sls.cluster = 'schlcode' | registrada | passou | "schlcode" | "schlcode" | — | — | call_da6799ae |
| 11 | diagnóstico n_obs(T3: recorded; a design question cannot state it) 2018 vs 2018 | registrada | passou | 2.0182018 | 2.0182018 | default rel 1e-6 (abs floor 1e-6) | — | call_da6799ae |
| 12 | figura da resposta próxima software reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada) -0.01304650769 vs -0.013046507688542874 | registrada | passou | -0,0130465-0.013046507688542874 | -0,0130465-0.013046507688572694 | relativa 0.000001 · absoluta 5.772648049818425e-8 | angrist_lavy_1999.tab4_c7.software | call_da6799ae |
| 13 | figura da resposta próxima software reference, SE: recorded (T3) 0.0577264805 vs 0.057726480498184254 | registrada | passou | 0,05772650.057726480498184254 | 0,05772650.05772648049818505 | relativa 0.000001 · absoluta 5.772648049818425e-8 | angrist_lavy_1999.tab4_c7.software | call_da6799ae |
| 14 | figura da resposta próxima published cell: recorded, never required on T2/T3 -0.01304650769 vs -0.013 | registrada | passou | -0,013-0.013 | -0,0130465-0.013046507688572694 | published_cell d=3 · absoluta 0.000500001 | angrist_lavy_1999.tab4_c7.paper | call_da6799ae |
| 15 | figura da resposta próxima published cell, SE: recorded, never required on T2/T3 0.0577264805 vs 0.056 | registrada | falhou | 0,0560.056 | 0,05772650.05772648049818505 | published_cell d=3 (the SE as printed) · absoluta 0.000500001 | angrist_lavy_1999.tab4_c7.paper | call_da6799ae |
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_c7.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 | "avgmath" | "avgmath" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
Do smaller classes raise pupils' math achievement? Using Israeli fifth-grade classes in 1991, estimate the causal effect of one more pupil in the class on the class's average math score, holding the share of disadvantaged pupils fixed, using a source of variation in class size that is not chosen by schools or parents.
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_2230bf4creferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelTable IV, column (7): 2SLS of the class's average math 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": "avgmath" }
- 19Ferramenta
infer.iv_2sls— Variáveis instrumentais por mínimos quadrados em dois estágios (MQ2E)v0.1.0call_da6799aedecidido pelo modeloreexecutávelMotivo: Table IV, column (7): 2SLS of the class's average math 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": "avgmath" }Figuras call_da6799ae Chave Valor Valor bruto Erro-padrão IC coef.classize 2SLS effect of classize on avgmath-0,0130465 -0.0130465076885726940,0577265 0.05772648049818505-0,126325 – 0,100232 Diagnósticosfirst_stage_F.classize= 768,769768.769420364802(Wald F of the excluded instruments in the first stage for classize (cluster-robust standard errors (CR1) by 'schlcode'))partial_r2.classize= 0,4475620.4475618602370457(share of the variation the instruments explain beyond the controls)weak_instrument=false(every first-stage F is at least 10)n_obs= 2.0182018se_type="cluster"(cluster-robust standard errors (CR1) by 'schlcode')n_clusters= 1.0011001(1001 clusters of 'schlcode')
Derivação matemática e pressupostos
coef.classize- Com um instrumento e um regressor endógeno, o MQ2E é a razão entre o coeficiente de func1 na forma reduzida (avgmath sobre func1 e os controles) e no primeiro estágio (classize sobre func1 e os controles).
β = ρ / π→ -0,0130465 (-0.013046507688572694) - Erro-padrão robusto por conglomerado (CR1): a raiz da variância estimada do coeficiente.
ep = √V_jj→ 0,0577265 (0.05772648049818505) - Intervalo de 95% de confiança: a estimativa mais ou menos o valor crítico da distribuição t de Student com 1000 graus de liberdade vezes o erro-padrão.
IC = β ± c · ep
Pressupostos do estimador- the instruments affect the outcome only through the endogenous regressors (exclusion restriction)
- the instruments are as good as randomly assigned given the controls
- errors are independent across clusters of 'schlcode' and may be correlated within them
Tabelas (3)
{ "coefficients": [ { "ci_high": 76.30723119029003, "ci_low": 69.06597364755254, "coef": 72.68660241892128, "p": 1.1751275842411332e-205, "se": 1.8450576695664542, "t": 39.39530108888192, "term": "Intercept" }, { "ci_high": -0.3157749134144593, "ci_low": -0.3935105819373853, "coef": -0.3546427476759223, "p": 2.1083533848094544e-62, "se": 0.01980688997188723, "t": -17.90501932303769, "term": "tipuach" }, { "ci_high": 0.10023242099157932, "ci_low": -0.1263254363687247, "coef": -0.013046507688572694, "p": 0.8212432506195326, "se": 0.05772648049818505, "t": -0.22600559701509748, "term": "classize" } ], "first_stage": [ { "ci_high": 0.7524747383423368, "ci_low": 0.6530029429656291, "coef": 0.702738840653983, "endog": "classize", "instrument": "func1", "p": 5.5795147910231096e-126, "se": 0.025345210812092844, "t": 27.72669147887649 } ], "reduced_form": [ { "ci_high": 0.07034348096097331, "ci_low": -0.08868005633627507, "coef": -0.009168287687650871, "instrument": "func1", "p": 0.8210360921775577, "se": 0.04051887333107542, "t": -0.22627202915386524 } ] }- 1 rows were dropped because one of 'avgmath', 'classize', 'func1', 'tipuach', 'schlcode' was missing
Hashes SHA-256 e metadados de reprodução
- Digests dos dados
final5e5f6f10d4c435ecfab68a7e6bc06b2f9bd134269223cf7b0871fadb4c2ce49d5- sha256 do resultado
513ad6d70c886000674c3aa8f9590c5e6dc7c91fd31f25c2a445135eec1e3975
- 20Turno do modelo
call_c002aa65referenceFim: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,01305.", "caveats": [], "figure_refs": [ "call_da6799ae:coef.classize" ] }
- 21Guardaresposta aceita
- Números encontrados
- -0,01305
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 22Resposta
Estimativa (infer.iv_2sls): coef.classize = -0,01305.
Figuras citadas:call_da6799ae:coef.classize· Parada:answeredFigura da resposta:call_da6799ae:coef.classize= -0,0130465-0.013046507688572694(se 0,05772650.05772648049818505) - 23Pontuação#0resposta com lastropassouobrigatória
every number backed - 24Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_da6799ae: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 = 'avgmath' - 27Pontuação#4argumento igualpassouobrigatória
infer.iv_2sls.endog[0] = 'classize' - 28Pontuação#5argumento igualpassouobrigatória
infer.iv_2sls.instruments = ['func1'] - 29Pontuação#6argumento igualpassouregistrada
infer.iv_2sls.y = 'avgmath' - 30Pontuação#7argumento igualpassouregistrada
infer.iv_2sls.endog = ['classize'] - 31Pontuação#8argumento igualpassouregistrada
infer.iv_2sls.instruments = ['func1'] - 32Pontuação#9argumento igualpassouregistrada
infer.iv_2sls.exog = ['tipuach'] - 33Pontuação#10argumento igualpassouregistrada
infer.iv_2sls.cluster = 'schlcode' - 34Pontuação#11diagnósticopassouregistrada
2018 vs 2018 - 35Pontuação#12figura da resposta próximapassouregistrada
-0.01304650769 vs -0.013046507688542874 - 36Pontuação#13figura da resposta próximapassouregistrada
0.0577264805 vs 0.057726480498184254 - 37Pontuação#14figura da resposta próximapassouregistrada
-0.01304650769 vs -0.013 - 38Pontuação#15figura da resposta próximafalhouregistrada
0.0577264805 vs 0.056
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | 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
9392d7ff44ffbdacbb59d894da5074706ded4b10e1c517a3d63d1e7343c1206bO 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/071107ec3ef839fd7337dd78492bac72a4addb81e563e180336b777e1edc10ce.json | 1,6 KB | 071107ec3ef839fd7337dd78492bac72a4addb81e563e180336b777e1edc10ce |
| attachments/285bf3f9fe48a4a7d888f166074b313b189f904c23c3008291441c9e12ba2d3d.json | 391 B | 285bf3f9fe48a4a7d888f166074b313b189f904c23c3008291441c9e12ba2d3d |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/68d45b702da4c90365e30a6bbf28fd4d2f3f75cfca33de866600834db8a6154e.json | 1,7 KB | 68d45b702da4c90365e30a6bbf28fd4d2f3f75cfca33de866600834db8a6154e |
| attachments/7531f6e1ee3bbfdf2193bcd1b6449c97eea1e042dd9c02c530cf0f7eff12ab10.json | 344 B | 7531f6e1ee3bbfdf2193bcd1b6449c97eea1e042dd9c02c530cf0f7eff12ab10 |
| sources/angrist_lavy_1999.tab4_c7.paper.json | 2,1 KB | 7707c066c0e5bdeff3c10504697dbd0c60fd1152858ebef9a4be41eed95035d2 |
| sources/angrist_lavy_1999.tab4_c7.software.json | 1,3 KB | 6b4a2357f6a3f1d4dac772e52dfffa19d51e1dfd3bb3e400eb4937ccbf8afdb7 |
| specs/paper_repro.angrist_lavy_1999.tab4_c7.design.json | 12,6 KB | 06aebe25d50a467c1e5faa729b2b2923d684d819ed5b124562dccb867f57523f |
| traces/paper_repro.angrist_lavy_1999.tab4_c7.design.e1.a1.jsonl | 30,1 KB | f854d6b26de81f0e1131453ad4033bc7918d800f382a69a37b945962ba1facd7 |
| trajectories/paper_repro.angrist_lavy_1999.tab4_c7.design.e1.a1.jsonl | 30,5 KB | 0a27236a8c475a64aa58efee8f231df02201f01a6ca6a8141c4b389961069280 |