Pular para o conteúdo

Tarefa paper_repro.mmv_2011.tab20_1_c1.tool

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

Veredito

passouPassou em todas as verificações obrigatórias.
Calculado pelo agente
effect =0,09285530.09285534103880423
Jump in Support at the cutoff of Income_Below
via infer.rdd (call_5ab2a208)
Valor esperado (gabarito)
effect =0,09285530.09285534103880216
statsmodels 0.15.0: the reference specification of mmv_2011 tab20_1_c1 (infer.rdd, figure 'effect') on an independent code path
Como foi validado
3 de 3 verificações obrigatórias aprovadas
relativa 0.000001 · absoluta 4.363357378599472e-8

Pergunta feita ao analista

Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

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.

  1. 1Preparação da base de dados
    gov_transfers— Households near the income cutoff of Uruguay's PANES cash-transfer programme, the extract of the survey of Manacorda, Miguel and Vigorito (2011), 'Government Transfers and Political Support', distributed with the causaldata R package and used in chapter 20 of Huntington-Klein's 'The Effect': one row per household (1,948 rows), only households whose income measure is within 0.02 of the cutoff. Households below the cutoff were eligible for the transfers. Columns: rownames, the row number; Income_Centered, the household's income measure minus the eligibility cutoff (negative values are below the cutoff, hence eligible); Income_Below, minus Income_Centered, added by the task author: how far below the cutoff the household's income measure is (positive values are eligible); Education, average years of education of household members aged 16 and older (missing for some households); Age, average age of household members; Participation, 1 if the household participated in the transfer programme; Support, the household's support for the government (0, 0.5 or 1; higher means more support).
    Transformação "derive" aplicada à base "gov_transfers" (1948 → 1948 linhas). {"args":{"column":"Income_Centered"},"name":"Income_Below","op":"negate"}
  2. 2Chamada que gerou a resposta finalinfer.rdd(Regressão descontínua (RDD))citada na respostacoincide com a referência
    Ver chamada call_5ab2a208 nos detalhes
    Argumentos principais
    bandwidth:
    0,020.02
    cutoff:
    00
    dataset:
    "gov_transfers"
    kernel:
    "uniform"
    level:
    0,950.95
    polynomial:
    22
    running:
    "Income_Below"
    y:
    "Support"
    Resultado calculado
    • effect = 0,0928553 0.09285534103880423
      Jump in Support at the cutoff of Income_Below
    Diagnósticos: bandwidth = 0,020.02 (half-width of the window around the cutoff (informada)) · bandwidth_method = "user" · n_left = 821821 (observations with positive weight below the cutoff) · n_right = 1.1271127 (observations with positive weight at or above the cutoff) · kernel = "uniform" · polynomial = 22 · bandwidth_sensitive = true (the estimate at half or double the bandwidth falls outside the main interval: the result depends on the window) · n_obs = 1.9481948 (rows used to choose the bandwidth) · se_type = "HC1" (heteroskedasticity-robust standard errors (HC1))
  3. 3Conferência de lastro e resposta final
    • #0figura próximaeffect
      software reference
    • #1figura próximaeffect
      software reference, SE
    • #2figura próximaeffect
      published cell
    • #3figura próximaeffect
      published cell, SE (known deviation: se_convention)

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

mmv_2011.tab20_1_c1.software

Fonte
statsmodels 0.15.0: the reference specification of mmv_2011 tab20_1_c1 (infer.rdd, figure 'effect') on an independent code path
Tipo
software
Localização
mmv_2011: Table 20.1 (The Effect of Government Payments on Support, Regression Discontinuity Estimates), column 'Quadratic', row 'Participation'
Valor
0,09285530.09285534103880216 (se 0,04363360.04363357378599472)
Conferido por
execução de software · sm.OLS(Support, [const, treat, d·(1-treat), d·treat, squares]).fit(cov_type='HC1') with d = Income_Below - 0, rows |d| <= 0.02, treat = d >= 0 on gov_transfers (the file pinned at sha256 51312ecd5b3cb22b5dc027966a81e0a8579f24a708ce4b476674fc527652ebd0, after its 1 declared transforms); n_obs = 1948, n_left = 821, n_right = 1127. The tool infer.rdd (magi_infer, numpy) does not call statsmodels. Note: the strict rule (|d| < h, treated when d > 0) selects the same rows and treatment. Written by scripts/paper_repro_reference.py.
Implementação
independente da ferramenta
Endereço
https://pypi.org/project/statsmodels/0.15.0/
  • #0 figura próxima: 0,09285530.09285534103880216 · relativa 0.000001 · absoluta 4.363357378599472e-8
  • #1 figura próxima: 0,04363360.04363357378599472 · relativa 0.000001 · absoluta 4.363357378599472e-8

