Tarefa paper_repro.card_krueger_1994.tab3_r3_ciii.agent
paper_reproagentT2publicépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): did (two-group two-period difference-in-differences)
Pergunta feita ao analista
Card and Krueger (1994), 'Minimum Wages and Employment: A Case Study of the Fast-Food Industry in New Jersey and Pennsylvania', Table 3, row 3, column (iii): New Jersey raised its minimum wage from $4.25 to $5.05 per hour on April 1, 1992, while Pennsylvania's did not change. Using all available observations in each survey wave (February-March 1992, before the rise, and November-December 1992, after it), estimate the difference in differences of mean full-time-equivalent employment per restaurant: the change in the New Jersey mean minus the change in the Pennsylvania mean, where full-time-equivalent employment counts full-time employees and managers in full and each part-time worker as half a full-time worker. Report the difference in differences.
Estimativa (infer.did_2x2): did = 2,754.
Valores esperados e de onde vêm
card_krueger_1994.tab3_r3_ciii.software
- Fonte
- statsmodels 0.15.0: the reference specification of card_krueger_1994 tab3_r3_ciii (infer.did_2x2, figure 'did') on an independent code path
- Tipo
- software
- Localização
- card_krueger_1994: Table 3, row 3 'Change in mean FTE employment' (all available observations), column (iii) 'Difference, NJ-PA'
- Valor
- 2,75361
2.7536057829805793(se 1,306611.3066070124191145) - Conferido por
- execução de software · sm.OLS(fte, [const, nj, wave2, nj·wave2]).fit(cov_type='cluster', groups=store) on the stacked rows on njmin_long (public.dat of the file pinned at sha256 41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587, after its 10 declared transforms); n_obs = 794. The tool infer.did_2x2 (magi_infer, numpy) does not call statsmodels. Note: not a balanced two-wave panel by the cluster column: stacked rows. Written by scripts/paper_repro_reference.py.
- Implementação
- independente da ferramenta
- Endereço
https://pypi.org/project/statsmodels/0.15.0/
- #7 figura da resposta próxima: 2,75361
2.7536057829805793· relativa 0.000001 · absoluta 0.0000013066070124191144 - #8 figura da resposta próxima: 1,30661
1.3066070124191145· relativa 0.000001 · absoluta 0.0000013066070124191144
card_krueger_1994.tab3_r3_ciii.paper
- Fonte
- Card, D. and Krueger, A. B. (1994). Minimum Wages and Employment: A Case Study of the Fast-Food Industry in New Jersey and Pennsylvania. American Economic Review 84(4): 772-793.
- Tipo
- paper
- Localização
- Table 3 (average employment per store before and after the rise in the New Jersey minimum wage), row 3 'Change in mean FTE employment', column (iii) 'Difference, NJ-PA'
- Página
- 780
- Trecho
3. Change in mean FTE employment 2.76 (1.36)
- Valor como publicado
2.76- Erro-padrão como publicado
1.36- Valor
- 2,76
2.76(se 1,361.36) full-time-equivalent employees per restaurant - Conferido por
- fonte primária · Read on 2026-10-15 from the copy on David Card's page (26-page JSTOR scan, the table is an image): Table 3 is on PDF page 9 (printed page 780), read from the page rendered at 220 dpi. The notes say 'Standard errors are shown in parentheses' and that employment at six closed stores is set to zero and at four temporarily closed stores treated as missing (the public file has zero employment for the status2 = 3 stores and missing employment for the four temporarily closed ones). FTE counts each part-time worker as half a full-time worker (check.sas: EMPTOT = EMPPT*.5 + EMPFT + NMGRS). Row 3 is row 2 minus row 1 over all available observations: PA -2.16 (1.25), NJ 0.59 (0.54), difference 2.76 (1.36). Data facts checked before any estimate: 77 Pennsylvania and 321 New Jersey restaurants with FTE employment in wave 1, 77 and 319 in wave 2 (794 restaurant-waves).
- sha256 da cópia lida
6f9b9f1b6da9834c2a68bf86fc6078c83acdd7507db0d37b8b4814dfd2b3462e(identifica a cópia lida, não um arquivo canônico)- Desvio conhecido
- versão dos dadosRecorded before the software-reference run and before any dry run of this track, from the phase-B research probe (research-papers.md section 3.7, 2026-10-14): the four group means of the public file match rows 1 and 2 to two decimals and give 2.754, while the paper prints 2.76 (its own rounded row-3 entries give 0.59 - (-2.16) = 2.75, and its rounded rows 1 and 2 give 2.75 too, so no rounding of the paper's inputs produces 2.76: the printed value comes from data that differ from the public file, or a typo; relabelled data_version, it was paper_rounding, at the B-join review). The printed SE uses a convention the paper does not state.
- Endereço
https://davidcard.berkeley.edu/papers/njmin-aer.pdf- Licença
- Copyright American Economic Association; cited, not reproduced.
- #9 figura da resposta próxima: 2,76
2.76· published_cell d=2 · absoluta 0.00500000276 - #10 figura da resposta próxima: 1,36
1.36· published_cell d=2 (the SE as printed) · absoluta 0.00500000136
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_ffa7e5d1:did (infer.did_2x2) | obrigatória | passou | — | "call_ffa7e5d1:did" | — | — | call_ffa7e5d1 |
| 2 | ferramenta chamada answer call is infer.did_2x2 | obrigatória | passou | — | "infer.did_2x2" | — | — | call_ffa7e5d1 |
| 3 | argumento igual infer.did_2x2.y = 'fte' | obrigatória | passou | "fte" | "fte" | — | — | call_ffa7e5d1 |
| 4 | argumento igual infer.did_2x2.treated = 'nj' | obrigatória | passou | "nj" | "nj" | — | — | call_ffa7e5d1 |
| 5 | argumento igual infer.did_2x2.post = 'wave2' | obrigatória | passou | "wave2" | "wave2" | — | — | call_ffa7e5d1 |
| 6 | diagnóstico 794 vs 794 | obrigatória | passou | 794794 | 794794 | default rel 1e-6 (abs floor 1e-6) | — | call_ffa7e5d1 |
| 7 | figura da resposta próxima 2.753605783 vs 2.7536057829805793 | obrigatória | passou | 2,753612.7536057829805793 | 2,753612.7536057829805816 | relativa 0.000001 · absoluta 0.0000013066070124191144 | card_krueger_1994.tab3_r3_ciii.software | call_ffa7e5d1 |
| 8 | figura da resposta próxima 1.306607012 vs 1.3066070124191145 | registrada | passou | 1,306611.3066070124191145 | 1,306611.3066070124191203 | relativa 0.000001 · absoluta 0.0000013066070124191144 | card_krueger_1994.tab3_r3_ciii.software | call_ffa7e5d1 |
| 9 | figura da resposta próxima 2.753605783 vs 2.76 | registrada | falhou | 2,762.76 | 2,753612.7536057829805816 | published_cell d=2 · absoluta 0.00500000276 | card_krueger_1994.tab3_r3_ciii.paper | call_ffa7e5d1 |
| 10 | figura da resposta próxima 1.306607012 vs 1.36 | registrada | falhou | 1,361.36 | 1,306611.3066070124191203 | published_cell d=2 (the SE as printed) · absoluta 0.00500000136 | card_krueger_1994.tab3_r3_ciii.paper | call_ffa7e5d1 |
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.card_krueger_1994.tab3_r3_ciii.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| cluster | "store" | "store" | igual |
| controls | [] | [] | igual |
| dataset | "njmin_long" | "njmin_long" | igual |
| level | — | 0,950.95 | não fixado pela referência |
| post | "wave2" | "wave2" | igual |
| treated | "nj" | "nj" | igual |
| y | "fte" | "fte" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
Card and Krueger (1994), 'Minimum Wages and Employment: A Case Study of the Fast-Food Industry in New Jersey and Pennsylvania', Table 3, row 3, column (iii): New Jersey raised its minimum wage from $4.25 to $5.05 per hour on April 1, 1992, while Pennsylvania's did not change. Using all available observations in each survey wave (February-March 1992, before the rise, and November-December 1992, after it), estimate the difference in differences of mean full-time-equivalent employment per restaurant: the change in the New Jersey mean minus the change in the Pennsylvania mean, where full-time-equivalent employment counts full-time employees and managers in full and each part-time worker as half a full-time worker. Report the difference in differences.
njmin_long(agent)The survey of fast-food restaurants (Burger King, KFC, Roy Rogers, Wendy's) in New Jersey and eastern Pennsylvania used by Card and Krueger (1994), 'Minimum Wages and Employment': New Jersey's minimum wage rose from $4.25 to $5.05 per hour on April 1, 1992; Pennsylvania's did not change. Each restaurant was interviewed in February-March 1992 (wave 1, before the rise) and again in November-December 1992 (wave 2, after it). One row per restaurant and wave (410 restaurants, two rows each); the employment of a wave is missing when the restaurant gave no employment data in that wave. Columns: store, a unique restaurant id (the sheet number, plus 1000 for New Jersey restaurants, because one sheet number is used by one restaurant in each state); sheet, the survey's sheet number; wave, 1 or 2; wave2, 1 for the second wave (after the rise) and 0 for the first; nj, 1 for a restaurant in New Jersey and 0 for one in Pennsylvania; fte, full-time-equivalent employment in that wave (full-time employees plus managers and assistant managers plus half the part-time employees, the authors' definition; restaurants closed for good in wave 2 report zero employees); chain, 1 Burger King, 2 KFC, 3 Roy Rogers, 4 Wendy's; co_owned, 1 if company-owned; southj, centralj, northj, 1 for southern, central and northern New Jersey; pa1, pa2, 1 for the northeast suburbs of Philadelphia and for Easton and nearby areas; shore, 1 on the New Jersey shore; wage_st, starting wage in wave 1 ($ per hour); status2, status of the second interview (0 refused, 1 answered, 2 closed for renovations, 3 closed permanently, 4 closed for highway construction, 5 closed by a mall fire).
file41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587· frame —derive{"args":{"column":"emppt","factor":0.5},"name":"pt_half1","op":"scale"}derive{"args":{"columns":["empft","nmgrs","pt_half1"]},"name":"fte1","op":"sum"}derive{"args":{"column":"emppt2","factor":0.5},"name":"pt_half2","op":"scale"}derive{"args":{"columns":["empft2","nmgrs2","pt_half2"]},"name":"fte2","op":"sum"}derive{"args":{"column":"state","factor":1000},"name":"state_k","op":"scale"}derive{"args":{"columns":["sheet","state_k"]},"name":"store","op":"sum"}rename{"map":{"state":"nj"}}select{"columns":["store","sheet","chain","co_owned","nj","southj","centralj","northj","pa1","pa2","shore","wage_st","status2","fte1","fte2"]}reshape_long{"id":["store"],"j":"wave","stubs":["fte"]}derive{"args":{"cmp":"eq","column":"wave","value":2},"name":"wave2","op":"indicator"}
- 1Transformação
njmin_long·derive{"args":{"column":"emppt","factor":0.5},"name":"pt_half1","op":"scale"}410 → 410 linhasFrame antes → depois:23992890fd66→8509ad26d6da - 2Transformação
njmin_long·derive{"args":{"columns":["empft","nmgrs","pt_half1"]},"name":"fte1","op":"sum"}410 → 410 linhasFrame antes → depois:8509ad26d6da→a007c15bc5d2 - 3Transformação
njmin_long·derive{"args":{"column":"emppt2","factor":0.5},"name":"pt_half2","op":"scale"}410 → 410 linhasFrame antes → depois:a007c15bc5d2→d9ae72d01975 - 4Transformação
njmin_long·derive{"args":{"columns":["empft2","nmgrs2","pt_half2"]},"name":"fte2","op":"sum"}410 → 410 linhasFrame antes → depois:d9ae72d01975→6328c90ff4e6 - 5Transformação
njmin_long·derive{"args":{"column":"state","factor":1000},"name":"state_k","op":"scale"}410 → 410 linhasFrame antes → depois:6328c90ff4e6→d497fb988f6b - 6Transformação
njmin_long·derive{"args":{"columns":["sheet","state_k"]},"name":"store","op":"sum"}410 → 410 linhasFrame antes → depois:d497fb988f6b→b4da454f129f - 7Transformação
njmin_long·rename{"map":{"state":"nj"}}410 → 410 linhasFrame antes → depois:b4da454f129f→1398628b36ae - 8Transformação
njmin_long·select{"columns":["store","sheet","chain","co_owned","nj","southj","centralj","northj","pa1","pa2","shore","wage_st","status2","fte1","fte2"]}410 → 410 linhasFrame antes → depois:1398628b36ae→5da0564e9bdb - 9Transformação
njmin_long·reshape_long{"id":["store"],"j":"wave","stubs":["fte"]}410 → 820 linhasFrame antes → depois:5da0564e9bdb→e431f1f5da32 - 10Transformação
njmin_long·derive{"args":{"cmp":"eq","column":"wave","value":2},"name":"wave2","op":"indicator"}820 → 820 linhasFrame antes → depois:e431f1f5da32→1400ae8f1887 - 11Turno do modelo
call_0ff5a97dreferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelTable 3, row 3, column (iii): the New Jersey minus Pennsylvania change in mean FTE employment over all available observations of each wave (the difference of the four group means; check.sas: EMPTOT = EMPPT*.5 + EMPFT + NMGRS), errors clustered by restaurant.
Chamadas pedidasinfer.did_2x2{ "cluster": "store", "controls": [], "dataset": "njmin_long", "post": "wave2", "treated": "nj", "y": "fte" }
- 12Ferramenta
infer.did_2x2v0.1.0call_ffa7e5d1decidido pelo modeloreexecutávelMotivo: Table 3, row 3, column (iii): the New Jersey minus Pennsylvania change in mean FTE employment over all available observations of each wave (the difference of the four group means; check.sas: EMPTOT = EMPPT*.5 + EMPFT + NMGRS), errors clustered by restaurant.
Argumentos
{ "cluster": "store", "controls": [], "dataset": "njmin_long", "level": 0.95, "post": "wave2", "treated": "nj", "y": "fte" }Figuras call_ffa7e5d1 Chave Valor Valor bruto Erro-padrão IC did Difference-in-differences effect on fte2,75361 2.75360578298058161,30661 1.30660701241912030,185102 – 5,32211 Diagnósticosdesign="stacked"n_obs= 794794se_type="cluster"parallel_trends="untestable"n_clusters= 410410
Tabelas (1)
{ "means": [ { "group": "treated", "mean": 20.439408099688475, "n": 321, "period": "before" }, { "group": "treated", "mean": 21.02742946708464, "n": 319, "period": "after" }, { "group": "comparison", "mean": 23.33116883116883, "n": 77, "period": "before" }, { "group": "comparison", "mean": 21.165584415584416, "n": 77, "period": "after" } ] }- 26 rows were dropped because one of 'fte', 'nj', 'wave2', 'store' was missing
- with two periods parallel trends cannot be tested
- Digests dos dados
njmin_long1400ae8f1887d40b00dd9de85c9853d6ae2c0ce54e44bee458c94220f44a4803- sha256 do resultado
d3233bae4042236e443ab73bd96d9c6c77decc9bc53febb9b26dd73e8e5a6e61
- 13Turno do modelo
call_8dc807e5referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheChamadas pedidassubmit_answer(meta-ferramenta){ "answer": "Estimativa (infer.did_2x2): did = 2,754.", "caveats": [], "figure_refs": [ "call_ffa7e5d1:did" ] }
- 14Guardaresposta aceita
- Números encontrados
- 2,754
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 15Resposta
Estimativa (infer.did_2x2): did = 2,754.
Figuras citadas:call_ffa7e5d1:did· Parada:answeredFigura da resposta:call_ffa7e5d1:did= 2,753612.7536057829805816(se 1,306611.3066070124191203) - 16Pontuação#0resposta com lastropassouobrigatória
every number backed - 17Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_ffa7e5d1:did (infer.did_2x2) - 18Pontuação#2ferramenta chamadapassouobrigatória
answer call is infer.did_2x2 - 19Pontuação#3argumento igualpassouobrigatória
infer.did_2x2.y = 'fte' - 20Pontuação#4argumento igualpassouobrigatória
infer.did_2x2.treated = 'nj' - 21Pontuação#5argumento igualpassouobrigatória
infer.did_2x2.post = 'wave2' - 22Pontuação#6diagnósticopassouobrigatória
794 vs 794 - 23Pontuação#7figura da resposta próximapassouobrigatória
2.753605783 vs 2.7536057829805793 - 24Pontuação#8figura da resposta próximapassouregistrada
1.306607012 vs 1.3066070124191145 - 25Pontuação#9figura da resposta próximafalhouregistrada
2.753605783 vs 2.76 - 26Pontuação#10figura da resposta próximafalhouregistrada
1.306607012 vs 1.36
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | falhou | 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
24adb9ce76a2533eaff3e87e64117f208bf742711fe27f709668f603b473fa5cO 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/1e8646c052e39abb07b35fe44857e3f91f81da2ca8f3dca306d0b987d6e0b5af.json | 2,2 KB | 1e8646c052e39abb07b35fe44857e3f91f81da2ca8f3dca306d0b987d6e0b5af |
| attachments/219d870bd529aa01731ae9504322384cd1d38232e3bfa5ca5a6dafeaa4156b7e.json | 782 B | 219d870bd529aa01731ae9504322384cd1d38232e3bfa5ca5a6dafeaa4156b7e |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/9291465bd5b708e45e606fa46b1cbcb4c7a5a30b0a2db641fbc9ed5bf174180e.json | 1,1 KB | 9291465bd5b708e45e606fa46b1cbcb4c7a5a30b0a2db641fbc9ed5bf174180e |
| attachments/9fe89a24dae5db99f819ff5fbafde4beaf054b4b113b62a9d713fd342715d23f.json | 449 B | 9fe89a24dae5db99f819ff5fbafde4beaf054b4b113b62a9d713fd342715d23f |
| attachments/c7d71b6bfd340db4d32e394b651ab47a0a361a81021c69664a68d688756df942.json | 1,0 KB | c7d71b6bfd340db4d32e394b651ab47a0a361a81021c69664a68d688756df942 |
| native/paper_repro/paper_repro.card_krueger_1994.tab3_r3_ciii.agent.e1.a1.json | 36 B | 39a1ffcef98d10bf196fee2aa93ee0343ff9c7c2b32629831f61ccb9c4e8fdd7 |
| sources/card_krueger_1994.tab3_r3_ciii.paper.json | 2,6 KB | 5465c4ded535a7572106615312d8b749f1ac0f763127ae0436803aab343c5315 |
| sources/card_krueger_1994.tab3_r3_ciii.software.json | 1,3 KB | 0e1216021d73a2c0180f17697842c4103c8543de84a225869d000e1fbffc04e5 |
| specs/paper_repro.card_krueger_1994.tab3_r3_ciii.agent.json | 11,6 KB | 0152688dcf8301904c610c7625d903fadcc5dfdfb68fbd7439c1e98eb628f963 |
| traces/paper_repro.card_krueger_1994.tab3_r3_ciii.agent.e1.a1.jsonl | 23,9 KB | ba2757884a252f65bc9a6ed17e46fada3c4ab7f7cd820054c52f9b8280ac74ee |
| trajectories/paper_repro.card_krueger_1994.tab3_r3_ciii.agent.e1.a1.jsonl | 23,2 KB | e5e009c5a47f5a6f1311b0306df233935b5205decca69d2e9633c56c1ffd964d |