Pular para o conteúdo

Tarefa paper_repro.kiel_mcclain_1995.ex13_3_rprice.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): ols (regression)

Pergunta feita ao analista

Did building a garbage incinerator in North Andover, Massachusetts lower the value of the houses near it? Using the sales of houses in 1978, before any rumours of the incinerator, and in 1981, when its construction began, estimate the effect of the incinerator on the real 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/
  • #12 figura da resposta próxima: -11.863,9-11863.90325211261 · relativa 0.000001 · absoluta 0.007456646173258853
  • #13 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.
  • #14 figura da resposta próxima: -11.863,9-11863.9 · published_cell d=1 · absoluta 0.0500118639
  • #15 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_139d4bd3:coef.y81nrinc (infer.ols)
obrigatóriapassou—"call_139d4bd3:coef.y81nrinc"——call_139d4bd3
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_139d4bd3
3argumento igual
infer.ols.y = 'rprice'
obrigatóriapassou"rprice""rprice"——call_139d4bd3
4argumento igual
infer.ols.x[0] = 'y81nrinc'
obrigatóriapassou"y81nrinc""y81nrinc"——call_139d4bd3
5argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"rprice"———call_139d4bd3
6argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"nearinc"———call_139d4bd3
7argumento igual
not applicable: the answer call is infer.ols, not infer.did_2x2
obrigatóriapassou"y81"———call_139d4bd3
8argumento igual
infer.ols.y = 'rprice'
registradapassou"rprice""rprice"——call_139d4bd3
9argumento igual
infer.ols.x = ['y81nrinc']
registradapassou["y81nrinc"]["y81nrinc"]——call_139d4bd3
10argumento igual
infer.ols.controls = ['y81', 'nearinc']
registradapassou["y81","nearinc"]["y81","nearinc"]——call_139d4bd3
11diagnóstico
321 vs 321
registradapassou321321321321default rel 1e-6 (abs floor 1e-6)—call_139d4bd3
12figura da resposta próxima
-11863.90325 vs -11863.90325211261
registradapassou-11.863,9-11863.90325211261-11.863,9-11863.903252112583relativa 0.000001 · absoluta 0.007456646173258853kiel_mcclain_1995.ex13_3_rprice.softwarecall_139d4bd3
13figura 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_139d4bd3
14figura 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_139d4bd3
15figura 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_139d4bd3

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_139d4bd3)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

    Did building a garbage incinerator in North Andover, Massachusetts lower the value of the houses near it? Using the sales of houses in 1978, before any rumours of the incinerator, and in 1981, when its construction began, estimate the effect of the incinerator on the real 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_fa24f914referenceFim: 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_139d4bd3decidido 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_139d4bd3
    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
    0b4c78cd283d347b0b276ebcfb6ea6318ab4dbf3886a50252d3a6c4dbe834b42
  4. 3Turno do modelo
    call_b1276661referenceFim: 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_139d4bd3: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_139d4bd3:coef.y81nrinc · Parada: answered
    Figura da resposta: call_139d4bd3: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_139d4bd3: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[0] = 'y81nrinc'
  12. 11Pontuação
    #5argumento igualpassouobrigatórianot applicable: the answer call is infer.ols, not infer.did_2x2
  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 igualpassouregistradainfer.ols.y = 'rprice'
  16. 15Pontuação
    #9argumento igualpassouregistradainfer.ols.x = ['y81nrinc']
  17. 16Pontuação
    #10argumento igualpassouregistradainfer.ols.controls = ['y81', 'nearinc']
  18. 17Pontuação
    #11diagnósticopassouregistrada321 vs 321
  19. 18Pontuação
    #12figura da resposta próximapassouregistrada-11863.90325 vs -11863.90325211261
  20. 19Pontuação
    #13figura da resposta próximapassouregistrada7456.646173 vs 7456.646173258854
  21. 20Pontuação
    #14figura da resposta próximapassouregistrada-11863.90325 vs -11863.9
  22. 21Pontuação
    #15figura da resposta próximapassouregistrada7456.646173 vs 7456.6

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#0123456789101112131415
Época 1passoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassoupassou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
86,3 KB · sha256 3daeb5f8a217448601f03657d2f20457a4a3d548c6cd15cbeca00c488bf0bb46

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/0877c794514ee6bd319d86e703082641955fd4559046ec2ab1b31b2e79779e23.json1,2 KB0877c794514ee6bd319d86e703082641955fd4559046ec2ab1b31b2e79779e23
attachments/234b169326faac996ccffd437409249093b6723bcb03369ca6cf00344743338e.json1,9 KB234b169326faac996ccffd437409249093b6723bcb03369ca6cf00344743338e
attachments/31a91a9596cff8abcdcd6fc2aa9a8ae687464d5686960a11e400e8533930e61b.json375 B31a91a9596cff8abcdcd6fc2aa9a8ae687464d5686960a11e400e8533930e61b
attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json2,4 KB433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420
attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json64,0 KB52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b
attachments/cf83a5c18bade5627adb5f5aa6b5bce2aeee299085ca6350d631e3e2591c42cc.json1,1 KBcf83a5c18bade5627adb5f5aa6b5bce2aeee299085ca6350d631e3e2591c42cc
attachments/f982db9a540790d70c5f5e89b0876b5e9c56f8eeed761f55c4b99f4a910a9620.json321 Bf982db9a540790d70c5f5e89b0876b5e9c56f8eeed761f55c4b99f4a910a9620
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.design.json11,7 KB7abe58a2e4bbee27e308fe516320d5d9a2d7744d877f23bbd46a1b89b6ac8b74
traces/paper_repro.kiel_mcclain_1995.ex13_3_rprice.design.e1.a1.jsonl13,7 KB3060843de5b3468441615f511fe413bfa97f37b1889e75d51b40eb83d792ebe1
trajectories/paper_repro.kiel_mcclain_1995.ex13_3_rprice.design.e1.a1.jsonl18,4 KBa264efddfe9b015784224d36053b2da19cee2fe58eb581590311bfffeb94caf2