Pular para o conteúdo

Tarefa paper_repro.kiel_mcclain_1995.ex13_3_rprice.agent

paper_reproagentT2publicé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): ols (regression)

Pergunta feita ao analista

Wooldridge, Introductory Econometrics, Example 13.3 (the effect of a garbage incinerator's location on housing prices, with the data of Kiel and McClain 1995 on house sales in North Andover, Massachusetts, in 1978, before any rumours of the incinerator, and in 1981, when its construction began): pooling the two years, estimate by ordinary least squares a regression of the real house price (in 1978 dollars) on a dummy for 1981, a dummy for houses near the incinerator site, and the interaction of the two dummies. Report the coefficient on the interaction, the difference-in-differences estimate of the incinerator's effect on the price of nearby houses.

Resposta

Estimativa (infer.ols): coef.y81nrinc = -11864.

Valores esperados e de onde vêm

kiel_mcclain_1995.ex13_3_rprice.software

Fonte
statsmodels 0.15.0: the reference specification of kiel_mcclain_1995 ex13_3_rprice (infer.ols, figure 'coef.y81nrinc') on an independent code path
Tipo
software
Localização
kiel_mcclain_1995: Wooldridge, Introductory Econometrics, Example 13.3, the pooled 1978-1981 regression of the real house price on y81, nearinc and y81·nearinc: the coefficient on the interaction
Valor
-11.863,9-11863.90325211261 (se 7.456,657456.646173258854)
Conferido por
execução de software · sm.OLS(rprice, add_constant(['y81nrinc', 'y81', 'nearinc'])).fit(cov_type='nonrobust') on kielmc (the file pinned at sha256 1ad63b59aff51c713725147032dd5803f3dbfc97163eabcde3b5f731ebbf03e0); n_obs = 321. 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/
  • #11 figura da resposta próxima: -11.863,9-11863.90325211261 · relativa 0.000001 · absoluta 0.007456646173258853
  • #12 figura da resposta próxima: 7.456,657456.646173258854 · relativa 0.000001 · absoluta 0.007456646173258853

kiel_mcclain_1995.ex13_3_rprice.paper

Fonte
Wooldridge, J. M. (2019). Introductory Econometrics: A Modern Approach, 7th ed., Example 13.3 (data of Kiel, K. A. and McClain, K. T. (1995), Journal of Environmental Economics and Management 28(2): 241-255), as reproduced in Heiss, F. (2020), Using R for Introductory Econometrics, 2nd ed., Script 13.2.
Tipo
textbook
Localização
Wooldridge, Introductory Econometrics, Example 13.3 (effect of a garbage incinerator's location on housing prices), the pooled regression of real house price on y81, nearinc and y81·nearinc: the interaction coefficient
Página
217
Trecho
nearinc:y81 -11863.9 7456.6
Valor como publicado
-11863.9
Erro-padrão como publicado
7456.6
Valor
-11.863,9-11863.9 (se 7.456,67456.6) 1978 dollars of house price
Conferido por
fonte secundária · Wooldridge's textbook is not public. Read on 2026-10-15 from the free web edition of Heiss (2020), Using R for Introductory Econometrics, 2nd ed. (urfie.net, PDF page 227, printed page 217), which reproduces Wooldridge (2019) Example 13.3 with R: 'Output of Script 13.2: Example-13-3-1.R', coeftest(lm(rprice ~ nearinc*y81, data = kielmc)), row nearinc:y81, estimate -11863.9 and std. error 7456.6 (classical OLS errors), on the wooldridge package's kielmc data; checked on the rendered page. The text of that page states the same estimate, 11,863.90 in absolute value, as the difference of the 1981 and 1978 near-incinerator price gaps. Data facts checked before any estimate: 321 sales (179 in 1978, 142 in 1981), no missing values in the columns used.
sha256 da cópia lida
ae5f9e8d248596530e2b148caf05bc6c398b51d7baa8fa383456c2f09c5f4ab9 (identifica a cópia lida, não um arquivo canônico)
Endereço
http://www.urfie.net/downloads/PDF/URfIE_web.pdf
Licença
Wooldridge's textbook and Heiss's book are copyrighted; cited, not reproduced.
  • #13 figura da resposta próxima: -11.863,9-11863.9 · published_cell d=1 · absoluta 0.0500118639
  • #14 figura da resposta próxima: 7.456,67456.6 · published_cell d=1 (the SE as printed) · absoluta 0.0500074566

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_ec3b81f2:coef.y81nrinc (infer.ols)
obrigatóriapassou—"call_ec3b81f2:coef.y81nrinc"——call_ec3b81f2
2uma entre
tool_called(infer.ols): ok | tool_called(infer.did_2x2): 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.did_2x2","value":null,"weight":1,"where":null}]"infer.ols"——call_ec3b81f2
3argumento igual
infer.ols.y = 'rprice'
obrigatóriapassou"rprice""rprice"——call_ec3b81f2
4argumento igual
infer.ols.x = ['y81nrinc']
obrigatóriapassou["y81nrinc"]["y81nrinc"]——call_ec3b81f2
5argumento igual
infer.ols.controls = ['y81', 'nearinc']
obrigatóriapassou["y81","nearinc"]["y81","nearinc"]——call_ec3b81f2
6argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"rprice"———call_ec3b81f2
7argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"nearinc"———call_ec3b81f2
8argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"y81"———call_ec3b81f2
9diagnóstico
321 vs 321
obrigatóriapassou321321321321default rel 1e-6 (abs floor 1e-6)—call_ec3b81f2
10diagnóstico
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou321321—default rel 1e-6 (abs floor 1e-6)—call_ec3b81f2
11figura da resposta próxima
-11863.90325 vs -11863.90325211261
obrigatóriapassou-11.863,9-11863.90325211261-11.863,9-11863.903252112583relativa 0.000001 · absoluta 0.007456646173258853kiel_mcclain_1995.ex13_3_rprice.softwarecall_ec3b81f2
12figura da resposta próxima
7456.646173 vs 7456.646173258854
registradapassou7.456,657456.6461732588547.456,657456.646173258857relativa 0.000001 · absoluta 0.007456646173258853kiel_mcclain_1995.ex13_3_rprice.softwarecall_ec3b81f2
13figura da resposta próxima
-11863.90325 vs -11863.9
registradapassou-11.863,9-11863.9-11.863,9-11863.903252112583published_cell d=1 · absoluta 0.0500118639kiel_mcclain_1995.ex13_3_rprice.papercall_ec3b81f2
14figura da resposta próxima
7456.646173 vs 7456.6
registradapassou7.456,67456.67.456,657456.646173258857published_cell d=1 (the SE as printed) · absoluta 0.0500074566kiel_mcclain_1995.ex13_3_rprice.papercall_ec3b81f2

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.kiel_mcclain_1995.ex13_3_rprice.tool)

Referência: infer.olsChamada do agente: infer.ols (call_ec3b81f2)igual
Argumentos da referência e do agente
ArgumentoReferênciaAgente
cluster——não fixado pela referência
controls["y81","nearinc"]["y81","nearinc"]igual
dataset"kielmc""kielmc"igual
fe—[]não fixado pela referência
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["y81nrinc"]["y81nrinc"]igual
y"rprice""rprice"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

    Wooldridge, Introductory Econometrics, Example 13.3 (the effect of a garbage incinerator's location on housing prices, with the data of Kiel and McClain 1995 on house sales in North Andover, Massachusetts, in 1978, before any rumours of the incinerator, and in 1981, when its construction began): pooling the two years, estimate by ordinary least squares a regression of the real house price (in 1978 dollars) on a dummy for 1981, a dummy for houses near the incinerator site, and the interaction of the two dummies. Report the coefficient on the interaction, the difference-in-differences estimate of the incinerator's effect on the price of nearby houses.

    kielmc (agent)

    Wooldridge's KIELMC data (from Kiel and McClain 1995): sales of houses in North Andover, Massachusetts, in 1978, before any rumours of a new garbage incinerator, and in 1981, when its construction began; one row per sale. Columns: rownames, the row number; year, 1978 or 1981; y81, 1 for a 1981 sale; price, the selling price in dollars; rprice, the price in 1978 dollars (real price); lprice and lrprice, their natural logs; nearinc, 1 if the house is within 3 miles (15,840 feet) of the incinerator site; y81nrinc, y81 times nearinc; dist, distance from the incinerator site in feet, and ldist its log; y81ldist, y81 times ldist; age, the age of the house in years, and agesq its square; rooms, number of rooms; baths, number of bathrooms; area, square footage of the house, and larea its log; land, square footage of the lot, and lland its log; intst, distance from the interstate in feet, lintst its log and lintstsq the square of that log; cbd, distance from the central business district in feet; nbh, the neighbourhood (1 to 6); wind, the percentage of time the wind blows from the incinerator toward the house.

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

    Wooldridge Example 13.3: OLS of the real house price on the 1981 dummy, the near-incinerator dummy and their interaction, usual OLS errors (Heiss's reproduction: lm(rprice ~ nearinc*y81)).

    Chamadas pedidas
    • infer.ols
      {
        "controls": [
          "y81",
          "nearinc"
        ],
        "dataset": "kielmc",
        "se": "classical",
        "x": [
          "y81nrinc"
        ],
        "y": "rprice"
      }
  3. 2Ferramenta
    infer.olsv0.1.0call_ec3b81f2decidido pelo modeloreexecutável

    Motivo: Wooldridge Example 13.3: OLS of the real house price on the 1981 dummy, the near-incinerator dummy and their interaction, usual OLS errors (Heiss's reproduction: lm(rprice ~ nearinc*y81)).

    Argumentos
    {
      "cluster": null,
      "controls": [
        "y81",
        "nearinc"
      ],
      "dataset": "kielmc",
      "fe": [],
      "intercept": true,
      "level": 0.95,
      "se": "classical",
      "subset": null,
      "weights": null,
      "x": [
        "y81nrinc"
      ],
      "y": "rprice"
    }
    Figuras call_ec3b81f2
    ChaveValorValor brutoErro-padrãoIC
    coef.y81nrinc
    Coefficient on y81nrinc in the regression of rprice
    -11.863,9 -11863.9032521125837.456,657456.646173258857-26.534,7 – 2.806,87
    Diagnósticos
    • n_obs = 321321
    • k = 44
    • r2 = 0,1739480.1739483015349974
    • df_resid = 317317
    • se_type = "classical"
    • n_clusters = —
    Tabelas (1)
    {
      "coefficients": [
        {
          "ci_high": 87882.356827585,
          "ci_low": 77152.09845696785,
          "coef": 82517.22764227643,
          "p": 1.709245828665835e-95,
          "se": 2726.9100704846505,
          "t": 30.260340645414367,
          "term": "Intercept"
        },
        {
          "ci_high": 2806.8665842980354,
          "ci_low": -26534.673088523203,
          "coef": -11863.903252112583,
          "p": 0.11259484069905487,
          "se": 7456.646173258857,
          "t": -1.5910508526821483,
          "term": "y81nrinc"
        },
        {
          "ci_high": 26758.69017388404,
          "ci_low": 10821.881732126845,
          "coef": 18790.28595300544,
          "p": 0.000005116892165044555,
          "se": 4050.0649593130915,
          "t": 4.639502363979949,
          "term": "y81"
        },
        {
          "ci_high": -9232.292852872026,
          "ci_low": -28416.448145966537,
          "coef": -18824.37049941928,
          "p": 0.00013680172198592228,
          "se": 4875.32214561876,
          "t": -3.861154183695517,
          "term": "nearinc"
        }
      ]
    }
    Digests dos dados
    kielmc 6d002733bb822a80945b4cbdca611d8de467352d3edc1966d8ac266fca8a1d94
    sha256 do resultado
    e5016231848415b0b9e728b68fc22156a8b0658a13360fc17a0f6303e6f8309d
  4. 3Turno do modelo
    call_7b426374referenceFim: 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.y81nrinc = -11864.",
        "caveats": [],
        "figure_refs": [
          "call_ec3b81f2:coef.y81nrinc"
        ]
      }
  5. 4Guarda
    resposta aceita
    Números encontrados
    -11864
    Sem lastro
    —
    Não citados
    —
    1 nova(s) tentativa(s) restante(s)
  6. 5Resposta

    Estimativa (infer.ols): coef.y81nrinc = -11864.

    Figuras citadas: call_ec3b81f2:coef.y81nrinc · Parada: answered
    Figura da resposta: call_ec3b81f2:coef.y81nrinc = -11.863,9-11863.903252112583 (se 7.456,657456.646173258857)
  7. 6Pontuação
    #0resposta com lastropassouobrigatóriaevery number backed
  8. 7Pontuação
    #1figura da resposta escolhidapassouobrigatóriaanswer figure call_ec3b81f2:coef.y81nrinc (infer.ols)
  9. 8Pontuação
    #2uma entrepassouobrigatóriatool_called(infer.ols): ok | tool_called(infer.did_2x2): answer call is infer.ols
  10. 9Pontuação
    #3argumento igualpassouobrigatóriainfer.ols.y = 'rprice'
  11. 10Pontuação
    #4argumento igualpassouobrigatóriainfer.ols.x = ['y81nrinc']
  12. 11Pontuação
    #5argumento igualpassouobrigatóriainfer.ols.controls = ['y81', 'nearinc']
  13. 12Pontuação
    #6argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.did_2x2
  14. 13Pontuação
    #7argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.did_2x2
  15. 14Pontuação
    #8argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.did_2x2
  16. 15Pontuação
    #9diagnósticopassouobrigatória321 vs 321
  17. 16Pontuação
    #10diagnósticopassouobrigatórianot applicable: the answer call is infer.ols, not infer.did_2x2
  18. 17Pontuação
    #11figura da resposta próximapassouobrigatória-11863.90325 vs -11863.90325211261
  19. 18Pontuação
    #12figura da resposta próximapassouregistrada7456.646173 vs 7456.646173258854
  20. 19Pontuação
    #13figura da resposta próximapassouregistrada-11863.90325 vs -11863.9
  21. 20Pontuação
    #14figura da resposta próximapassouregistrada7456.646173 vs 7456.6

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#01234567891011121314
Época 1passoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
87,0 KB · sha256 cc4537fbb7a4673260461c600f18042b9ab47208cd8c582604b66f9be28673ad

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/234b169326faac996ccffd437409249093b6723bcb03369ca6cf00344743338e.json1,9 KB234b169326faac996ccffd437409249093b6723bcb03369ca6cf00344743338e
attachments/31a91a9596cff8abcdcd6fc2aa9a8ae687464d5686960a11e400e8533930e61b.json375 B31a91a9596cff8abcdcd6fc2aa9a8ae687464d5686960a11e400e8533930e61b
attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json2,4 KB433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420
attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json64,0 KB52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b
attachments/682525c709c9fd5df5279f4aeaf1c84e7dfaf112677377ffd51f96f7b648cc6d.json1,2 KB682525c709c9fd5df5279f4aeaf1c84e7dfaf112677377ffd51f96f7b648cc6d
attachments/cba6469733f722a08daf4db788cbf9096f7d962914bbab619898d92776f0f45f.json682 Bcba6469733f722a08daf4db788cbf9096f7d962914bbab619898d92776f0f45f
attachments/eff07df516faa6921b36e58f12fee143daaef2b5c05ab61c62d21a3532742dc1.json1,1 KBeff07df516faa6921b36e58f12fee143daaef2b5c05ab61c62d21a3532742dc1
native/paper_repro/paper_repro.kiel_mcclain_1995.ex13_3_rprice.agent.e1.a1.json36 B39a1ffcef98d10bf196fee2aa93ee0343ff9c7c2b32629831f61ccb9c4e8fdd7
sources/kiel_mcclain_1995.ex13_3_rprice.paper.json2,1 KB1746ffee3197711d4822a271aeae878c4759ee606ef6a5b2d1d0cd7322bd6d67
sources/kiel_mcclain_1995.ex13_3_rprice.software.json1,3 KB034d2e4ee3b4352528b7a592074adeecff343c2717dc2920a1a08794a04b11d8
specs/paper_repro.kiel_mcclain_1995.ex13_3_rprice.agent.json11,3 KBe127dcd9c3ff4d7b4a20b6dac295a773567d4a0b8653e82983129524bd44337e
traces/paper_repro.kiel_mcclain_1995.ex13_3_rprice.agent.e1.a1.jsonl14,0 KBc6959927641804dd3711a2e63bc4c0b93137754a0f43155809376fc0de2e7054
trajectories/paper_repro.kiel_mcclain_1995.ex13_3_rprice.agent.e1.a1.jsonl18,4 KB367377dae9958e11d0ff8acf1e8207ada7d49c2235f21a654a926db38d2a5890