Tarefa paper_repro.dehejia_wahba_1999.tab2_pa_c1.design
paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
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)
coef.treat =886,304886.3037224514032coef.treat =886,304886.3037224514105Pergunta 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.
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.
- 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). - 2Chamada que gerou a resposta finalVer chamada call_f8b2330f nos detalhes
infer.ols(Regressão linear por mínimos quadrados ordinários (MQO))citada na respostacoincide com a referênciaTable 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,95
0.95 - se:
"classical"- x:
["treat"]- y:
"re78"
Resultado calculadocoef.treat= 886,304886.3037224514032Coefficient 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) - 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,3Figuras citadas:call_f8b2330f:coef.treat- #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
- #2uma entreacceptable tools: the reference tool and its alternatives
- #3argumento igual
yT3: the outcome the design question implies - #4argumento igual
x[0]T3: the treatment the design question implies - #5argumento igual
yT3: the outcome the design question implies - #6argumento igual
treatmentT3: the treatment the design question implies - #7argumento igual
yT3: the outcome the design question implies - #8argumento igual
treatmentT3: the treatment the design question implies - #9argumento igual
youtcome: earnings in 1978 (T3: recorded; a design question cannot state it) - #10argumento igual
xthe regressor: the treatment indicator (T3: recorded; a design question cannot state it) - #11argumento igual
controlscolumn (1) is unadjusted (T3: recorded; a design question cannot state it) - #12diagnóstico
n_obs(T3: recorded; a design question cannot state it) - #13figura da resposta próximasoftware reference (T3: recorded; T3 pontua o desenho; a estimativa é registrada)
- #14figura da resposta próximasoftware reference, SE: recorded (T3)
- #15figura da resposta próximapublished cell: recorded, never required on T2/T3
- #16figura 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
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,304
886.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,304
886.3037224514105· relativa 0.000001 · absoluta 0.00047208625759451856 - #14 figura da resposta próxima: 472,086
472.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
- 886
886(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: 886
886· published_cell d=0 · absoluta 0.500000886 - #16 figura da resposta próxima: 472
472· 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
| # | 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_f8b2330f:coef.treat (infer.ols) | obrigatória | passou | — | "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ória | passou | [{"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 igual yT3: the outcome the design question implies infer.ols.y = 're78' | obrigatória | passou | "re78" | "re78" | — | — | call_f8b2330f |
| 4 | argumento igual x[0]T3: the treatment the design question implies infer.ols.x[0] = 'treat' | obrigatória | passou | "treat" | "treat" | — | — | call_f8b2330f |
| 5 | argumento igual yT3: the outcome the design question implies not applicable: the answer call is infer.ols, not infer.ate | obrigatória | passou | "re78" | — | — | — | call_f8b2330f |
| 6 | argumento igual treatmentT3: the treatment the design question implies not applicable: the answer call is infer.ols, not infer.ate | obrigatória | passou | "treat" | — | — | — | call_f8b2330f |
| 7 | argumento igual yT3: the outcome the design question implies not applicable: the answer call is infer.ols, not infer.neyman | obrigatória | passou | "re78" | — | — | — | call_f8b2330f |
| 8 | argumento igual treatmentT3: the treatment the design question implies not applicable: the answer call is infer.ols, not infer.neyman | obrigatória | passou | "treat" | — | — | — | call_f8b2330f |
| 9 | argumento igual youtcome: earnings in 1978 (T3: recorded; a design question cannot state it) infer.ols.y = 're78' | registrada | passou | "re78" | "re78" | — | — | call_f8b2330f |
| 10 | argumento igual xthe regressor: the treatment indicator (T3: recorded; a design question cannot state it) infer.ols.x = ['treat'] | registrada | passou | ["treat"] | ["treat"] | — | — | call_f8b2330f |
| 11 | argumento igual controlscolumn (1) is unadjusted (T3: recorded; a design question cannot state it) infer.ols.controls = [] | registrada | passou | [] | [] | — | — | call_f8b2330f |
| 12 | diagnóstico n_obs(T3: recorded; a design question cannot state it) 722 vs 722 | registrada | passou | 722722 | 722722 | default 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 | registrada | passou | 886,304886.3037224514105 | 886,304886.3037224514032 | relativa 0.000001 · absoluta 0.00047208625759451856 | dehejia_wahba_1999.tab2_pa_c1.software | call_f8b2330f |
| 14 | figura da resposta próxima software reference, SE: recorded (T3) 472.0862576 vs 472.0862575945186 | registrada | passou | 472,086472.0862575945186 | 472,086472.08625759451655 | relativa 0.000001 · absoluta 0.00047208625759451856 | dehejia_wahba_1999.tab2_pa_c1.software | call_f8b2330f |
| 15 | figura da resposta próxima published cell: recorded, never required on T2/T3 886.3037225 vs 886.0 | registrada | passou | 886886 | 886,304886.3037224514032 | published_cell d=0 · absoluta 0.500000886 | dehejia_wahba_1999.tab2_pa_c1.paper | call_f8b2330f |
| 16 | figura da resposta próxima published cell, SE: recorded, never required on T2/T3 472.0862576 vs 472.0 | registrada | passou | 472472 | 472,086472.08625759451655 | published_cell d=0 (the SE as printed) · absoluta 0.500000472 | dehejia_wahba_1999.tab2_pa_c1.paper | call_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)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | — | — | não fixado pela referência |
| controls | [] | [] | igual |
| dataset | "nsw" | "nsw" | igual |
| fe | [] | [] | igual |
| intercept | — | true | não fixado pela referência |
| level | — | 0,950.95 | nã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.
- 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).
file3ee014cb0010e2e7fb990ac497f4217968733e2c9abfa4de84e83f524898c24e· frame — - 1Turno do modelo
call_07fba720referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelTable 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 pedidasinfer.ols{ "controls": [], "dataset": "nsw", "fe": [], "se": "classical", "x": [ "treat" ], "y": "re78" }
- 2Ferramenta
infer.ols— Regressão linear por mínimos quadrados ordinários (MQO)v0.1.0call_f8b2330fdecidido pelo modeloreexecutávelMotivo: 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 Chave Valor Valor bruto Erro-padrão IC coef.treat Coefficient on treat in the regression of re78886,304 886.3037224514032472,086 472.08625759451655-40,5264 – 1.813,13 Diagnósticosn_obs= 722722(observations used)k= 22(parameters estimated, fixed-effect dummies included)r2= 0,004871570.0048715713405096395df_resid= 720720se_type="classical"(classical (homoskedastic) standard errors)n_clusters= — (errors not clustered)
Derivação matemática e pressupostos
coef.treat- Coeficiente de treat na regressão por mínimos quadrados ordinários de re78.→ 886,304 (886.3037224514032)
- Erro-padrão clássico (homocedástico): a raiz da variância estimada do coeficiente.
ep = √V_jj→ 472,086 (472.08625759451655) - 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
nswba7f9a94cfaca73d179b6160b5517fb121115bdebfed891d90817b561831824d- sha256 do resultado
e288eb3cfa49022325658311fbb8438619d339c2fcd4c34722d9ff1392f59fdd
- 3Turno do modelo
call_5a9665cereferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheChamadas pedidassubmit_answer(meta-ferramenta){ "answer": "Estimativa (infer.ols): coef.treat = 886,3.", "caveats": [], "figure_refs": [ "call_f8b2330f:coef.treat" ] }
- 4Guardaresposta aceita
- Números encontrados
- 886,3
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 5Resposta
Estimativa (infer.ols): coef.treat = 886,3.
Figuras citadas:call_f8b2330f:coef.treat· Parada:answeredFigura da resposta:call_f8b2330f:coef.treat= 886,304886.3037224514032(se 472,086472.08625759451655) - 6Pontuação#0resposta com lastropassouobrigatória
every number backed - 7Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_f8b2330f:coef.treat (infer.ols) - 8Pontuação#2uma entrepassouobrigatória
tool_called(infer.ols): ok | tool_called(infer.ate): answer call is infer.ols | tool_called(infer.neyman): answer call is infer.ols - 9Pontuação#3argumento igualpassouobrigatória
infer.ols.y = 're78' - 10Pontuação#4argumento igualpassouobrigatória
infer.ols.x[0] = 'treat' - 11Pontuação#5argumento igualpassouobrigatória
not applicable: the answer call is infer.ols, not infer.ate - 12Pontuação#6argumento igualpassouobrigatória
not applicable: the answer call is infer.ols, not infer.ate - 13Pontuação#7argumento igualpassouobrigatória
not applicable: the answer call is infer.ols, not infer.neyman - 14Pontuação#8argumento igualpassouobrigatória
not applicable: the answer call is infer.ols, not infer.neyman - 15Pontuação#9argumento igualpassouregistrada
infer.ols.y = 're78' - 16Pontuação#10argumento igualpassouregistrada
infer.ols.x = ['treat'] - 17Pontuação#11argumento igualpassouregistrada
infer.ols.controls = [] - 18Pontuação#12diagnósticopassouregistrada
722 vs 722 - 19Pontuação#13figura da resposta próximapassouregistrada
886.3037225 vs 886.3037224514105 - 20Pontuação#14figura da resposta próximapassouregistrada
472.0862576 vs 472.0862575945186 - 21Pontuação#15figura da resposta próximapassouregistrada
886.3037225 vs 886.0 - 22Pontuação#16figura da resposta próximapassouregistrada
472.0862576 vs 472.0
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou |
Tentativas
Cada tentativa é seu próprio arquivo e é publicada; só a última de cada época é pontuada.
- época 1, tentativa 1passoupontuada(exibindo)
Downloads desta tarefa
97565a454c807f85dafcdb9e7be380a6476a3083c7b4a4f418f1c38358a3709aO 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/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/5863ffb169626584d8843a2b6373b36786d81e9d2a79b14f386017d5bf3d471d.json | 959 B | 5863ffb169626584d8843a2b6373b36786d81e9d2a79b14f386017d5bf3d471d |
| attachments/5b05f0363aafee14cd6dcae4f053f1491bd40238f49ba266c8b5618a6fdb1291.json | 990 B | 5b05f0363aafee14cd6dcae4f053f1491bd40238f49ba266c8b5618a6fdb1291 |
| attachments/5bac756e3197a52957b6112e63bba119f376dad514c548eb6ce3fbdceeae6df3.json | 853 B | 5bac756e3197a52957b6112e63bba119f376dad514c548eb6ce3fbdceeae6df3 |
| attachments/85dc1487e20e4e5cf9f684a5cae81c139fd22620d10b3d05cadb6759b9bd2d9d.json | 377 B | 85dc1487e20e4e5cf9f684a5cae81c139fd22620d10b3d05cadb6759b9bd2d9d |
| attachments/dabba5dda5a440746a31ad86a4171353e7b5148cab9cac50281eb5256331f528.json | 243 B | dabba5dda5a440746a31ad86a4171353e7b5148cab9cac50281eb5256331f528 |
| sources/dehejia_wahba_1999.tab2_pa_c1.paper.json | 1,8 KB | 4109ec091aa7201ded7ed8615179e6a0f678cd78aabc98300d08c07981cc89cc |
| sources/dehejia_wahba_1999.tab2_pa_c1.software.json | 1,2 KB | 604ddb1aa7ad40bd0bfa5d281c62c3e4521b8986c1031da8c98f322205f246f5 |
| specs/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.json | 12,0 KB | 59187faee933f1fdb468cc7bb5d7ecfb9235f2c5abb437c3c5331e0c761c0534 |
| traces/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.e1.a1.jsonl | 12,3 KB | 1ea04e93b7f0d5fc0d9d109651f8d381cdc7fba26db205089251c5e3049afcd2 |
| trajectories/paper_repro.dehejia_wahba_1999.tab2_pa_c1.design.e1.a1.jsonl | 18,1 KB | 39e3b69fdb2c122f63dfca2fed083feabfd2dfc1bca27d6a0aea5d08aaab2a8c |