Pular para o conteúdo

Tarefa paper_repro.card_krueger_1994.tab3_r4_ciii.agent

paper_reproagentT2publicépoca 1, tentativa 1Execução: 20261015T165911Z-suite-paper_repro-baseline-8b4f85

Veredito

falhouDecidida pela verificação 2: ferramenta chamada, ferramenta errada.
answer call is infer.ols

Família do método (das chamadas de ferramentas): ols (regression)

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 4, 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. In the balanced sample of restaurants (those with valid employment data in both survey waves, February-March 1992 before the rise and November-December 1992 after it), estimate the difference between New Jersey and Pennsylvania in the mean change in full-time-equivalent employment per restaurant, 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.

Resposta

Estimativa (infer.ols): coef.nj = 839,9 (IC 95%: 809,6 a 870,2).

Valores esperados e de onde vêm

card_krueger_1994.tab3_r4_ciii.software

Fonte
statsmodels 0.15.0: the reference specification of card_krueger_1994 tab3_r4_ciii (infer.did_2x2, figure 'did') on an independent code path
Tipo
software
Localização
card_krueger_1994: Table 3, row 4 'Change in mean FTE employment, balanced sample of stores', column (iii) 'Difference, NJ-PA'
Valor
2,752.7499999999999933 (se 1,337731.3377253110290719)
Conferido por
execução de software · sm.OLS(after.fte - before.fte by store, add_constant(nj)).fit(cov_type='HC1') on njmin_balanced (public.dat of the file pinned at sha256 41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587, after its 11 declared transforms); n_obs = 768, n_units = 384. The tool infer.did_2x2 (magi_infer, numpy) does not call statsmodels. Note: balanced two-wave panel: estimated in first differences. 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,752.7499999999999933 · relativa 0.000001 · absoluta 0.0000013377253110290718
  • #8 figura da resposta próxima: 1,337731.3377253110290719 · relativa 0.000001 · absoluta 0.0000013377253110290718

card_krueger_1994.tab3_r4_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 4 'Change in mean FTE employment, balanced sample of stores', column (iii) 'Difference, NJ-PA'
Página
780
Trecho
4. Change in mean FTE employment, balanced sample of stores 2.75 (1.34)
Valor como publicado
2.75
Erro-padrão como publicado
1.34
Valor
2,752.75 (se 1,341.34) 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 4 (note c: 'Subset of stores with available employment data in wave 1 and wave 2'): PA -2.28 (1.25), NJ 0.47 (0.48), difference 2.75 (1.34). Data facts checked before any estimate: 75 Pennsylvania and 309 New Jersey restaurants have FTE employment in both waves (384 restaurants, 768 restaurant-waves).
sha256 da cópia lida
6f9b9f1b6da9834c2a68bf86fc6078c83acdd7507db0d37b8b4814dfd2b3462e (identifica a cópia lida, não um arquivo canônico)
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,752.75 · published_cell d=2 · absoluta 0.00500000275
  • #10 figura da resposta próxima: 1,341.34 · published_cell d=2 (the SE as printed) · absoluta 0.00500000134

Verificações

Cada verificação, o que esperava, o que observou e a chamada que leu
#VerificaçãoObrigatóriaResultadoEsperadoObservadoTolerânciaFonteChamada
0resposta com lastro
every number backed
obrigatóriapassou—[]———
1figura da resposta escolhida
answer figure call_1009f5a9:coef.nj (infer.ols)
obrigatóriapassou—"call_1009f5a9:coef.nj"——call_1009f5a9
2ferramenta chamada
answer call is infer.ols
obrigatóriafalhou—"infer.ols"——call_1009f5a9
3argumento igual
answer call is infer.ols, not infer.did_2x2
obrigatóriafalhou"fte"———call_1009f5a9
4argumento igual
answer call is infer.ols, not infer.did_2x2
obrigatóriafalhou"nj"———call_1009f5a9
5argumento igual
answer call is infer.ols, not infer.did_2x2
obrigatóriafalhou"wave2"———call_1009f5a9
6diagnóstico
answer call is infer.ols, not infer.did_2x2
obrigatóriafalhou768768—default rel 1e-6 (abs floor 1e-6)—call_1009f5a9
7figura da resposta próxima
839.9115858 vs 2.7499999999999933
obrigatóriafalhou2,752.7499999999999933839,912839.9115857605178relativa 0.000001 · absoluta 0.0000013377253110290718card_krueger_1994.tab3_r4_ciii.softwarecall_1009f5a9
8figura da resposta próxima
15.44476645 vs 1.3377253110290719
registradafalhou1,337731.337725311029071915,444815.444766453580094relativa 0.000001 · absoluta 0.0000013377253110290718card_krueger_1994.tab3_r4_ciii.softwarecall_1009f5a9
9figura da resposta próxima
839.9115858 vs 2.75
registradafalhou2,752.75839,912839.9115857605178published_cell d=2 · absoluta 0.00500000275card_krueger_1994.tab3_r4_ciii.papercall_1009f5a9
10figura da resposta próxima
15.44476645 vs 1.34
registradafalhou1,341.3415,444815.444766453580094published_cell d=2 (the SE as printed) · absoluta 0.00500000134card_krueger_1994.tab3_r4_ciii.papercall_1009f5a9

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

