Pular para o conteúdo

Tarefa paper_repro.angrist_lavy_1999.tab4_c7.tool

paper_reprotoolT1publicépoca 1, tentativa 1Execução: 20261015T183517Z-suite-paper_repro-gemini-0cda63

Veredito

passouPassou em todas as verificações obrigatórias.

Pergunta feita ao analista

Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

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/
  • #0 figura próxima: -0,0130465-0.013046507688542874 · relativa 0.000001 · absoluta 5.772648049818425e-8
  • #1 figura próxima: 0,05772650.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ão
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.
Endereço
https://doi.org/10.1162/003355399556061
Licença
Copyright of the publisher; cited, not reproduced.
  • #2 figura próxima: -0,013-0.013 · published_cell d=3 · absoluta 0.000500001
  • #3 figura próxima: 0,0560.056 · published_cell d=3 (the SE as printed) · absoluta 0.000500001

Verificações

Cada verificação, o que esperava, o que observou e a chamada que leu
#VerificaçãoObrigatóriaResultadoEsperadoObservadoTolerânciaFonteChamada
0figura próxima
-0.01304650769 vs -0.013046507688542874
obrigatóriapassou-0,0130465-0.013046507688542874-0,0130465-0.013046507688572694relativa 0.000001 · absoluta 5.772648049818425e-8angrist_lavy_1999.tab4_c7.software—
1figura próxima
0.0577264805 vs 0.057726480498184254
obrigatóriapassou0,05772650.0577264804981842540,05772650.05772648049818505relativa 0.000001 · absoluta 5.772648049818425e-8angrist_lavy_1999.tab4_c7.software—
2figura próxima
-0.01304650769 vs -0.013
obrigatóriapassou-0,013-0.013-0,0130465-0.013046507688572694published_cell d=3 · absoluta 0.000500001angrist_lavy_1999.tab4_c7.paper—
3figura próxima
0.0577264805 vs 0.056
registradafalhou0,0560.0560,05772650.05772648049818505published_cell d=3 (the SE as printed) · absoluta 0.000500001angrist_lavy_1999.tab4_c7.paper—

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 própria especificação da tarefa

