PROBABILISTIC FORECASTING OF THE 2026 BRAZILIAN PRESIDENTIAL RUNOFF USING ECOLOGICAL INFERENCE AND HISTORICAL VOTE TRANSITION MATRICES

Abstract

In two-round elections, the final outcome depends on where the votes of eliminated candidates, blank and null votes and abstention go. This article estimates vote transition matrices through ecological inference, using polling-station data from the 2014, 2018 and 2022 Brazilian presidential elections, and combines them into a probabilistic forecast of the 2026 runoff made before it took place. Across three retrospective exercises, which involve only two distinct target elections, the basic model has a national mean absolute error of 1.11 percentage points, compared with 3.30 points for the naive model. In the final model, which shrinks state estimates, the national error is 1.24 points and the mean state-level error falls from 2.20 to 1.72 points. The classification of eliminated candidates adds predictive information, without identifying individual transitions or causal effects of ideology. Under the adopted probabilistic specification, the simulated median is 47.9% of valid votes for Lula and 52.1% for Flávio Bolsonaro, with a conditional 95% interval of 44.6% to 51.3% for Lula, who wins in 12.1% of twenty thousand simulations. This frequency is conditional on the model and is not a validated electoral probability. It ranges from 3.6% to 23.5% depending on the scale of the structural shock and from 2.1% to 20.7% when one historical election is excluded, while the median stays between 47.1% and 48.5%.

Author Biographies

Dâmocles Aurélio Nascimento da Silva Alves, University of Pernambuco

PhD in Biometrics and Applied Statistics from Universidade Federal Rural de Pernambuco (UFRPE) and Adjunct Professor at Universidade de Pernambuco (UPE), working in Probability and Statistics.

Lianny Milenna de Sá Melo, Universidade de Pernambuco e na Secretaria de Desenvolvimento Social, Direitos Humanos, Juventude e Políticas sobre Drogas da Prefeitura do Recife

Degree in Psychology from the Federal University of Pernambuco (2009), specialization in Organizational and Work Psychology from Faculdade Frassinetti do Recife (2011), master's (2012) and PhD (2017) in Cognitive Psychology from the Federal University of Pernambuco. Develops studies in Cognitive Psychology, mainly on developmental psychology, psychology of learning, psychology of mathematics education, children's knowledge about texts and text comprehension. Works as a psychologist at the University of Pernambuco and at the Secretariat of Social Development, Human Rights, Youth and Drug Policies of the Recife City Hall.

Ana Paula Veras Sobral, Universidade de Pernambuco

Degree in Dentistry from the University of Pernambuco (1992) and PhD in Dentistry (Oral Pathology) from the University of São Paulo (2002), after upgrading from the master's. Currently associate professor (livre-docente) at the University of Pernambuco, permanent member of the Graduate Program in Dentistry. Experience in Oral and Maxillofacial Pathology, researching mainly carcinogenesis, oral complications of antineoplastic treatment, salivary gland tumors, dermatological diseases, immunohistochemistry, molecular biology and digital health. Member of the Accessibility and Inclusion Center (NAI) of UPE and Oral and Maxillofacial Pathologist at the Integrated Center of Pathological Anatomy of the Osvaldo Cruz University Hospital (CIAP/HUOC/UPE).

Arundo Nunes da Silva Júnior, Universidade Federal Rural de Pernambuco

Teaching degree in Mathematics and Master in Biometrics and Applied Statistics from the Federal Rural University of Pernambuco (2006), and PhD student in Biometrics and Applied Statistics (2022.1) at UFRPE.

Maria Luciene Andrade Silva

Master in Education from the University of Pernambuco; specialist in History Teaching from the Rural University of Pernambuco; specialist in School Management from the Federal University of Pernambuco; specialist in Management and Evaluation of Public Education from UPE; degree in History from the Federal University of Pernambuco (1992). School principal since 04/01/2009.

References

BERTHOLINI, F.; RENNÓ, L.; TURGEON, M. Against all odds: forecasting Brazilian presidential elections in times of political disruption. Revista Latinoamericana de Opinión Pública, Salamanca, v. 11, n. 1, 2022. Disponível em: https://revistas.usal.es/cuatro/index.php/1852-9003/article/view/25882 Acesso em: 6 out. 2026. DOI: https://doi.org/10.14201/rlop.25882

BRASIL. Tribunal Superior Eleitoral. Portal de Dados Abertos: resultados das eleições de 2014, 2018 e 2022. Brasília, DF: TSE, 2026a. Disponível em: https://dadosabertos.tse.jus.br Acesso em: 6 out. 2026.

BRASIL. Tribunal Superior Eleitoral. Resultados: eleição geral ordinária 2026, 1º turno, presidente. Brasília, DF: TSE, 2026b. Disponível em: https://resultados.tse.jus.br Acesso em: 6 out. 2026.

