Pular para o conteúdo

Tarefa paper_repro.dehejia_wahba_1999.tab2_pa_c1.design

paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9df

Veredito

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

Família do método (das chamadas de ferramentas): Regressão linear por mínimos quadrados ordinários (MQO) · infer.ols (ols · regressão linear)

Calculado pelo agente
coef.treat =886,304886.3037224514032
Coefficient on treat in the regression of re78
via infer.ols (call_f8b2330f)
Valor esperado (gabarito)
coef.treat =886,304886.3037224514105
statsmodels 0.15.0: the reference specification of dehejia_wahba_1999 tab2_pa_c1 (infer.ols, figure 'coef.treat') on an independent code path
Como foi validado
9 de 9 verificações obrigatórias aprovadas
relativa 0.000001 · absoluta 0.00047208625759451856

Pergunta feita ao analista

Did the National Supported Work job-training program raise the 1978 earnings of the men randomly assigned to it? Use LaLonde's experimental sample of male participants in the file and report the effect in 1982 dollars.

Resposta

Estimativa (infer.ols): coef.treat = 886,3.

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.

  1. 1Preparação da base de dados
    nsw— LaLonde's (1986) National Supported Work experimental sample of male participants, as posted by Rajeev Dehejia (nsw.dta): one row per man (722 rows: the treated and the experimental controls). Columns: data_id, the sample label; treat, 1 for men randomly assigned to the NSW job training program and 0 for the experimental controls; age, in years; education, years of schooling; black, 1 if black; hispanic, 1 if Hispanic; married, 1 if married; nodegree, 1 for no high school degree; re75, real earnings in 1975; re78, real earnings in 1978 (both in 1982 dollars).
  2. 2Chamada que gerou a resposta finalinfer.ols(Regressão linear por mínimos quadrados ordinários (MQO))citada na respostacoincide com a referência
    Ver chamada call_f8b2330f nos detalhes

    Table 2, Panel A, column (1), NSW row: the experimental difference in 1978 earnings between treated and control men in LaLonde's sample, as the OLS coefficient on the treatment indicator, classical errors.

    Por que este é o caminho de referência: Table 2, Panel A, column (1), NSW row: the experimental difference in 1978 earnings between treated and control men in LaLonde's sample, as the OLS coefficient on the treatment indicator, classical errors.
    Argumentos principais
    dataset:
    "nsw"
    intercept:
    true
    level:
    0,950.95
    se:
    "classical"
    x:
    ["treat"]
    y:
    "re78"
    Resultado calculado
    • coef.treat = 886,304 886.3037224514032
      Coefficient on treat in the regression of re78
    Diagnósticos: n_obs = 722722 (observations used) · k = 22 (parameters estimated, fixed-effect dummies included) · r2 = 0,004871570.0048715713405096395 · df_resid = 720720 · se_type = "classical" (classical (homoskedastic) standard errors)
  3. 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: 886,3
    Figuras citadas: call_f8b2330f:coef.treat
    • #0resposta com lastro
      Garante que todo número citado no texto veio de uma ferramenta ou do enunciado (sem cálculo mental do modelo).
    • #1figura da resposta escolhida
      an answer figure: the effect of an estimator call the answer cites
    • #2uma entre
      acceptable tools: the reference tool and its alternatives
    • #3argumento igualy
      T3: the outcome the design question implies
    • #4argumento igualx[0]
      T3: the treatment the design question implies
    • #5argumento igualy
      T3: the outcome the design question implies
    • #6argumento igualtreatment
      T3: the treatment the design question implies
    • #7argumento igualy
      T3: the outcome the design question implies
    • #8argumento igualtreatment
      T3: the treatment the design question implies
    • #9argumento igualy
      outcome: earnings in 1978 (T3: recorded; a design question cannot state it)
    • #10argumento igualx
      the regressor: the treatment indicator (T3: recorded; a design question cannot state it)
    • #11argumento igualcontrols
      column (1) is unadjusted (T3: recorded; a design question cannot state it)
    • #12diagnósticon_obs
      (T3: recorded; a design question cannot state it)
    • #13figura da resposta próxima
      software reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
    • #14figura da resposta próxima
      software reference, SE: recorded (T3)
    • #15figura da resposta próxima
      published cell: recorded, never required on T2/T3
    • #16figura da resposta próxima
      published 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

dehejia_wahba_1999.tab2_pa_c1.software