Referência: infer.did_2x2Chamada do agente: infer.ols (call_1009f5a9)diferente
Argumentos da referência e do agente
ArgumentoReferênciaAgente
cluster"store"—diferente
controls[][]igual
dataset"njmin_balanced""njmin_balanced"igual
fe—[]não fixado pela referência
intercept—truenão fixado pela referência
level—0,950.95não fixado pela referência
post"wave2"—ausente
se—"HC1"não fixado pela referência
subset——não fixado pela referência
treated"nj"—ausente
weights——não fixado pela referência
x—["nj"]não fixado pela referência
y"fte""store"diferente

Trajetória

Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.

  1. 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 4, 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. In the balanced sample of restaurants (those with valid employment data in both survey waves, February-March 1992 before the rise and November-December 1992 after it), estimate the difference between New Jersey and Pennsylvania in the mean change in full-time-equivalent employment per restaurant, 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_balanced (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', restricted to the balanced sample: the restaurants with valid employment data in both waves. 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 (two rows per restaurant). 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).

    file 41a29aec6b489658b20030d044a2b20a5f5a04b871cde41df057afd6013ba587 · frame —
    1. derive {"args":{"column":"emppt","factor":0.5},"name":"pt_half1","op":"scale"}
    2. derive {"args":{"columns":["empft","nmgrs","pt_half1"]},"name":"fte1","op":"sum"}
    3. derive {"args":{"column":"emppt2","factor":0.5},"name":"pt_half2","op":"scale"}
    4. derive {"args":{"columns":["empft2","nmgrs2","pt_half2"]},"name":"fte2","op":"sum"}
    5. filter {"query":"fte1 == fte1 and fte2 == fte2"}
    6. derive {"args":{"column":"state","factor":1000},"name":"state_k","op":"scale"}
    7. derive {"args":{"columns":["sheet","state_k"]},"name":"store","op":"sum"}
    8. rename {"map":{"state":"nj"}}
    9. select {"columns":["store","sheet","chain","co_owned","nj","southj","centralj","northj","pa1","pa2","shore","wage_st","status2","fte1","fte2"]}
    10. reshape_long {"id":["store"],"j":"wave","stubs":["fte"]}
    11. derive {"args":{"cmp":"eq","column":"wave","value":2},"name":"wave2","op":"indicator"}
  2. 1Transformação
    njmin_balanced · derive {"args":{"column":"emppt","factor":0.5},"name":"pt_half1","op":"scale"}
    410 → 410 linhas
    Frame antes → depois: 23992890fd66 → 8509ad26d6da
  3. 2Transformação
    njmin_balanced · derive {"args":{"columns":["empft","nmgrs","pt_half1"]},"name":"fte1","op":"sum"}
    410 → 410 linhas
    Frame antes → depois: 8509ad26d6da → a007c15bc5d2
  4. 3Transformação
    njmin_balanced · derive {"args":{"column":"emppt2","factor":0.5},"name":"pt_half2","op":"scale"}
    410 → 410 linhas
    Frame antes → depois: a007c15bc5d2 → d9ae72d01975
  5. 4Transformação
    njmin_balanced · derive {"args":{"columns":["empft2","nmgrs2","pt_half2"]},"name":"fte2","op":"sum"}
    410 → 410 linhas
    Frame antes → depois: d9ae72d01975 → 6328c90ff4e6
  6. 5Transformação
    njmin_balanced · filter {"query":"fte1 == fte1 and fte2 == fte2"}
    410 → 384 linhas
    Frame antes → depois: 6328c90ff4e6 → dba78d06a41b
  7. 6Transformação
    njmin_balanced · derive {"args":{"column":"state","factor":1000},"name":"state_k","op":"scale"}
    384 → 384 linhas
    Frame antes → depois: dba78d06a41b → bfadb20b20ab
  8. 7Transformação
    njmin_balanced · derive {"args":{"columns":["sheet","state_k"]},"name":"store","op":"sum"}
    384 → 384 linhas
    Frame antes → depois: bfadb20b20ab → afb6fd0b0cfe
  9. 8Transformação
    njmin_balanced · rename {"map":{"state":"nj"}}
    384 → 384 linhas
    Frame antes → depois: afb6fd0b0cfe → 9e72f29044bc
  10. 9Transformação
    njmin_balanced · select {"columns":["store","sheet","chain","co_owned","nj","southj","centralj","northj","pa1","pa2","shore","wage_st","status2","fte1","fte2"]}
    384 → 384 linhas
    Frame antes → depois: 9e72f29044bc → 16ae50f785d3
  11. 10Transformação
    njmin_balanced · reshape_long {"id":["store"],"j":"wave","stubs":["fte"]}
    384 → 768 linhas
    Frame antes → depois: 16ae50f785d3 → 124a167bac54
  12. 11Transformação
    njmin_balanced · derive {"args":{"cmp":"eq","column":"wave","value":2},"name":"wave2","op":"indicator"}
    768 → 768 linhas
    Frame antes → depois: 124a167bac54 → e28ffa5e707b
  13. 12Turno do modelo
    call_e218f0adrules-1Fim: tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cache
    Texto visível

    Comparação ajustada por MQO.

    Chamadas pedidas
    • infer.ols
      {
        "dataset": "njmin_balanced",
        "x": [
          "nj"
        ],
        "y": "store"
      }
  14. 13Ferramenta
    infer.olsv0.1.0call_1009f5a9decidido pelo modeloreexecutável

    Motivo: Comparação ajustada por MQO.

    Argumentos
    {
      "cluster": null,
      "controls": [],
      "dataset": "njmin_balanced",
      "fe": [],
      "intercept": true,
      "level": 0.95,
      "se": "HC1",
      "subset": null,
      "weights": null,
      "x": [
        "nj"
      ],
      "y": "store"
    }
    Figuras call_1009f5a9
    ChaveValorValor brutoErro-padrãoIC
    coef.nj
    Coefficient on nj in the regression of store
    839,912 839.911585760517815,444815.444766453580094809,592 – 870,231
    Diagnósticos
    • n_obs = 768768
    • k = 22
    • r2 = 0,8602820.8602817157507847
    • df_resid = 766766
    • se_type = "HC1"
    • n_clusters = —
    Tabelas (1)
    {
      "coefficients": [
        {
          "ci_high": 406.2572943992933,
          "ci_low": 348.70270560070674,
          "coef": 377.48,
          "p": 7.947156779939177e-106,
          "se": 14.659363420068376,
          "t": 25.750094951820174,
          "term": "Intercept"
        },
        {
          "ci_high": 870.2306779630175,
          "ci_low": 809.5924935580182,
          "coef": 839.9115857605178,
          "p": 3.1694004837427253e-265,
          "se": 15.444766453580094,
          "t": 54.38163071516219,
          "term": "nj"
        }
      ]
    }
    Digests dos dados
    njmin_balanced e28ffa5e707b12a196314f1da511e9d7d8c3bc3fc37fe9363e3e54f493a1fc1e
    sha256 do resultado
    56e73cbac9317afd211fca91ea7113adaa23ad3ed7865d860400cde473165c87
  15. 14Turno do modelo
    call_fc096cbfrules-1Fim: 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.nj = 839,9 (IC 95%: 809,6 a 870,2).",
        "caveats": [],
        "figure_refs": [
          "call_1009f5a9:coef.nj"
        ]
      }
  16. 15Guarda
    resposta aceita
    Números encontrados
    839,9 · 95% · 809,6 · 870,2
    Sem lastro
    —
    Não citados
    —
    1 nova(s) tentativa(s) restante(s)
  17. 16Resposta

    Estimativa (infer.ols): coef.nj = 839,9 (IC 95%: 809,6 a 870,2).

    Figuras citadas: call_1009f5a9:coef.nj · Parada: answered
    Figura da resposta: call_1009f5a9:coef.nj = 839,912839.9115857605178 (se 15,444815.444766453580094)
  18. 17Pontuação
    #0resposta com lastropassouobrigatóriaevery number backed
  19. 18Pontuação
    #1figura da resposta escolhidapassouobrigatóriaanswer figure call_1009f5a9:coef.nj (infer.ols)
  20. 19Pontuação
    #2ferramenta chamadafalhouobrigatóriaanswer call is infer.ols
  21. 20Pontuação
    #3argumento igualfalhouobrigatóriaanswer call is infer.ols, not infer.did_2x2
  22. 21Pontuação
    #4argumento igualfalhouobrigatóriaanswer call is infer.ols, not infer.did_2x2
  23. 22Pontuação
    #5argumento igualfalhouobrigatóriaanswer call is infer.ols, not infer.did_2x2
  24. 23Pontuação
    #6diagnósticofalhouobrigatóriaanswer call is infer.ols, not infer.did_2x2
  25. 24Pontuação
    #7figura da resposta próximafalhouobrigatória839.9115858 vs 2.7499999999999933
  26. 25Pontuação
    #8figura da resposta próximafalhouregistrada15.44476645 vs 1.3377253110290719
  27. 26Pontuação
    #9figura da resposta próximafalhouregistrada839.9115858 vs 2.75
  28. 27Pontuação
    #10figura da resposta próximafalhouregistrada15.44476645 vs 1.34

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#012345678910
Época 1passoupassoufalhoufalhoufalhoufalhoufalhoufalhoufalhoufalhoufalhou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
79,8 KB · sha256 4898ec91d0f21c40239ae3099e3798a625285d5109a9ce5b290d6e76e50576c9

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/05db7b10fc95c312edfa9ee54a761e6d8e7c5d5d69b46b33fc0a83056dfb43e6.json777 B05db7b10fc95c312edfa9ee54a761e6d8e7c5d5d69b46b33fc0a83056dfb43e6
attachments/2ed59b27fc74bd7be62e284f0f5cf44f499d13871b082577435f3d8a25ef13cb.json182 B2ed59b27fc74bd7be62e284f0f5cf44f499d13871b082577435f3d8a25ef13cb
attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json2,4 KB433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420
attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json64,0 KB52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b
attachments/682b1b91b2e63d149c62913adb090b8b4207fbdc415c8244461737308df13124.json950 B682b1b91b2e63d149c62913adb090b8b4207fbdc415c8244461737308df13124
attachments/88effe5e3fd4e84aa75f5d00b939e068789d69b7b079713f0171fd7111dc7368.json842 B88effe5e3fd4e84aa75f5d00b939e068789d69b7b079713f0171fd7111dc7368
attachments/8b05d8aaa2377c783003b9d9c13cb62c134db390d69edae77893ddfec43f77cb.json2,2 KB8b05d8aaa2377c783003b9d9c13cb62c134db390d69edae77893ddfec43f77cb
native/paper_repro/paper_repro.card_krueger_1994.tab3_r4_ciii.agent.e1.a1.json36 B39a1ffcef98d10bf196fee2aa93ee0343ff9c7c2b32629831f61ccb9c4e8fdd7
sources/card_krueger_1994.tab3_r4_ciii.paper.json2,1 KBde3e09f62be0ac888a70475cb82d0d9760ac2ad375d954966bc19052723c056d
sources/card_krueger_1994.tab3_r4_ciii.software.json1,3 KBbe1556d6cd72c4a9dc09a22af979889075a79c7468f6d70ab0daaf0b42b03864
specs/paper_repro.card_krueger_1994.tab3_r4_ciii.agent.json10,8 KB16fd3a1cf8bd75d3ac2b29dbcf197c087f12a2e0dcf2ec63d11ea8ed2ffdffd5
traces/paper_repro.card_krueger_1994.tab3_r4_ciii.agent.e1.a1.jsonl23,7 KB4963e17c101abc879af9b32af0742b1be8c9ddd06f92ddf8cbb7a290f53bb75f
trajectories/paper_repro.card_krueger_1994.tab3_r4_ciii.agent.e1.a1.jsonl23,1 KB8e544513342ba0eab04c75dcd66efb00f4ff1fb08c34eb917445a338c8dc59e9