mmv_2011.tab20_1_c1.paper

Fonte
Huntington-Klein, N. (2021). The Effect: An Introduction to Research Design and Causality. CRC Press; online edition, chapter 20 (Regression Discontinuity), replicating Manacorda, Miguel and Vigorito (2011), AEJ: Applied 3(3): 1-28.
Tipo
textbook
Localização
Table 20.1 (The Effect of Government Payments on Support, Regression Discontinuity Estimates), column 'Quadratic', row 'Participation'
Página
online edition, chapter 20, Table 20.1
Trecho
Participation 0.093** (0.044)
Valor como publicado
0.093
Erro-padrão como publicado
0.044
Valor
0,0930.093 (se 0,0440.044) support for the government (0, 0.5, 1)
Conferido por
fonte primária · Read on 2026-10-15 from the free online edition of The Effect (theeffectbook.net, chapter 20); read_copy_sha256 is the sha256 of the chapter's decompressed HTML as served that day. Table 20.1 is a modelsummary table of the R code printed above it: Support on Income_Centered*Participation plus I(Income_Centered^2)*Participation (column 'Quadratic', all 1,948 households) and Support on Income_Centered*Participation weighted by max(0, 1 - 100|Income_Centered|) (column 'Linear with Kernel Weight', Num.Obs. 937); the table's last rows state 'Std.Errors HC3 HC3'. Data check made before any estimate: Participation equals (Income_Centered <= 0) on every row, no row has Income_Centered exactly 0 or exactly 0.01 in absolute value, every |Income_Centered| is below 0.02, and 937 rows lie strictly within 0.01 of the cutoff (400 above it, 537 below), as the table's Num.Obs.
sha256 da cópia lida
b6f751cfa056dc32718bdd79f6b25518a6acd9e9923a8fd12ef29ac9342413eb (identifica a cópia lida, não um arquivo canônico)
Desvio conhecido
convenção de erro-padrão
Recorded before this track's software-reference run and before any dry run, from the printed table: Table 20.1 states that its standard errors are HC3, while infer.rdd computes HC1 (its only unclustered option) and the reference follows the tool's declared HC1. The printed cell is recorded and non-required on T1.
Endereço
https://theeffectbook.net/ch-RegressionDiscontinuity.html
Licença
Copyright Nick Huntington-Klein (The Effect, CRC Press); cited, not reproduced.
  • #2 figura próxima: 0,0930.093 · published_cell d=3 · absoluta 0.000500001
  • #3 figura próxima: 0,0440.044 · published_cell d=3 (the SE as printed) · absoluta 0.000500001
Especificação técnica do gabarito

Manacorda, M., Miguel, E. and Vigorito, A. (2011). Government Transfers and Political Support. American Economic Journal: Applied Economics 3(3): 1-28 (doi:10.1257/app.3.3.1); the cells are those of its replication in Huntington-Klein, N. (2021), The Effect: An Introduction to Research Design and Causality, chapter 20 (Regression Discontinuity), Table 20.1. Table 20.1 (The Effect of Government Payments on Support, Regression Discontinuity Estimates), column 'Quadratic', row 'Participation' (source mmv_2011.tab20_1_c1.paper); software reference mmv_2011.tab20_1_c1.software: statsmodels 0.15.0: the reference specification of mmv_2011 tab20_1_c1 (infer.rdd, figure 'effect') on an independent code path

Verificações