BUNKER, K. A two-stage model to forecast elections in new democracies. International Journal of Forecasting, Amsterdam, v. 36, n. 4, p. 1407-1419, 2020. DOI: https://doi.org/10.1016/j.ijforecast.2020.02.004

BUNKER, K. Forecasting two-horse races in new democracies: accuracy, precision and error. Revista Latinoamericana de Opinión Pública, Salamanca, v. 11, n. 1, 2022. Disponível em: https://revistas.usal.es/cuatro/index.php/1852-9003/article/view/25374 Acesso em: 6 out. 2026. DOI: https://doi.org/10.14201/rlop.25374

COX, G. W. Making votes count: strategic coordination in the world’s electoral systems. Cambridge: Cambridge University Press, 1997. DOI: https://doi.org/10.1017/CBO9781139174954

EFRON, B.; TIBSHIRANI, R. J. An introduction to the bootstrap. New York: Chapman & Hall, 1993. DOI: https://doi.org/10.1007/978-1-4899-4541-9

FRANCE. Ministère de l’Intérieur. Résultats des élections législatives 2024. Paris: Ministère de l’Intérieur, 2024. Disponível em: https://www.resultats-elections.interieur.gouv.fr Acesso em: 6 out. 2026.

FUKS, M.; RIBEIRO, E.; BORBA, J. From antipetismo to generalized antipartisanship: the impact of rejection of political parties on the 2018 vote for Bolsonaro. Brazilian Political Science Review, São Paulo, v. 15, n. 1, 2021. DOI: https://doi.org/10.1590/1981-3821202100010003

GELMAN, A. et al. Bayesian data analysis. 3. ed. Boca Raton: CRC Press, 2013.

GOODMAN, L. A. Ecological regressions and behavior of individuals. American Sociological Review, Washington, DC, v. 18, n. 6, p. 663-664, 1953. DOI: https://doi.org/10.2307/2088121

GRAEFE, A. et al. Combining forecasts: an application to elections. International Journal of Forecasting, Amsterdam, v. 30, n. 1, p. 43-54, 2014. DOI: https://doi.org/10.1016/j.ijforecast.2013.02.005

GREINER, D. J.; QUINN, K. M. R × C ecological inference: bounds, correlations, flexibility and transparency of assumptions. Journal of the Royal Statistical Society: Series A, Oxford, v. 172, n. 1, p. 67-81, 2009. DOI: https://doi.org/10.1111/j.1467-985X.2008.00551.x

HARRIS, C. R. et al. Array programming with NumPy. Nature, London, v. 585, p. 357-362, 2020. DOI: https://doi.org/10.1038/s41586-020-2649-2 DOI: https://doi.org/10.1038/s41586-020-2649-2

HUNTER, W.; POWER, T. J. Rewarding Lula: executive power, social policy, and the Brazilian elections of 2006. Latin American Politics and Society, Cambridge, v. 49, n. 1, p. 1-30, 2007. DOI: https://doi.org/10.1111/j.1548-2456.2007.tb00372.x

JACKMAN, S. Pooling the polls over an election campaign. Australian Journal of Political Science, Abingdon, v. 40, n. 4, p. 499-517, 2005. DOI: https://doi.org/10.1080/10361140500302472 DOI: https://doi.org/10.1080/10361140500302472

JENNINGS, W.; WLEZIEN, C. Election polling errors across time and space. Nature Human Behaviour, London, v. 2, p. 276-283, 2018. DOI: https://doi.org/10.1038/s41562-018-0315-6 DOI: https://doi.org/10.1038/s41562-018-0315-6

KING, G. A solution to the ecological inference problem: reconstructing individual behavior from aggregate data. Princeton: Princeton University Press, 1997. DOI: https://doi.org/10.3886/ICPSR01132

LEWIS-BECK, M. S.; STEGMAIER, M. Economic determinants of electoral outcomes. Annual Review of Political Science, Palo Alto, v. 3, p. 183-219, 2000. DOI: https://doi.org/10.1146/annurev.polisci.3.1.183 DOI: https://doi.org/10.1146/annurev.polisci.3.1.183

LINZER, D. A. Dynamic Bayesian forecasting of presidential elections in the states. Journal of the American Statistical Association, Alexandria, v. 108, n. 501, p. 124-134, 2013. DOI: https://doi.org/10.1080/01621459.2012.737735

MCKINNEY, W. Data structures for statistical computing in Python. In: PYTHON IN SCIENCE CONFERENCE, 9., 2010, Austin. Proceedings [...]. Austin: SciPy, 2010. p. 56-61. DOI: https://doi.org/10.25080/Majora-92bf1922-00a DOI: https://doi.org/10.25080/Majora-92bf1922-00a