Referência: infer.iv_2slsChamada do agente: infer.iv_2sls (call_3b76613a)igual
Argumentos da referência e do agente
ArgumentoReferênciaAgente
cluster"schlcode""schlcode"igual
dataset"final5""final5"igual
endog["classize"]["classize"]igual
exog["tipuach"]["tipuach"]igual
instruments["func1"]["func1"]igual
level—0,950.95nã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.

  1. 0Início

    Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

    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).

    file bf443edee9033926b4e74dc2c17a98b04405b899735bf4c372e0e6d468431a54 · frame —
    1. rename {"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}}
    2. derive {"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"}
    3. derive {"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"}
    4. derive {"args":{"column":"verb_over_100","factor":100},"name":"verb_shift","op":"scale"}
    5. derive {"args":{"column":"math_over_100","factor":100},"name":"math_shift","op":"scale"}
    6. derive {"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"}
    7. derive {"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"}
    8. derive {"args":{"column":"c_size","divisor":40},"name":"func1","op":"floor_div_rule"}
    9. derive {"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"}
    10. derive {"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"}
    11. derive {"args":{"column":"verb_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"verb_mask","op":"map"}
    12. derive {"args":{"column":"math_tested","default":null,"keep_unmapped":false,"mapping":[{"source":1,"target":1}]},"name":"math_mask","op":"map"}
    13. derive {"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"}
    14. derive {"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"}
    15. filter {"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"}
    16. dropna {"columns":["avgverb"]}
    17. select {"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]}
  2. 1Transformação
    final5 · rename {"map":{"avgmath":"avgmath_raw","avgverb":"avgverb_raw"}}
    2029 → 2029 linhas
    Frame antes → depois: 2b23ad8cd0d1 → 010f00767173
  3. 2Transformação
    final5 · derive {"args":{"cmp":"gt","column":"avgverb_raw","value":100},"name":"verb_over_100","op":"indicator"}
    2029 → 2029 linhas
    Frame antes → depois: 010f00767173 → c6b27ce0fe06
  4. 3Transformação
    final5 · derive {"args":{"cmp":"gt","column":"avgmath_raw","value":100},"name":"math_over_100","op":"indicator"}
    2029 → 2029 linhas
    Frame antes → depois: c6b27ce0fe06 → 3306d1504ee6
  5. 4Transformação
    final5 · derive {"args":{"column":"verb_over_100","factor":100},"name":"verb_shift","op":"scale"}
    2029 → 2029 linhas
    Frame antes → depois: 3306d1504ee6 → 40047f6499b1
  6. 5Transformação
    final5 · derive {"args":{"column":"math_over_100","factor":100},"name":"math_shift","op":"scale"}
    2029 → 2029 linhas
    Frame antes → depois: 40047f6499b1 → 99aa2e0fdfab
  7. 6Transformação
    final5 · derive {"args":{"left":"avgverb_raw","right":"verb_shift"},"name":"avgverb_shifted","op":"diff"}
    2029 → 2029 linhas
    Frame antes → depois: 99aa2e0fdfab → ffb1bb9e8300
  8. 7Transformação
    final5 · derive {"args":{"left":"avgmath_raw","right":"math_shift"},"name":"avgmath_shifted","op":"diff"}
    2029 → 2029 linhas
    Frame antes → depois: ffb1bb9e8300 → 092a1c47a742
  9. 8Transformação
    final5 · derive {"args":{"column":"c_size","divisor":40},"name":"func1","op":"floor_div_rule"}
    2029 → 2029 linhas
    Frame antes → depois: 092a1c47a742 → 875de4a2cc30
  10. 9Transformação
    final5 · derive {"args":{"cmp":"gt","column":"verbsize","value":0},"name":"verb_tested","op":"indicator"}
    2029 → 2029 linhas
    Frame antes → depois: 875de4a2cc30 → 89ca7567675b
  11. 10Transformação
    final5 · derive {"args":{"cmp":"gt","column":"mathsize","value":0},"name":"math_tested","op":"indicator"}
    2029 → 2029 linhas
    Frame antes → depois: 89ca7567675b → 38222658161f
  12. 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 linhas
    Frame antes → depois: 38222658161f → 0ae1567e1fc1
  13. 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 linhas
    Frame antes → depois: 0ae1567e1fc1 → cc67430b1dbd
  14. 13Transformação
    final5 · derive {"args":{"columns":["avgverb_shifted","verb_mask"]},"name":"avgverb","op":"product"}
    2029 → 2029 linhas
    Frame antes → depois: cc67430b1dbd → c56ddccb9364
  15. 14Transformação
    final5 · derive {"args":{"columns":["avgmath_shifted","math_mask"]},"name":"avgmath","op":"product"}
    2029 → 2029 linhas
    Frame antes → depois: c56ddccb9364 → e7e52aba50e2
  16. 15Transformação
    final5 · filter {"query":"classize > 1 and classize < 45 and c_size > 5 and c_leom == 1 and c_pik < 3"}
    2029 → 2024 linhas
    Frame antes → depois: e7e52aba50e2 → 78b2a8a74186
  17. 16Transformação
    final5 · dropna {"columns":["avgverb"]}
    2024 → 2019 linhas
    Frame antes → depois: 78b2a8a74186 → 724502391e3c
  18. 17Transformação
    final5 · select {"columns":["schlcode","classid","c_size","cohsize","classize","tipuach","verbsize","mathsize","avgverb","avgmath","func1"]}
    2019 → 2019 linhas
    Frame antes → depois: 724502391e3c → e5f6f10d4c43
  19. 18Ferramenta
    infer.iv_2slsv0.1.0call_3b76613adecidido pelo códigoreexecutável
    Argumentos
    {
      "cluster": "schlcode",
      "dataset": "final5",
      "endog": [
        "classize"
      ],
      "exog": [
        "tipuach"
      ],
      "instruments": [
        "func1"
      ],
      "level": 0.95,
      "se": "HC1",
      "subset": null,
      "y": "avgmath"
    }
    Figuras call_3b76613a
    ChaveValorValor brutoErro-padrãoIC
    coef.classize
    2SLS effect of classize on avgmath
    -0,0130465 -0.0130465076885726940,05772650.05772648049818505-0,126325 – 0,100232
    Diagnósticos
    • first_stage_F.classize = 768,769768.769420364802
    • partial_r2.classize = 0,4475620.4475618602370457
    • weak_instrument = false
    • n_obs = 2.0182018
    • se_type = "cluster"
    • n_clusters = 1.0011001
    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
    Digests dos dados
    final5 e5f6f10d4c435ecfab68a7e6bc06b2f9bd134269223cf7b0871fadb4c2ce49d5
    sha256 do resultado
    8f27ba09aa1b4a0fa4d13d5fe665b3072ff4659071eb3ab331e274ce9862ba8d
  20. 19Pontuação
    #0figura próximapassouobrigatória-0.01304650769 vs -0.013046507688542874
  21. 20Pontuação
    #1figura próximapassouobrigatória0.0577264805 vs 0.057726480498184254
  22. 21Pontuação
    #2figura próximapassouobrigatória-0.01304650769 vs -0.013
  23. 22Pontuação
    #3figura próximafalhouregistrada0.0577264805 vs 0.056

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#0123
Época 1passoupassoupassoufalhou

Tentativas

Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.

Downloads desta tarefa

Pacote da tarefa (.zip)
163,6 KB · sha256 46c8870a2aa531a1ba1be8c62aab2719c6f8b6c81f27285fbcfe69daefab70e2

O 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.

Downloads desta tarefa
ArquivoTamanhosha256
sources/angrist_lavy_1999.tab4_c7.paper.json2,1 KB7707c066c0e5bdeff3c10504697dbd0c60fd1152858ebef9a4be41eed95035d2
sources/angrist_lavy_1999.tab4_c7.software.json1,3 KB6b4a2357f6a3f1d4dac772e52dfffa19d51e1dfd3bb3e400eb4937ccbf8afdb7
specs/paper_repro.angrist_lavy_1999.tab4_c7.tool.json7,3 KBed86989b5fc3052fb51df08b1515d55d9b9f5234c602257f7a251d3468cd0add
traces/paper_repro.angrist_lavy_1999.tab4_c7.tool.e1.a1.jsonl20,4 KB75cd2c9f4d687cbf58dac945a42f8bd365ec66a0eb29761942f30bbc0933f721
trajectories/paper_repro.angrist_lavy_1999.tab4_c7.tool.e1.a1.jsonl20,6 KBeb4d74c8f907103fd9a49c5367fb9514e8debd2fae1fdf1c475e018e3a44f9aa