Fonte
statsmodels 0.15.0: the reference specification of dehejia_wahba_1999 tab2_pa_c1 (infer.ols, figure 'coef.treat') on an independent code path
Tipo
software
Localização
dehejia_wahba_1999: Table 2, Panel A (Lalonde's original sample), column (1) 'NSW treatment earnings less comparison group earnings 1978, unadjusted', row 'NSW'
Valor
886,304886.3037224514105 (se 472,086472.0862575945186)
Conferido por
execução de software · sm.OLS(re78, add_constant(['treat'])).fit(cov_type='nonrobust') on nsw (the file pinned at sha256 3ee014cb0010e2e7fb990ac497f4217968733e2c9abfa4de84e83f524898c24e); n_obs = 722. The tool infer.ols (magi_infer, numpy) does not call statsmodels. Written by scripts/paper_repro_reference.py.
Implementação
independente da ferramenta
Endereço
https://pypi.org/project/statsmodels/0.15.0/
  • #13 figura da resposta próxima: 886,304886.3037224514105 · relativa 0.000001 · absoluta 0.00047208625759451856
  • #14 figura da resposta próxima: 472,086472.0862575945186 · relativa 0.000001 · absoluta 0.00047208625759451856

dehejia_wahba_1999.tab2_pa_c1.paper

Fonte
Dehejia, R. H. and Wahba, S. (1999). Causal Effects in Nonexperimental Studies: Reevaluating the Evaluation of Training Programs. Journal of the American Statistical Association 94(448): 1053-1062.
Tipo
paper
Localização
Table 2, Panel A (Lalonde's original sample), column (1) 'NSW treatment earnings less comparison group earnings 1978, unadjusted', row 'NSW'
Página
1056
Trecho
Panel A, NSW, Unadjusted (1): 886 (472)
Valor como publicado
886
Erro-padrão como publicado
472
Valor
886886 (se 472472) 1982 dollars of 1978 earnings
Conferido por
fonte primária · Read on 2026-10-15 from the scanned JASA copy on Rajeev Dehejia's NBER page (11-page PDF, no text layer) from the rendered and rotated page image; Table 2 is on PDF page 5 (journal page 1056). The notes say the estimates are in 1982 dollars and 'Standard errors are in parentheses', footnote b says the NSW-control estimates are the unbiased experimental estimates ($886 for the original sample, $1,794 for the RE74 sample), and Table 1 gives the sample sizes (297 treated and 425 controls; 185 and 260 in the RE74 subset), which the replication files match (722 rows, no missing values).
sha256 da cópia lida
d3271fbfab39a4c2b101cc45000432165b271b06b9b075da9b3d1a2ff36654de (identifica a cópia lida, não um arquivo canônico)
Endereço
https://users.nber.org/~rdehejia/papers/dehejia_wahba_jasa.pdf
Licença
Copyright American Statistical Association; cited, not reproduced.
  • #15 figura da resposta próxima: 886886 · published_cell d=0 · absoluta 0.500000886
  • #16 figura da resposta próxima: 472472 · published_cell d=0 (the SE as printed) · absoluta 0.500000472
Especificação técnica do gabarito

Dehejia, R. H. and Wahba, S. (1999). Causal Effects in Nonexperimental Studies: Reevaluating the Evaluation of Training Programs. Journal of the American Statistical Association 94(448): 1053-1062. Table 2, Panel A (Lalonde's original sample), column (1) 'NSW treatment earnings less comparison group earnings 1978, unadjusted', row 'NSW' (source dehejia_wahba_1999.tab2_pa_c1.paper); software reference dehejia_wahba_1999.tab2_pa_c1.software: statsmodels 0.15.0: the reference specification of dehejia_wahba_1999 tab2_pa_c1 (infer.ols, figure 'coef.treat') on an independent code path

Verificações

Cada verificação, o que esperava, o que observou e a chamada que leu
#VerificaçãoObrigatóriaResultadoEsperadoObservadoTolerânciaFonteChamada
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óriapassou0 sem lastro0 sem lastro[]———
1
figura da resposta escolhida
an answer figure: the effect of an estimator call the answer cites
answer figure call_f8b2330f:coef.treat (infer.ols)
obrigatóriapassou—"call_f8b2330f:coef.treat"——call_f8b2330f
2
uma entre
acceptable tools: the reference tool and its alternatives
tool_called(infer.ols): ok | tool_called(infer.ate): answer call is infer.ols | tool_called(infer.neyman): answer call is infer.ols
obrigatóriapassou[{"abs_tol":null,"bind":"answer_call","column":null,"failure_class":null,"field":"value","interval":false,"key":null,"kind":"tool_called","min_lre":null,"note":"","open_interval":false,"rel_tol":null,"required":true,"source_id":null,"table":null,"tool":"infer.ols","value":null,"weight":1,"where":null},{"abs_tol":null,"bind":"answer_call","column":null,"failure_class":null,"field":"value","interval":false,"key":null,"kind":"tool_called","min_lre":null,"note":"","open_interval":false,"rel_tol":null,"required":true,"source_id":null,"table":null,"tool":"infer.ate","value":null,"weight":1,"where":null},{"abs_tol":null,"bind":"answer_call","column":null,"failure_class":null,"field":"value","interval":false,"key":null,"kind":"tool_called","min_lre":null,"note":"","open_interval":false,"rel_tol":null,"required":true,"source_id":null,"table":null,"tool":"infer.neyman","value":null,"weight":1,"where":null}]"infer.ols"——call_f8b2330f
3
argumento igualy
T3: the outcome the design question implies
infer.ols.y = 're78'
obrigatóriapassou"re78""re78"——call_f8b2330f
4
argumento igualx[0]
T3: the treatment the design question implies
infer.ols.x[0] = 'treat'
obrigatóriapassou"treat""treat"——call_f8b2330f
5
argumento igualy
T3: the outcome the design question implies
not applicable: the answer call is infer.ols, not infer.ate
obrigatóriapassou"re78"———call_f8b2330f
6
argumento igualtreatment
T3: the treatment the design question implies
not applicable: the answer call is infer.ols, not infer.ate
obrigatóriapassou"treat"———call_f8b2330f
7
argumento igualy
T3: the outcome the design question implies
not applicable: the answer call is infer.ols, not infer.neyman
obrigatóriapassou"re78"———call_f8b2330f
8
argumento igualtreatment
T3: the treatment the design question implies
not applicable: the answer call is infer.ols, not infer.neyman
obrigatóriapassou"treat"———call_f8b2330f
9
argumento igualy
outcome: earnings in 1978 (T3: recorded; a design question cannot state it)
infer.ols.y = 're78'
registradapassou"re78""re78"——call_f8b2330f
10
argumento igualx
the regressor: the treatment indicator (T3: recorded; a design question cannot state it)
infer.ols.x = ['treat']
registradapassou["treat"]["treat"]——call_f8b2330f
11
argumento igualcontrols
column (1) is unadjusted (T3: recorded; a design question cannot state it)
infer.ols.controls = []
registradapassou[][]——call_f8b2330f
12
diagnósticon_obs
(T3: recorded; a design question cannot state it)
722 vs 722
registradapassou722722722722default rel 1e-6 (abs floor 1e-6)—call_f8b2330f
13
figura da resposta próxima
software reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
886.3037225 vs 886.3037224514105
registradapassou886,304886.3037224514105886,304886.3037224514032relativa 0.000001 · absoluta 0.00047208625759451856dehejia_wahba_1999.tab2_pa_c1.softwarecall_f8b2330f
14
figura da resposta próxima
software reference, SE: recorded (T3)
472.0862576 vs 472.0862575945186
registradapassou472,086472.0862575945186472,086472.08625759451655relativa 0.000001 · absoluta 0.00047208625759451856dehejia_wahba_1999.tab2_pa_c1.softwarecall_f8b2330f
15
figura da resposta próxima
published cell: recorded, never required on T2/T3
886.3037225 vs 886.0
registradapassou886886886,304886.3037224514032published_cell d=0 · absoluta 0.500000886dehejia_wahba_1999.tab2_pa_c1.papercall_f8b2330f
16
figura da resposta próxima
published cell, SE: recorded, never required on T2/T3
472.0862576 vs 472.0
registradapassou472472472,086472.08625759451655published_cell d=0 (the SE as printed) · absoluta 0.500000472dehejia_wahba_1999.tab2_pa_c1.papercall_f8b2330f

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.dehejia_wahba_1999.tab2_pa_c1.tool)

Referência: infer.olsChamada do agente: infer.ols (call_f8b2330f)igual
Argumentos da referência e do agente
ArgumentoReferênciaAgente
cluster——não fixado pela referência
controls[][]igual
dataset"nsw""nsw"igual
fe[][]igual
intercept—truenão fixado pela referência
level—0,950.95não fixado pela referência
se"classical""classical"igual
subset——não fixado pela referência
weights——não fixado pela referência
x["treat"]["treat"]igual
y"re78""re78"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

    Did the National Supported Work job-training program raise the 1978 earnings of the men randomly assigned to it? Use LaLonde's experimental sample of male participants in the file and report the effect in 1982 dollars.

    nsw (agent)

    LaLonde's (1986) National Supported Work experimental sample of male participants, as posted by Rajeev Dehejia (nsw.dta): one row per man (722 rows: the treated and the experimental controls). Columns: data_id, the sample label; treat, 1 for men randomly assigned to the NSW job training program and 0 for the experimental controls; age, in years; education, years of schooling; black, 1 if black; hispanic, 1 if Hispanic; married, 1 if married; nodegree, 1 for no high school degree; re75, real earnings in 1975; re78, real earnings in 1978 (both in 1982 dollars).

    file 3ee014cb0010e2e7fb990ac497f4217968733e2c9abfa4de84e83f524898c24e · frame —
  2. 1Turno do modelo
    call_07fba720referenceFim: tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cache
    Texto visível

    Table 2, Panel A, column (1), NSW row: the experimental difference in 1978 earnings between treated and control men in LaLonde's sample, as the OLS coefficient on the treatment indicator, classical errors.

    Chamadas pedidas
    • infer.ols
      {
        "controls": [],
        "dataset": "nsw",
        "fe": [],
        "se": "classical",
        "x": [
          "treat"
        ],
        "y": "re78"
      }
  3. 2Ferramenta
    infer.ols— Regressão linear por mínimos quadrados ordinários (MQO)v0.1.0call_f8b2330fdecidido pelo modeloreexecutável

    Motivo: Table 2, Panel A, column (1), NSW row: the experimental difference in 1978 earnings between treated and control men in LaLonde's sample, as the OLS coefficient on the treatment indicator, classical errors.

    Argumentos
    {
      "cluster": null,
      "controls": [],
      "dataset": "nsw",
      "fe": [],
      "intercept": true,
      "level": 0.95,
      "se": "classical",
      "subset": null,
      "weights": null,
      "x": [
        "treat"
      ],
      "y": "re78"
    }
    Figuras call_f8b2330f
    ChaveValorValor brutoErro-padrãoIC
    coef.treat
    Coefficient on treat in the regression of re78
    886,304886.3037224514032472,086472.08625759451655-40,5264 – 1.813,13
    Diagnósticos
    • n_obs = 722722 (observations used)
    • k = 22 (parameters estimated, fixed-effect dummies included)
    • r2 = 0,004871570.0048715713405096395
    • df_resid = 720720
    • se_type = "classical" (classical (homoskedastic) standard errors)
    • n_clusters = — (errors not clustered)
    Derivação matemática e pressupostos
    coef.treat
    1. Coeficiente de treat na regressão por mínimos quadrados ordinários de re78.→ 886,304 (886.3037224514032)
    2. Erro-padrão clássico (homocedástico): a raiz da variância estimada do coeficiente.ep = √V_jj→ 472,086 (472.08625759451655)
    3. Intervalo de 95% de confiança: a estimativa mais ou menos o valor crítico da distribuição t de Student com 720 graus de liberdade vezes o erro-padrão.IC = β ± c · ep
    Pressupostos do estimador
    • the conditional mean of the outcome is linear in the regressors
    • errors are independent and have the same variance for every observation
    Tabelas (1)
    {
      "coefficients": [
        {
          "ci_high": 5684.49065362766,
          "ci_low": 4495.6059487785615,
          "coef": 5090.048301203111,
          "p": 9.535035405850664e-54,
          "se": 302.78264897358383,
          "t": 16.810898241554092,
          "term": "Intercept"
        },
        {
          "ci_high": 1813.1337982932637,
          "ci_low": -40.526353390457075,
          "coef": 886.3037224514032,
          "p": 0.06086475006234336,
          "se": 472.08625759451655,
          "t": 1.877419027123356,
          "term": "treat"
        }
      ]
    }
    Hashes SHA-256 e metadados de reprodução
    Digests dos dados
    nsw ba7f9a94cfaca73d179b6160b5517fb121115bdebfed891d90817b561831824d
    sha256 do resultado
    e288eb3cfa49022325658311fbb8438619d339c2fcd4c34722d9ff1392f59fdd
  4. 3Turno do modelo
    call_5a9665cereferenceFim: tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cache
    Chamadas pedidas
    • submit_answer (meta-ferramenta)
      {
        "answer": "Estimativa (infer.ols): coef.treat = 886,3.",
        "caveats": [],
        "figure_refs": [
          "call_f8b2330f:coef.treat"
        ]
      }
  5. 4Guarda
    resposta aceita
    Números encontrados
    886,3
    Sem lastro
    —
    Não citados
    —
    1 nova(s) tentativa(s) restante(s)
  6. 5Resposta

    Estimativa (infer.ols): coef.treat = 886,3.

    Figuras citadas: call_f8b2330f:coef.treat · Parada: answered
    Figura da resposta: call_f8b2330f:coef.treat = 886,304886.3037224514032 (se 472,086472.08625759451655)
  7. 6Pontuação
    #0resposta com lastropassouobrigatóriaevery number backed
  8. 7Pontuação
    #1figura da resposta escolhidapassouobrigatóriaanswer figure call_f8b2330f:coef.treat (infer.ols)
  9. 8Pontuação
    #2uma entrepassouobrigatóriatool_called(infer.ols): ok | tool_called(infer.ate): answer call is infer.ols | tool_called(infer.neyman): answer call is infer.ols
  10. 9Pontuação
    #3argumento igualpassouobrigatóriainfer.ols.y = 're78'
  11. 10Pontuação
    #4argumento igualpassouobrigatóriainfer.ols.x[0] = 'treat'
  12. 11Pontuação
    #5argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.ate
  13. 12Pontuação
    #6argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.ate
  14. 13Pontuação
    #7argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.neyman
  15. 14Pontuação
    #8argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.neyman
  16. 15Pontuação
    #9argumento igualpassouregistradainfer.ols.y = 're78'
  17. 16Pontuação
    #10argumento igualpassouregistradainfer.ols.x = ['treat']
  18. 17Pontuação
    #11argumento igualpassouregistradainfer.ols.controls = []
  19. 18Pontuação
    #12diagnósticopassouregistrada722 vs 722
  20. 19Pontuação
    #13figura da resposta próximapassouregistrada886.3037225 vs 886.3037224514105
  21. 20Pontuação
    #14figura da resposta próximapassouregistrada472.0862576 vs 472.0862575945186
  22. 21Pontuação
    #15figura da resposta próximapassouregistrada886.3037225 vs 886.0
  23. 22Pontuação
    #16figura da resposta próximapassouregistrada472.0862576 vs 472.0

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#012345678910111213141516
Época 1passoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
84,5 KB · sha256 97565a454c807f85dafcdb9e7be380a6476a3083c7b4a4f418f1c38358a3709a

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
attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json2,4 KB433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420
attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json64,0 KB52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b
attachments/5863ffb169626584d8843a2b6373b36786d81e9d2a79b14f386017d5bf3d471d.json959 B5863ffb169626584d8843a2b6373b36786d81e9d2a79b14f386017d5bf3d471d
attachments/5b05f0363aafee14cd6dcae4f053f1491bd40238f49ba266c8b5618a6fdb1291.json990 B5b05f0363aafee14cd6dcae4f053f1491bd40238f49ba266c8b5618a6fdb1291
attachments/5bac756e3197a52957b6112e63bba119f376dad514c548eb6ce3fbdceeae6df3.json853 B5bac756e3197a52957b6112e63bba119f376dad514c548eb6ce3fbdceeae6df3
attachments/85dc1487e20e4e5cf9f684a5cae81c139fd22620d10b3d05cadb6759b9bd2d9d.json377 B85dc1487e20e4e5cf9f684a5cae81c139fd22620d10b3d05cadb6759b9bd2d9d
attachments/dabba5dda5a440746a31ad86a4171353e7b5148cab9cac50281eb5256331f528.json243 Bdabba5dda5a440746a31ad86a4171353e7b5148cab9cac50281eb5256331f528
sources/dehejia_wahba_1999.tab2_pa_c1.paper.json1,8 KB4109ec091aa7201ded7ed8615179e6a0f678cd78aabc98300d08c07981cc89cc
sources/dehejia_wahba_1999.tab2_pa_c1.software.json1,2 KB604ddb1aa7ad40bd0bfa5d281c62c3e4521b8986c1031da8c98f322205f246f5
specs/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.json12,0 KB59187faee933f1fdb468cc7bb5d7ecfb9235f2c5abb437c3c5331e0c761c0534
traces/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.e1.a1.jsonl12,3 KB1ea04e93b7f0d5fc0d9d109651f8d381cdc7fba26db205089251c5e3049afcd2
trajectories/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.e1.a1.jsonl18,1 KB39e3b69fdb2c122f63dfca2fed083feabfd2dfc1bca27d6a0aea5d08aaab2a8c