MIȘCOIU, S.; GHERGHINA, S. Candidate withdrawal in the French 2024 national legislative elections. French Politics, London, v. 23, n. 1, p. 40-57, 2025. DOI: https://doi.org/10.1057/s41253-024-00272-1 DOI: https://doi.org/10.1057/s41253-024-00272-1

O POVO. Renan Santos declarou apoio a Lula ou a Flávio Bolsonaro no 2º turno? Veja o posicionamento dele. 9 out. 2026. Atualizado em 10 out. 2026. Disponível em: https://www.opovo.com.br/noticias/politica/eleicoes/2026/10/09/renan-santos-declarou-apoio-a-lula-ou-a-flavio-bolsonaro-veja.html Acesso em: 11 out. 2026.

PAVÍA, J. M.; ROMERO, R. Improving estimates accuracy of voter transitions: two new algorithms for ecological inference based on linear programming. Sociological Methods & Research, Thousand Oaks, 2022. DOI: https://doi.org/10.1177/00491241221092725 DOI: https://doi.org/10.31124/advance.14716638

PODER360. PSD deixa integrantes livres para escolher apoio no 2º turno. 4 out. 2026. Disponível em: https://www.poder360.com.br/poder-eleicoes-2026/psd-deixa-integrantes-livres-para-escolher-apoio-no-2o-turno/ Acesso em: 11 out. 2026.

RENNÓ, L. R.; HOEPERS, B. Voto estratégico punitivo: transferência de votos nas eleições presidenciais de 2006. Novos Estudos CEBRAP, São Paulo, n. 86, p. 141-161, 2010. DOI: https://doi.org/10.1590/S0101-33002010000100008 DOI: https://doi.org/10.1590/S0101-33002010000100008

ROMERO, R. et al. Assessing uncertainty of voter transitions estimated from aggregated data: application to the 2017 French presidential election. Journal of Applied Statistics, Abingdon, v. 47, n. 13-15, p. 2711-2736, 2020. DOI: https://doi.org/10.1080/02664763.2020.1804842 DOI: https://doi.org/10.1080/02664763.2020.1804842

ROSEN, O. et al. Bayesian and frequentist inference for ecological inference: the R×C case. Statistica Neerlandica, Oxford, v. 55, n. 2, p. 134-156, 2001. DOI: https://doi.org/10.1111/1467-9574.00162 DOI: https://doi.org/10.1111/1467-9574.00162

SAMUELS, D.; ZUCCO, C. Partisans, antipartisans, and nonpartisans: voting behavior in Brazil. Cambridge: Cambridge University Press, 2018. DOI: https://doi.org/10.1017/9781108553742

STOETZER, L. F. et al. Forecasting elections in multiparty systems: a Bayesian approach combining polls and fundamentals. Political Analysis, Cambridge, v. 27, n. 2, 2019. DOI: https://doi.org/10.1017/pan.2018.49 DOI: https://doi.org/10.1017/pan.2018.49

TURGEON, M.; RENNÓ, L. Forecasting Brazilian presidential elections: solving the N problem. International Journal of Forecasting, Amsterdam, v. 28, n. 4, p. 804-812, 2012. DOI: https://doi.org/10.1016/j.ijforecast.2012.04.003

UOL. Ideias muito parecidas com as minhas, diz Flávio sobre apoio de Cury. 8 out. 2026. Disponível em: https://noticias.uol.com.br/eleicoes/2026/10/08/ideias-muito-parecidas-com-as-minhas-diz-flavio-sobre-apoio-de-cury.ghtm Acesso em: 11 out. 2026.

VIRTANEN, P. et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, New York, v. 17, p. 261-272, 2020. DOI: https://doi.org/10.1038/s41592-019-0686-6

WILCOXON, F. Individual comparisons by ranking methods. Biometrics Bulletin, Washington, DC, v. 1, n. 6, p. 80-83, 1945. DOI: https://doi.org/10.2307/3001968

ZUCCO, C. The president’s “new” constituency: Lula and the pragmatic vote in Brazil’s 2006 presidential elections. Journal of Latin American Studies, Cambridge, v. 40, n. 1, p. 29-49, 2008. DOI: https://doi.org/10.1017/S0022216X07003628

How to Cite

Aurélio Nascimento da Silva Alves, D., Milenna de Sá Melo, L., Veras Sobral, A. P., Nunes da Silva Júnior, A., & Luciene Andrade Silva, M. (2026). PROBABILISTIC FORECASTING OF THE 2026 BRAZILIAN PRESIDENTIAL RUNOFF USING ECOLOGICAL INFERENCE AND HISTORICAL VOTE TRANSITION MATRICES. RECIMA21 - Revista Científica Multidisciplinar, 7(11), e7119424. https://doi.org/10.47820/recima21.v7i11.9424
Crossmark logo

Similar Articles

You may also start an advanced similarity search for this article.