Cada verificação, o que esperava, o que observou e a chamada que leu
#VerificaçãoObrigatóriaResultadoEsperadoObservadoTolerânciaFonteChamada
0
figura próximaeffect
software reference
0.09285534104 vs 0.09285534103880216
obrigatóriapassou0,09285530.092855341038802160,09285530.09285534103880423relativa 0.000001 · absoluta 4.363357378599472e-8mmv_2011.tab20_1_c1.software—
1
figura próximaeffect
software reference, SE
0.04363357379 vs 0.04363357378599472
obrigatóriapassou0,04363360.043633573785994720,04363360.04363357378600273relativa 0.000001 · absoluta 4.363357378599472e-8mmv_2011.tab20_1_c1.software—
2
figura próximaeffect
published cell
0.09285534104 vs 0.093
obrigatóriapassou0,0930.0930,09285530.09285534103880423published_cell d=3 · absoluta 0.000500001mmv_2011.tab20_1_c1.paper—
3
figura próximaeffect
published cell, SE (known deviation: se_convention)
0.04363357379 vs 0.044
registradapassou0,0440.0440,04363360.04363357378600273published_cell d=3 (the SE as printed) · absoluta 0.000500001mmv_2011.tab20_1_c1.paper—

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 própria especificação da tarefa

Referência: infer.rddChamada do agente: infer.rdd (call_5ab2a208)igual
Argumentos da referência e do agente
ArgumentoReferênciaAgente
bandwidth0,020.020,020.02igual
cluster——não fixado pela referência
cutoff0000igual
dataset"gov_transfers""gov_transfers"igual
kernel"uniform""uniform"igual
level—0,950.95não fixado pela referência
polynomial2222igual
running"Income_Below""Income_Below"igual
subset——não fixado pela referência
y"Support""Support"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

    Tarefa de ferramenta: nenhuma pergunta; a especificação de referência é chamada direto.

    gov_transfers (agent)

    Households near the income cutoff of Uruguay's PANES cash-transfer programme, the extract of the survey of Manacorda, Miguel and Vigorito (2011), 'Government Transfers and Political Support', distributed with the causaldata R package and used in chapter 20 of Huntington-Klein's 'The Effect': one row per household (1,948 rows), only households whose income measure is within 0.02 of the cutoff. Households below the cutoff were eligible for the transfers. Columns: rownames, the row number; Income_Centered, the household's income measure minus the eligibility cutoff (negative values are below the cutoff, hence eligible); Income_Below, minus Income_Centered, added by the task author: how far below the cutoff the household's income measure is (positive values are eligible); Education, average years of education of household members aged 16 and older (missing for some households); Age, average age of household members; Participation, 1 if the household participated in the transfer programme; Support, the household's support for the government (0, 0.5 or 1; higher means more support).

    file 51312ecd5b3cb22b5dc027966a81e0a8579f24a708ce4b476674fc527652ebd0 · frame —
    1. derive {"args":{"column":"Income_Centered"},"name":"Income_Below","op":"negate"}
  2. 1Transformação
    gov_transfers · derive {"args":{"column":"Income_Centered"},"name":"Income_Below","op":"negate"}
    1948 → 1948 linhas
    Frame antes → depois: 2600b9da8866 → ee25bc867239
  3. 2Ferramenta
    infer.rdd— Regressão descontínua (RDD)v0.1.0call_5ab2a208decidido pelo códigoreexecutável
    Argumentos
    {
      "bandwidth": 0.02,
      "cluster": null,
      "cutoff": 0,
      "dataset": "gov_transfers",
      "kernel": "uniform",
      "level": 0.95,
      "polynomial": 2,
      "running": "Income_Below",
      "subset": null,
      "y": "Support"
    }
    Figuras call_5ab2a208
    ChaveValorValor brutoErro-padrãoIC
    effect
    Jump in Support at the cutoff of Income_Below
    0,09285530.092855341038804230,04363360.043633573786002730,00733511 – 0,178376
    Diagnósticos
    • bandwidth = 0,020.02 (half-width of the window around the cutoff (informada))
    • bandwidth_method = "user"
    • n_left = 821821 (observations with positive weight below the cutoff)
    • n_right = 1.1271127 (observations with positive weight at or above the cutoff)
    • kernel = "uniform"
    • polynomial = 22
    • bandwidth_sensitive = true (the estimate at half or double the bandwidth falls outside the main interval: the result depends on the window)
    • n_obs = 1.9481948 (rows used to choose the bandwidth)
    • se_type = "HC1" (heteroskedasticity-robust standard errors (HC1))
    Derivação matemática e pressupostos
    effect
    1. Ajuste quadrático ponderado (kernel uniforme) de cada lado do limiar, com janela h (informada); o efeito é a diferença entre os dois ajustes no limiar.→ 0,0928553 (0.09285534103880423)
    2. Erro-padrão robusto à heterocedasticidade (HC1): a raiz da variância estimada do coeficiente.ep = √V_jj→ 0,0436336 (0.04363357378600273)
    3. Intervalo de 95% de confiança: a estimativa mais ou menos o valor crítico da distribuição normal vezes o erro-padrão.IC = τ ± c · ep
    Pressupostos do estimador
    • units cannot precisely control the running variable around the cutoff
    • every other determinant of the outcome is continuous at the cutoff
    Tabelas (1)
    {
      "sensitivity": [
        {
          "bandwidth": 0.01,
          "ci_high": 0.09793649228155744,
          "ci_low": -0.16157308291363565,
          "estimate": -0.031818295316039094,
          "multiplier": 0.5,
          "n_left": 400,
          "n_right": 537,
          "se": 0.06620263873269394
        },
        {
          "bandwidth": 0.02,
          "ci_high": 0.17837557417614058,
          "ci_low": 0.007335107901467866,
          "estimate": 0.09285534103880423,
          "multiplier": 1,
          "n_left": 821,
          "n_right": 1127,
          "se": 0.04363357378600273
        },
        {
          "bandwidth": 0.04,
          "ci_high": 0.17837557417614058,
          "ci_low": 0.007335107901467866,
          "estimate": 0.09285534103880423,
          "multiplier": 2,
          "n_left": 821,
          "n_right": 1127,
          "se": 0.04363357378600273
        }
      ]
    }
    Hashes SHA-256 e metadados de reprodução
    Digests dos dados
    gov_transfers ee25bc8672392d74aa124b1f295a152c7535bd2d306ed08a52b235e4ddbe5113
    sha256 do resultado
    cf75601a7c4f42114f70b86fdbdc7b1239c88170c26b2259692774b52f88b616
  4. 3Pontuação
    #0figura próximapassouobrigatória0.09285534104 vs 0.09285534103880216
  5. 4Pontuação
    #1figura próximapassouobrigatória0.04363357379 vs 0.04363357378599472
  6. 5Pontuação
    #2figura próximapassouobrigatória0.09285534104 vs 0.093
  7. 6Pontuação
    #3figura próximapassouregistrada0.04363357379 vs 0.044

