Statistical Modeling

Statistics
Computational Social Sciences

This repository gathers the data, scripts, and analyses conducted for the final project of the Statistical Modeling course, taught by Professor Luiz Max Fagundes de Carvalho (FGV EMAp) (@maxbiostat). The objective was to apply modeling, inference, and prediction techniques, learned throughout this course and the Statistical Inference course, to real-world data.

Author

Felipe Lamarca

Published

July 15, 2023

About the project

I chose to analyze the electoral dynamics for the position of federal deputy in the 2022 elections. Specifically, I explore multilevel (hierarchical) models, logistic regression, and model evaluation methods, such as AUC, AIC, accuracy, and \(R^2\). Additionally, I engage with part of the Political Science literature that uses Statistical Modeling techniques to extract information about Brazilian elections.

This work resulted in this report, the summary of which is as follows:

Who Wants to Be a Deputy? A Multilevel Analysis of the 2022 Elections for the Chamber of Deputies

What increases a candidate’s chances of being elected? The specialized Political Science literature has sought to answer this question through various approaches over time. This work provides a statistical analysis of the 2022 electoral data to evaluate what impacts the chances of federal deputy candidates being elected in Brazil. Statistical modeling techniques are applied, including multilevel logistic regression models and metrics for evaluating the explanatory and predictive capacity of models. The results suggest that campaign expenditures, with variations between parties, account for a significant portion of the results at the polls.

Keywords: Legislative Elections; Logistic Regression; Multilevel Models; Model Evaluation.

The work has been completed and received the highest grade.

Citation

BibTeX citation:
@online{lamarca2023,
  author = {Lamarca, Felipe},
  title = {Statistical {Modeling}},
  date = {2023-07-15},
  url = {https://github.com/felipelmc/Statistical-Modeling},
  langid = {en}
}
For attribution, please cite this work as:
Lamarca, Felipe. 2023. “Statistical Modeling.” July 15, 2023. https://github.com/felipelmc/Statistical-Modeling.