Tarefa paper_repro.ccft_2017.senate_h16794.design
paper_reproagentT3designépoca 1, tentativa 1Execução: 20261015T165744Z-suite-paper_repro-scripted-def9dfVeredito
Família do método (das chamadas de ferramentas): rd (regression discontinuity)
Pergunta feita ao analista
Is there an incumbency advantage in U.S. Senate elections? Comparing seats the Democratic party barely won with seats it barely lost, estimate the effect of winning a Senate election on the Democratic party's share of the votes in the next election for the same seat.
Estimativa (infer.rdd): effect = 7,425.
Valores esperados e de onde vêm
ccft_2017.senate_h16794.software
- Fonte
- statsmodels 0.15.0: the reference specification of ccft_2017 senate_h16794 (infer.rdd, figure 'effect') on an independent code path
- Tipo
- software
- Localização
- ccft_2017: Section 7.2 (default results and backward compatibility), output of 'rdrobust vote margin, h(16.79369) b(27.43745)', row 'Conventional'
- Valor
- 7,4253
7.425304341122386(se 1,49791.497901791714553) - Conferido por
- execução de software · sm.WLS(weights=1 - |d|/h)(vote, [const, treat, d·(1-treat), d·treat]).fit(cov_type='HC1') with d = margin - 0, rows |d| <= 16.79369, treat = d >= 0 on senate (the file pinned at sha256 def1fc6b8ae5af273f2140aa449c81b3ecfe1d0f325aa80ceccb0d9638a2ad44); n_obs = 1297, n_left = 343, n_right = 310. 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/
- #14 figura da resposta próxima: 7,4253
7.425304341122386· relativa 0.000001 · absoluta 0.0000014979017917145529 - #15 figura da resposta próxima: 1,4979
1.497901791714553· relativa 0.000001 · absoluta 0.0000014979017917145529
ccft_2017.senate_h16794.paper
- Fonte
- Calonico, S., Cattaneo, M. D., Farrell, M. H. and Titiunik, R. (2017). rdrobust: Software for Regression-discontinuity Designs. Stata Journal 17(2): 372-404.
- Tipo
- paper
- Localização
- Section 7.2, output of 'rdrobust vote margin, h(16.79369) b(27.43745)', row 'Conventional', columns Coef. and Std. Err.
- Página
- 393
- Trecho
Conventional 7.4253 1.4954
- Valor como publicado
7.4253- Erro-padrão como publicado
1.4954- Valor
- 7,4253
7.4253(se 1,49541.4954) percentage points of the Democratic vote share - Conferido por
- fonte primária · Read on 2026-10-15 from the copy on the rdpackages site (rdpackages.github.io/references), text layer and rendered image of page 393: the output of 'rdrobust vote margin, h(16.79369) b(27.43745)' (Kernel = Triangular, VCE method = NN, Number of obs 1297, Eff. Number of obs 343 left and 310 right, p = 1). The same row, 7.4253 (1.4954), is printed in Calonico, Cattaneo and Titiunik (2014), Stata Journal 14(4), page 939 (default bandwidth 16.794 in that version), and in their 2015 R Journal article. The research note's figures from memory (7.414, 1.459 at h = 17.754) are not what these articles print; the same 2017 article prints the new default as 7.416 (1.4604) at h = 17.708. Data check made before any estimate: 1,297 rows have both vote and margin, 595 below and 702 above zero, none exactly at zero; 343 and 310 lie within 16.79369 of zero, none exactly at the bandwidth edge, as printed.
- sha256 da cópia lida
0435a8c690d0bd6a5d98157f02a3606af8501ad42e9bd6aebbc29bc919a60e4f(identifica a cópia lida, não um arquivo canônico)- Desvio conhecido
- convenção de erro-padrãoRecorded before this track's software-reference run and before any dry run, from the printed output: rdrobust's conventional standard error uses its nearest-neighbour variance estimator ('VCE method = NN'), while infer.rdd computes HC1 and the reference follows the tool's declared HC1. The point estimate depends only on the kernel, the polynomial and the bandwidth, all fixed here; the printed cell is recorded and non-required on T1.
- Endereço
https://rdpackages.github.io/references/Calonico-Cattaneo-Farrell-Titiunik_2017_Stata.pdf- Licença
- Copyright StataCorp LLC (Stata Journal); cited, not reproduced.
- #16 figura da resposta próxima: 7,4253
7.4253· published_cell d=4 · absoluta 0.0000500074253 - #17 figura da resposta próxima: 1,4954
1.4954· published_cell d=4 (the SE as printed) · absoluta 0.000050001495400000005
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_e120760b:effect (infer.rdd) | obrigatória | passou | — | "call_e120760b:effect" | — | — | call_e120760b |
| 2 | ferramenta chamada answer call is infer.rdd | obrigatória | passou | — | "infer.rdd" | — | — | call_e120760b |
| 3 | argumento igual infer.rdd.y = 'vote' | obrigatória | passou | "vote" | "vote" | — | — | call_e120760b |
| 4 | argumento igual infer.rdd.running = 'margin' | obrigatória | passou | "margin" | "margin" | — | — | call_e120760b |
| 5 | argumento igual infer.rdd.cutoff = 0.0 | obrigatória | passou | 00 | 00 | — | — | call_e120760b |
| 6 | argumento igual infer.rdd.y = 'vote' | registrada | passou | "vote" | "vote" | — | — | call_e120760b |
| 7 | argumento igual infer.rdd.running = 'margin' | registrada | passou | "margin" | "margin" | — | — | call_e120760b |
| 8 | argumento igual infer.rdd.cutoff = 0.0 | registrada | passou | 00 | 00 | — | — | call_e120760b |
| 9 | argumento igual infer.rdd.bandwidth = 16.79369 | registrada | passou | 16,793716.79369 | 16,793716.79369 | — | — | call_e120760b |
| 10 | argumento igual infer.rdd.kernel = 'triangular' | registrada | passou | "triangular" | "triangular" | — | — | call_e120760b |
| 11 | argumento igual infer.rdd.polynomial = 1 | registrada | passou | 11 | 11 | — | — | call_e120760b |
| 12 | diagnóstico 343 vs 343 | registrada | passou | 343343 | 343343 | default rel 1e-6 (abs floor 1e-6) | — | call_e120760b |
| 13 | diagnóstico 310 vs 310 | registrada | passou | 310310 | 310310 | default rel 1e-6 (abs floor 1e-6) | — | call_e120760b |
| 14 | figura da resposta próxima 7.425304341 vs 7.425304341122386 | registrada | passou | 7,42537.425304341122386 | 7,42537.425304341122355 | relativa 0.000001 · absoluta 0.0000014979017917145529 | ccft_2017.senate_h16794.software | call_e120760b |
| 15 | figura da resposta próxima 1.497901792 vs 1.497901791714553 | registrada | passou | 1,49791.497901791714553 | 1,49791.497901791714546 | relativa 0.000001 · absoluta 0.0000014979017917145529 | ccft_2017.senate_h16794.software | call_e120760b |
| 16 | figura da resposta próxima 7.425304341 vs 7.4253 | registrada | passou | 7,42537.4253 | 7,42537.425304341122355 | published_cell d=4 · absoluta 0.0000500074253 | ccft_2017.senate_h16794.paper | call_e120760b |
| 17 | figura da resposta próxima 1.497901792 vs 1.4954 | registrada | falhou | 1,49541.4954 | 1,49791.497901791714546 | published_cell d=4 (the SE as printed) · absoluta 0.000050001495400000005 | ccft_2017.senate_h16794.paper | call_e120760b |
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.ccft_2017.senate_h16794.tool)
| Argumento | Referência | Agente | |
|---|---|---|---|
| bandwidth | 16,793716.79369 | 16,793716.79369 | igual |
| cluster | — | — | não fixado pela referência |
| cutoff | 00 | 00 | igual |
| dataset | "senate" | "senate" | igual |
| kernel | "triangular" | "triangular" | igual |
| level | — | 0,950.95 | não fixado pela referência |
| polynomial | 11 | 11 | igual |
| running | "margin" | "margin" | igual |
| subset | — | — | não fixado pela referência |
| y | "vote" | "vote" | igual |
Trajetória
Cada evento na ordem em que aconteceu: turnos do modelo, chamadas de ferramentas, guardas, transformações e pontuação.
- 0Início
Is there an incumbency advantage in U.S. Senate elections? Comparing seats the Democratic party barely won with seats it barely lost, estimate the effect of winning a Senate election on the Democratic party's share of the votes in the next election for the same seat.
senate(agent)U.S. Senate elections, 1914-2010, the extract of the data of Cattaneo, Frandsen and Titiunik (2015) that ships with the rdrobust package as its illustration: one row per state and Senate election (1,390 rows). Columns: state, state code; year, year of the election; margin, the Democratic party's margin of victory in that election, in percentage points (negative when the Democratic candidate lost); vote, the Democratic party's vote share, in percent, in the next election for the same Senate seat (missing for some rows); class, the seat's Senate class (1, 2 or 3); termshouse and termssenate, terms the Democratic candidate had served in the House and in the Senate; population, the state's population.
filedef1fc6b8ae5af273f2140aa449c81b3ecfe1d0f325aa80ceccb0d9638a2ad44· frame — - 1Turno do modelo
call_fd35e019referenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheTexto visívelrdrobust's Senate example at the bandwidth h = 16.79369 that Calonico, Cattaneo and Titiunik (2014) selected: local linear, triangular kernel, cutoff 0; the conventional point estimate (rdrobust's own errors are nearest-neighbour based; the tool's are HC1).
Chamadas pedidasinfer.rdd{ "bandwidth": 16.79369, "cutoff": 0, "dataset": "senate", "kernel": "triangular", "polynomial": 1, "running": "margin", "y": "vote" }
- 2Ferramenta
infer.rddv0.1.0call_e120760bdecidido pelo modeloreexecutávelMotivo: rdrobust's Senate example at the bandwidth h = 16.79369 that Calonico, Cattaneo and Titiunik (2014) selected: local linear, triangular kernel, cutoff 0; the conventional point estimate (rdrobust's own errors are nearest-neighbour based; the tool's are HC1).
Argumentos
{ "bandwidth": 16.79369, "cluster": null, "cutoff": 0, "dataset": "senate", "kernel": "triangular", "level": 0.95, "polynomial": 1, "running": "margin", "subset": null, "y": "vote" }Figuras call_e120760b Chave Valor Valor bruto Erro-padrão IC effect Jump in vote at the cutoff of margin7,4253 7.4253043411223551,4979 1.4979017917145464,48947 – 10,3611 Diagnósticosbandwidth= 16,793716.79369bandwidth_method="user"n_left= 343343n_right= 310310kernel="triangular"polynomial= 11bandwidth_sensitive=falsen_obs= 1.2971297se_type="HC1"
Tabelas (1)
{ "sensitivity": [ { "bandwidth": 8.396845, "ci_high": 12.665187371055993, "ci_low": 4.845539163400076, "estimate": 8.755363267228034, "multiplier": 0.5, "n_left": 217, "n_right": 175, "se": 1.9948448719814 }, { "bandwidth": 16.79369, "ci_high": 10.361137905260883, "ci_low": 4.489470776983827, "estimate": 7.425304341122355, "multiplier": 1, "n_left": 343, "n_right": 310, "se": 1.497901791714546 }, { "bandwidth": 33.58738, "ci_high": 9.455366988625087, "ci_low": 5.051427501358595, "estimate": 7.253397244991841, "multiplier": 2, "n_left": 499, "n_right": 488, "se": 1.1234745949426124 } ] }- 93 rows were dropped because one of 'vote', 'margin' was missing
- Digests dos dados
senatee1181ed0f741b1485e582b1110d74d93e57241b2b9bfa1ed59f2cd80ab0b165e- sha256 do resultado
8337aad345ccc21b8153df57afec1c2569f5eaeccc86d61c2da3b54517ee8ec4
- 3Turno do modelo
call_1282a9cbreferenceFim:tool_use0 ms0 de entrada · 0 de saída · 0 de raciocínio · 0 em cacheChamadas pedidassubmit_answer(meta-ferramenta){ "answer": "Estimativa (infer.rdd): effect = 7,425.", "caveats": [], "figure_refs": [ "call_e120760b:effect" ] }
- 4Guardaresposta aceita
- Números encontrados
- 7,425
- Sem lastro
- —
- Não citados
- —
1 nova(s) tentativa(s) restante(s) - 5Resposta
Estimativa (infer.rdd): effect = 7,425.
Figuras citadas:call_e120760b:effect· Parada:answeredFigura da resposta:call_e120760b:effect= 7,42537.425304341122355(se 1,49791.497901791714546) - 6Pontuação#0resposta com lastropassouobrigatória
every number backed - 7Pontuação#1figura da resposta escolhidapassouobrigatória
answer figure call_e120760b:effect (infer.rdd) - 8Pontuação#2ferramenta chamadapassouobrigatória
answer call is infer.rdd - 9Pontuação#3argumento igualpassouobrigatória
infer.rdd.y = 'vote' - 10Pontuação#4argumento igualpassouobrigatória
infer.rdd.running = 'margin' - 11Pontuação#5argumento igualpassouobrigatória
infer.rdd.cutoff = 0.0 - 12Pontuação#6argumento igualpassouregistrada
infer.rdd.y = 'vote' - 13Pontuação#7argumento igualpassouregistrada
infer.rdd.running = 'margin' - 14Pontuação#8argumento igualpassouregistrada
infer.rdd.cutoff = 0.0 - 15Pontuação#9argumento igualpassouregistrada
infer.rdd.bandwidth = 16.79369 - 16Pontuação#10argumento igualpassouregistrada
infer.rdd.kernel = 'triangular' - 17Pontuação#11argumento igualpassouregistrada
infer.rdd.polynomial = 1 - 18Pontuação#12diagnósticopassouregistrada
343 vs 343 - 19Pontuação#13diagnósticopassouregistrada
310 vs 310 - 20Pontuação#14figura da resposta próximapassouregistrada
7.425304341 vs 7.425304341122386 - 21Pontuação#15figura da resposta próximapassouregistrada
1.497901792 vs 1.497901791714553 - 22Pontuação#16figura da resposta próximapassouregistrada
7.425304341 vs 7.4253 - 23Pontuação#17figura da resposta próximafalhouregistrada
1.497901792 vs 1.4954
Épocas × verificações
| # | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Época 1 | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | passou | 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
537b6420a9f23957d82454a316a4871320f36c82dba97bb2dbdef429795d94c0O 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/0bd2d668612f6dbbc1c67eda4f7ad45f95ed96ddf75a0dacd90501181c5bee6e.json | 1,5 KB | 0bd2d668612f6dbbc1c67eda4f7ad45f95ed96ddf75a0dacd90501181c5bee6e |
| attachments/1c70bea91a25b2be2189a3a6f328fd67cc868de736275b57661aa4c4b7bb6ff2.json | 467 B | 1c70bea91a25b2be2189a3a6f328fd67cc868de736275b57661aa4c4b7bb6ff2 |
| attachments/2b0988f39998ba57b4f4c4a2a6533716530cd6550b82e5c9bb41e43ee451f3fc.json | 292 B | 2b0988f39998ba57b4f4c4a2a6533716530cd6550b82e5c9bb41e43ee451f3fc |
| attachments/311a3753b72e2040464f460749902284aa340d0bc673d39ccc2bb85cf7cf846e.json | 1,1 KB | 311a3753b72e2040464f460749902284aa340d0bc673d39ccc2bb85cf7cf846e |
| attachments/433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420.json | 2,4 KB | 433a6877aa6a378bbd4b7e2752e484d8cb7499c562d68222be231f62ff2fa420 |
| attachments/52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b.json | 64,0 KB | 52ab03d8ec104abb85572294bf8a469d75c5de9e74d6042caabff8017adc572b |
| attachments/b6dafd3d0e86c572298e3dbd27c7c3ff2273f2479676df03d46d9f6537038bd0.json | 1,4 KB | b6dafd3d0e86c572298e3dbd27c7c3ff2273f2479676df03d46d9f6537038bd0 |
| sources/ccft_2017.senate_h16794.paper.json | 2,5 KB | b6b5957ede2353802b35629bcb13bffd595b8e36ec70d50d1c385f9717bef504 |
| sources/ccft_2017.senate_h16794.software.json | 1,4 KB | a46dbb94e26618b92949e52dbf3bfbf408d6538db8af1c24a4e4155b4d04d839 |
| specs/paper_repro.ccft_2017.senate_h16794.design.json | 11,2 KB | ed6f78ddb37250b9f856902b518ea87efc247157ebe03c22e970b572375c8957 |
| traces/paper_repro.ccft_2017.senate_h16794.design.e1.a1.jsonl | 13,4 KB | cefdb1b12a41b03e6fbbcf39cdaa0d6d4a6f0c5b06f69b27b7e5e3b10ab03def |
| trajectories/paper_repro.ccft_2017.senate_h16794.design.e1.a1.jsonl | 18,4 KB | 054bfd6a16bb62425ee2d7c7ea5c545c161bce0051daddc83c68c4e7d0b51c95 |