Épocas × verificações

Resultado de cada verificação em cada época pontuada
#0123
Época 1passoupassoupassoupassou

Tentativas

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

Downloads desta tarefa

Pacote da tarefa (.zip)
50,0 KB · sha256 63de1666d73b73db33b26263259fe87fbd2587a23cc92c9f892d7ce7d9b9aa5c

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
sources/mmv_2011.tab20_1_c1.paper.json2,4 KB12de865d5574429634f000d1237b3f81b95edc4b81385323798f0f2c665ef683
sources/mmv_2011.tab20_1_c1.software.json1,4 KBedacc6c7a30263870e66f8772a152f7454e52d990b901e8542dab37fd00ad74b
specs/paper_repro.mmv_2011.tab20_1_c1.tool.json5,6 KBeb307088ca0624a009b67718684d5d364bf1ff72b9987b9c185b5b48364bdee5
traces/paper_repro.mmv_2011.tab20_1_c1.tool.e1.a1.jsonl5,0 KB2fec29242baf8ef81aa205b53df8ef1a038912b179ab61f1cf004ba340b7209b
trajectories/paper_repro.mmv_2011.tab20_1_c1.tool.e1.a1.jsonl8,9 KB2d600b1f28fcc4d3ef5be21ff57910b3d81fde8f63628160f119aead12097521