The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'poll_vote_share_pct_7dma'}) and 3 missing columns ({'poll_vote_share_pct', 'market_win_prob_pct', 'naive_gap_pp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence/data/usa-poll-aggregate-timeseries.csv (at revision 60f204218422c3125b1ffafbeab8f5216ad58b8c), ['hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-poll-aggregate-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-popularvote-market-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-structural-context.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-winner-market-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/polls/usa-national-polls.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/press/usa-2024-press-timeline.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
date: string
candidate: string
poll_vote_share_pct_7dma: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 655
to
{'date': Value('string'), 'candidate': Value('string'), 'market_win_prob_pct': Value('float64'), 'poll_vote_share_pct': Value('float64'), 'naive_gap_pp': Value('float64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'poll_vote_share_pct_7dma'}) and 3 missing columns ({'poll_vote_share_pct', 'market_win_prob_pct', 'naive_gap_pp'}).
This happened while the csv dataset builder was generating data using
hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence/data/usa-poll-aggregate-timeseries.csv (at revision 60f204218422c3125b1ffafbeab8f5216ad58b8c), ['hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-divergence-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-poll-aggregate-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-popularvote-market-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-structural-context.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/data/usa-winner-market-timeseries.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/polls/usa-national-polls.csv', 'hf://datasets/AFOS-Analytics1/usa-2024-electoral-divergence@60f204218422c3125b1ffafbeab8f5216ad58b8c/press/usa-2024-press-timeline.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
date string | candidate string | market_win_prob_pct float64 | poll_vote_share_pct float64 | naive_gap_pp float64 |
|---|---|---|---|---|
2024-07-21 | Trump | 64 | 46.52 | 17.48 |
2024-07-21 | Harris | 18.25 | 43.19 | -24.94 |
2024-07-22 | Trump | 63 | 46.38 | 16.62 |
2024-07-22 | Harris | 29.15 | 43.08 | -13.93 |
2024-07-23 | Trump | 62.5 | 46.69 | 15.81 |
2024-07-23 | Harris | 32.35 | 43.28 | -10.93 |
2024-07-24 | Trump | 60.5 | 45.93 | 14.57 |
2024-07-24 | Harris | 37.05 | 43.28 | -6.23 |
2024-07-25 | Trump | 62.5 | 45.77 | 16.73 |
2024-07-25 | Harris | 32.15 | 43.84 | -11.69 |
2024-07-26 | Trump | 61.5 | 45.78 | 15.72 |
2024-07-26 | Harris | 34.7 | 44.15 | -9.45 |
2024-07-27 | Trump | 58.5 | 45.7 | 12.8 |
2024-07-27 | Harris | 39.75 | 44.34 | -4.59 |
2024-07-28 | Trump | 57.5 | 45.06 | 12.44 |
2024-07-28 | Harris | 39.4 | 45.01 | -5.61 |
2024-07-29 | Trump | 58.5 | 45.21 | 13.29 |
2024-07-29 | Harris | 39.3 | 45.23 | -5.93 |
2024-07-30 | Trump | 59.5 | 45.46 | 14.04 |
2024-07-30 | Harris | 38 | 45.62 | -7.62 |
2024-07-31 | Trump | 58.5 | 45.7 | 12.8 |
2024-07-31 | Harris | 38.55 | 46.14 | -7.59 |
2024-08-01 | Trump | 55.5 | 45.49 | 10.01 |
2024-08-01 | Harris | 41.7 | 46.69 | -4.99 |
2024-08-02 | Trump | 53.5 | 45.48 | 8.02 |
2024-08-02 | Harris | 44.15 | 46.66 | -2.51 |
2024-08-03 | Trump | 52.5 | 45.61 | 6.89 |
2024-08-03 | Harris | 43.95 | 46.78 | -2.83 |
2024-08-04 | Trump | 54.5 | 45.32 | 9.18 |
2024-08-04 | Harris | 43.15 | 47.24 | -4.09 |
2024-08-05 | Trump | 51.5 | 45.06 | 6.44 |
2024-08-05 | Harris | 44.6 | 47.65 | -3.05 |
2024-08-06 | Trump | 53.5 | 45.19 | 8.31 |
2024-08-06 | Harris | 43.7 | 47.79 | -4.09 |
2024-08-07 | Trump | 51.5 | 45.19 | 6.31 |
2024-08-07 | Harris | 45.85 | 47.79 | -1.94 |
2024-08-08 | Trump | 48.5 | 45.32 | 3.18 |
2024-08-08 | Harris | 49.15 | 47.53 | 1.62 |
2024-08-09 | Trump | 49.15 | 45.21 | 3.94 |
2024-08-09 | Harris | 48.75 | 47.66 | 1.09 |
2024-08-10 | Trump | 47.6 | 45.06 | 2.54 |
2024-08-10 | Harris | 49.15 | 47.83 | 1.32 |
2024-08-11 | Trump | 45.3 | 44.47 | 0.83 |
2024-08-11 | Harris | 51.5 | 47.16 | 4.34 |
2024-08-12 | Trump | 45.55 | 44.64 | 0.91 |
2024-08-12 | Harris | 51.55 | 47.12 | 4.43 |
2024-08-13 | Trump | 45.85 | 44.55 | 1.3 |
2024-08-13 | Harris | 51.2 | 47.34 | 3.86 |
2024-08-14 | Trump | 45.55 | 44.85 | 0.7 |
2024-08-14 | Harris | 52.45 | 47.6 | 4.85 |
2024-08-15 | Trump | 44.7 | 44.7 | -0 |
2024-08-15 | Harris | 53.35 | 47.79 | 5.56 |
2024-08-16 | Trump | 44.3 | 44.84 | -0.54 |
2024-08-16 | Harris | 53.9 | 47.9 | 6 |
2024-08-17 | Trump | 45.45 | 44.84 | 0.61 |
2024-08-17 | Harris | 52.25 | 47.9 | 4.35 |
2024-08-18 | Trump | 48.65 | 44.84 | 3.8 |
2024-08-18 | Harris | 49.75 | 48.15 | 1.6 |
2024-08-19 | Trump | 48.35 | 44.71 | 3.64 |
2024-08-19 | Harris | 49.35 | 48.21 | 1.14 |
2024-08-20 | Trump | 48.6 | 44.67 | 3.93 |
2024-08-20 | Harris | 49.6 | 48.18 | 1.42 |
2024-08-21 | Trump | 50.25 | 44.03 | 6.22 |
2024-08-21 | Harris | 48.1 | 47.88 | 0.23 |
2024-08-22 | Trump | 52.15 | 44.19 | 7.96 |
2024-08-22 | Harris | 46.8 | 47.94 | -1.14 |
2024-08-23 | Trump | 51.75 | 43.89 | 7.86 |
2024-08-23 | Harris | 47.15 | 47.83 | -0.68 |
2024-08-24 | Trump | 50.15 | 43.98 | 6.17 |
2024-08-24 | Harris | 48.4 | 48.05 | 0.35 |
2024-08-25 | Trump | 50.2 | 44.69 | 5.51 |
2024-08-25 | Harris | 48.65 | 48.44 | 0.21 |
2024-08-26 | Trump | 49.55 | 44.37 | 5.18 |
2024-08-26 | Harris | 49.6 | 47.97 | 1.63 |
2024-08-27 | Trump | 49.45 | 44.69 | 4.76 |
2024-08-27 | Harris | 49.45 | 48.26 | 1.19 |
2024-08-28 | Trump | 50.35 | 44.19 | 6.16 |
2024-08-28 | Harris | 48.35 | 48.03 | 0.32 |
2024-08-29 | Trump | 50.3 | 44.14 | 6.16 |
2024-08-29 | Harris | 48.4 | 47.99 | 0.41 |
2024-08-30 | Trump | 49.8 | 44.22 | 5.58 |
2024-08-30 | Harris | 48.3 | 47.95 | 0.35 |
2024-08-31 | Trump | 49.95 | 44.21 | 5.74 |
2024-08-31 | Harris | 48.55 | 47.84 | 0.71 |
2024-09-01 | Trump | 50.25 | 44.08 | 6.17 |
2024-09-01 | Harris | 48.25 | 47.67 | 0.58 |
2024-09-02 | Trump | 50.85 | 44.55 | 6.3 |
2024-09-02 | Harris | 47.75 | 48.12 | -0.37 |
2024-09-03 | Trump | 51.75 | 44.58 | 7.17 |
2024-09-03 | Harris | 47.05 | 47.89 | -0.84 |
2024-09-04 | Trump | 51.15 | 45.26 | 5.89 |
2024-09-04 | Harris | 47.65 | 47.86 | -0.21 |
2024-09-05 | Trump | 52.95 | 45.72 | 7.23 |
2024-09-05 | Harris | 46 | 48.11 | -2.11 |
2024-09-06 | Trump | 52.8 | 45.96 | 6.84 |
2024-09-06 | Harris | 45.9 | 47.9 | -2 |
2024-09-07 | Trump | 50.55 | 45.99 | 4.56 |
2024-09-07 | Harris | 47.75 | 47.87 | -0.12 |
2024-09-08 | Trump | 50 | 45.73 | 4.27 |
2024-09-08 | Harris | 47.55 | 47.9 | -0.35 |
AFOS · USA 2024 Electoral Divergence Dataset
🌐 English · Español · Português
Open dataset cross-referencing opinion polls × prediction markets × press coverage for the 2024 U.S. presidential election (election day 5 November 2024, Kamala Harris vs Donald Trump), built in the same spirit as the AFOS Brazil 2026 dataset: sources are reported side by side with explicit divergence, not blended into a single average, including where the market was wrong.
Maintained by AFOS Analytics. Part of AFOS's expansion of its electoral-divergence method beyond Brazil. No personal data, only public electoral information.
📚 Academic release: this dataset also has a citable, versioned deposit on Harvard Dataverse, DOI 10.7910/DVN/3DJCW5, in the AFOS Analytics collection (alongside the Brazil 2026 dataset). Cite: Felipe, Andre, 2026, "AFOS - USA 2024 Electoral Divergence Dataset", https://doi.org/10.7910/DVN/3DJCW5, Harvard Dataverse, V1.
English
What makes 2024 a uniquely honest case: two markets disagreed.
On the eve of the vote (4 Nov 2024), Polymarket's two big election markets pointed in opposite directions, and the result vindicated one while refuting the other:
| Signal | Eve of vote (4 Nov) | Result | Verdict |
|---|---|---|---|
| Winner market (electoral college, US$ 3.7 bn, the largest election market in history) | Trump 56.4% × Harris 43.5% | Trump won the presidency (312-226) | ✅ right |
| Popular-vote market (US$ 628 M) | Trump 25.7% × Harris 74.1% | Trump won the popular vote | ❌ wrong |
| National polls (7-day avg vote share) | Trump 47.8% × Harris 48.4% (near-tie) | Trump +1.5pp (49.8% × 48.3%) | within margin of error |
The winner market's conviction that Trump would win ran well ahead of a poll near-tie, and was validated. The popular-vote market did the opposite, favoring Harris, and missed (a Republican had not won the popular vote since 2004). The polls, often maligned, landed close. We report all three, the market's hit and its miss, because the validator is the real result, not a flattering narrative.
Contents (start with the polls):
| Path | Rows | Content |
|---|---|---|
polls/usa-national-polls.csv |
3,691 | National general-election voting intention (Harris & Trump), long format (one row per candidate × poll), from FiveThirtyEight's 2024 poll database. Full provenance: pollster, rating, methodology, sample, population (LV/RV/A), source URL. |
data/usa-winner-market-timeseries.csv |
613 | PRIMARY AXIS. Daily Polymarket win-probability (Trump & Harris) from the "Presidential Election Winner 2024" market, electoral college, US$ 3.7 bn total volume. |
data/usa-popularvote-market-timeseries.csv |
615 | COUNTERPOINT. Daily win-probability from the "Popular Vote Winner 2024" market (US$ 628 M), the market that favored Harris and erred. |
data/usa-poll-aggregate-timeseries.csv |
1,322 | 7-day trailing average of national poll vote share (Trump & Harris). |
data/usa-divergence-timeseries.csv |
218 | Market × poll divergence, winner-market win-probability vs poll vote share, daily, for the Harris-Trump head-to-head period (after Biden withdrew, 21 Jul 2024). |
press/usa-2024-press-timeline.csv |
7 | Curated, Wayback-archived press timeline cross-referencing the market×poll tension as it unfolded (the AFOS press axis). |
data/usa-case-summary.json |
n/a | Validated-case summary (result, both markets, polls, honesty note). |
data/usa-winner-poly-raw.json, data/usa-popularvote-poly-raw.json |
n/a | Raw Polymarket payloads (event + per-candidate price histories), kept for provenance. |
Market data fetched from Polymarket's gamma-api + clob (US-resolving function). The divergence axis uses the winner (electoral-college) market, because that is where the market diverged from the poll near-tie and was validated; the popular-vote market is included in full as an honest counterpoint. naive_gap_pp = market win-probability − poll vote share: different units (probability vs share), reported raw and not scale-reconciled.
⚖️ The reading, why divergence (and honesty) beats the average
- Winner market × polls, the validated signal. Through the Harris-Trump race the winner market kept Trump favored to win (probability about 49-63%) while national polls measured a near-tie in vote share (Trump about 45-48%). The market's conviction led the poll near-tie by roughly +3 to +16 points of win-probability, and the result (Trump) validated it.
- Popular-vote market, the honest miss. The same platform's popular-vote market favored Harris (74% on the eve) and was wrong: Trump won the popular vote (49.8% × 48.3%). Two markets, opposite calls, one right and one wrong, a caution that prediction markets are not monolithic and not infallible.
- The polls were close. 2024 national polls clustered around a tie; Trump's +1.5pp popular-vote win sat within normal polling error. This was not a "polling failure", a point the post-election coverage makes explicitly (see the press timeline).
📰 Press timeline, the third axis (market × poll × press)
The defining meta-story of 2024 was the market-versus-polls divergence itself, covered in real time. Each anchor below was verified live and preserved in the Internet Archive Wayback Machine for permanent citation. Primary sources (AP race call, WSJ "Théo" original) are attributed even where linked via an accessible carrier (NPR/PBS/NBC).
| Date | Outlet | Maps to | Headline |
|---|---|---|---|
| 18 Oct 2024 | Fortune | market × poll diverge | "A handful of pro-Trump bettors have dumped more than $25 million into Polymarket, swaying election odds in his favor" |
| 21 Oct 2024 | Al Jazeera | poll near-tie | "Early voting in full swing… Harris and Trump tied in polls" |
| 24 Oct 2024 | NBC News (orig. WSJ) | market conviction | "French trader bet over $28 million on Trump election win using 4 Polymarket accounts" |
| 6 Nov 2024 | NPR (orig. AP) | result (validator) | "Donald Trump wins the White House, according to AP race call" |
| 6 Nov 2024 | PBS NewsHour (orig. AP) | result (validator) | "AP Race Call: Donald Trump wins Pennsylvania" |
| 8 Nov 2024 | CNN | market vindicated | "How prediction markets saw something the polls and pundits didn't" |
| 30 Nov 2024 | NBC News | poll post-mortem (honesty) | "What the 2024 polls got right, and what they got wrong" |
Full URLs and Wayback snapshots in press/usa-2024-press-timeline.csv / .json.
Provenance, attribution & license
Polls, FiveThirtyEight (CC BY 4.0). Poll toplines come from FiveThirtyEight's public 2024 president-poll database. FiveThirtyEight was wound down in 2025 and its live endpoint no longer serves the CSV; this dataset uses the Internet Archive Wayback Machine snapshot of 4 Nov 2024 (archived CSV), a frozen, permanently citable copy. The CC BY 4.0 attribution obligation does not lapse with the site: please credit FiveThirtyEight / ABC News (compiler) and the original polling firms (e.g. NYT/Siena, Marquette, Emerson, Quinnipiac). Nothing is imputed or smoothed; missing values are left blank.
Market odds come from the public Polymarket markets. Press anchors are public articles, archived in the Wayback Machine.
License (dual): data → CC BY 4.0 (LICENSE-CC-BY-4.0); code/scripts → Apache 2.0 (LICENSE-APACHE-2.0), matching the AFOS repo root and Hugging Face mirror. Please attribute AFOS Analytics, FiveThirtyEight / ABC News, and the original pollsters.
Cite: AFOS Analytics. USA 2024 Electoral Divergence Dataset. Hugging Face, 2026. CC BY 4.0. (see CITATION.cff)
Disclaimer: observational research. Not investment advice, not voting guidance.
Español
Dataset abierto que cruza encuestas × mercados de predicción × cobertura de prensa para la elección presidencial de EE. UU. 2024 (5 nov 2024, Kamala Harris vs Donald Trump), con divergencia explícita entre fuentes, incluido dónde el mercado se equivocó.
Lo que hace de 2024 un caso singularmente honesto: dos mercados se contradijeron. En la víspera (4 nov):
- Mercado de ganador (colegio electoral, US$ 3,7 bn, el mayor mercado electoral de la historia): Trump 56,4% × Harris 43,5% → acertó (Trump ganó la presidencia, 312-226).
- Mercado de voto popular (US$ 628 M): Trump 25,7% × Harris 74,1% → se equivocó (Trump ganó el voto popular; ningún republicano lo ganaba desde 2004).
- Encuestas (promedio 7 días): Trump 47,8% × Harris 48,4% (empate técnico); resultado Trump +1,5pp (49,8% × 48,3%), dentro del margen de error.
El eje de divergencia usa el mercado de ganador (donde el mercado divergió del empate de las encuestas y fue validado); el de voto popular se incluye completo como contrapunto honesto. naive_gap_pp = probabilidad de ganar del mercado − voto de la encuesta (unidades distintas, sin reconciliar).
polls/usa-national-polls.csv, intención de voto nacional (Harris & Trump), formato largo, de la base de FiveThirtyEight (3.691 filas).data/usa-winner-market-timeseries.csv/usa-popularvote-market-timeseries.csv, probabilidad diaria de Polymarket (colegio = eje; voto popular = contrapunto).data/usa-divergence-timeseries.csv, divergencia mercado × encuesta (probabilidad de ganar vs voto), periodo Harris-Trump.press/usa-2024-press-timeline.csv, línea de tiempo de prensa curada y archivada en Wayback (mercado × encuesta × prensa).
La lectura: el mercado de ganador acertó frente al empate de las encuestas (señal validada); el de voto popular falló (contrapunto honesto); las encuestas quedaron cerca. El validador es el resultado real, no un relato favorable.
Fuentes/licencia: encuestas de FiveThirtyEight / ABC News (CC BY 4.0, vía snapshot de Wayback del 4 nov 2024), atribuir a FiveThirtyEight y a las encuestadoras originales; odds de Polymarket; prensa archivada en Wayback. Licencia dual: datos CC BY 4.0, scripts Apache 2.0. Atribuir a AFOS Analytics. Investigación observacional; no es asesoría de inversión ni orientación de voto.
Português
Dataset aberto cruzando pesquisas × mercados de previsão × cobertura de imprensa para a eleição presidencial dos EUA 2024 (5/nov/2024, Kamala Harris × Donald Trump), com divergência explícita entre fontes, inclusive onde o mercado errou.
O que torna 2024 um caso singularmente honesto: dois mercados se contradisseram. Na véspera (4/nov):
- Mercado de vencedor (colégio eleitoral, US$ 3,7 bi, o maior mercado eleitoral da história): Trump 56,4% × Harris 43,5% → acertou (Trump venceu a presidência, 312-226).
- Mercado de voto popular (US$ 628 M): Trump 25,7% × Harris 74,1% → errou (Trump venceu o voto popular; republicano não ganhava o voto popular desde 2004).
- Pesquisas (média de 7 dias): Trump 47,8% × Harris 48,4% (empate técnico); resultado Trump +1,5pp (49,8% × 48,3%), dentro da margem de erro.
O eixo de divergência usa o mercado de vencedor (onde o mercado divergiu do empate das pesquisas e foi validado); o de voto popular entra completo como contraponto honesto. naive_gap_pp = probabilidade de vencer do mercado − voto da pesquisa (unidades diferentes, não reconciliado).
polls/usa-national-polls.csv, intenção de voto nacional (Harris & Trump), formato longo, da base do FiveThirtyEight (3.691 linhas).data/usa-winner-market-timeseries.csv/usa-popularvote-market-timeseries.csv, probabilidade diária do Polymarket (colégio = eixo; voto popular = contraponto).data/usa-divergence-timeseries.csv, divergência mercado × pesquisa (probabilidade de vencer vs voto), período Harris-Trump.press/usa-2024-press-timeline.csv, linha do tempo de imprensa curada e arquivada no Wayback (mercado × pesquisa × imprensa).
⚖️ A leitura, por que a divergência (e a honestidade) supera a média
- Mercado de vencedor × pesquisas, o sinal validado. O mercado manteve Trump favorito a vencer (cerca de 49-63%) enquanto as pesquisas mediam empate no voto (cerca de 45-48%). A convicção do mercado ia +3 a +16 pontos à frente do empate, e o resultado (Trump) validou.
- Mercado de voto popular, o erro honesto. O mesmo Polymarket dava Harris (74% na véspera) e errou. Dois mercados, chamadas opostas, um certo e um errado, alerta de que mercados de previsão não são monolíticos nem infalíveis.
- As pesquisas ficaram perto. Trump +1,5pp no voto popular ficou dentro do erro amostral; não foi "pesquisa furada" (a imprensa pós-eleição diz isso explicitamente).
Fontes/licença: pesquisas do FiveThirtyEight / ABC News (CC BY 4.0, via snapshot do Wayback de 4/nov/2024), atribuir ao FiveThirtyEight e aos institutos originais; odds do Polymarket; imprensa arquivada no Wayback. Licença dual: dados CC BY 4.0, scripts Apache 2.0. Atribuir a AFOS Analytics. Pesquisa observacional; não é recomendação de investimento nem orientação de voto.
Sources / Fuentes / Fontes: FiveThirtyEight 2024 president polls (CC BY 4.0, via Wayback) · Polymarket (winner + popular-vote markets) · curated press (AP/NPR/PBS, Fortune, CNN, NBC, Al Jazeera, Wayback-archived). Column definitions in DATA_DICTIONARY.md.
Structural context (World Bank)
Beyond the divergence data, this dataset ships data/usa-structural-context.csv: official, open World Bank indicators that frame the country, governance (Worldwide Governance Indicators, 0-100 scale) plus economy & education (World Development Indicators: population, GDP, GDP per capita, inflation, public education spending, expected years of schooling). These are annual structural indicators that contextualize the country; they do not predict the electoral outcome. Columns are documented in DATA_DICTIONARY.md.
- Downloads last month
- 107


