Overview: Computing and Visualizing Quantitative Predictions of Logical Models
logical is open-source software for computing and visualizing the quantitative predictions of a logical model of minority representation. The logical model is a parsimonious mathematical model for explaining the emergence and electoral victory of minority candidates at the district level. Theoretically, it assumes that minority candidates strategically decide whether to run for office depending on the likely probability of winning in a given district. Empirically, the model predicts the probability that a district has minority candidacy as well as electoral victory just with two variables (predictors).
Practically, the logical model can be a useful tool for answering common questions regarding race and representation, redistricting, and voting rights. In contrast to other empirical models that require data to answer such questions, the logical model seeks to provide quantitative predictions based on theory.
For theory and existing applications, see
- Atsusaka (2021) “A Logical Model for Predicting Minority Representation: Application to Redistricting and Voting Rights Cases” American Political Science Review 115 (4), 1210-1225.
- Hankinson, Loffredo, & Magazinnik (2026). “Assessing District Elections as a Remedy in State Voting Rights Acts”. Available at SSRN 7154498.
What Are Logical Models?
Before introducing this logical model, let us briefly explain what logical models are in the first place. Quantitatively predictive logical models (or logical models in short) are mathematical models that are designed to explain and predict political outcomes. Logical models are constructed based on the logical bounds of target outcomes (e.g., minimum and maximum possible values) and generate quantitative predictions about them. This methodological approach was developed by Rein Taagepera and Matthew Shugart in the literature of electoral systems, though it can be applied to any outcomes in social science.
To learn more about this approach, see
- Taagepera (2007). Predicting Party Sizes: The Logic of Simple Electoral Systems.
- Taagepera (2008). Making Social Sciences More Scientific: The Need for Predictive Models.
- Shugart & Taagepera (2017). Votes from Seats: Logical Models of Electoral Systems.
The vignette series
The next vignette, Theory, explains the logical model and its quantities. The five application vignettes then demonstrate how to:
- make district-level predictions;
- calculate or simulate
M; - simulate jurisdiction-level counts;
- compare redistricting scenarios; and
- find a scenario’s sweet spot.
The package also includes the Louisiana mayoral and state legislative
datasets used to evaluate the model. Load louisiana or
state_legislative with data() and consult
?louisiana or ?state_legislative for their
codebooks.
A first prediction
For a district with M = 50 and C = 70,
calculate the probability of minority candidate emergence and electoral
success as follows:
minorep(M = 50, C = 70)
#> [1] 1minorep() returns a full-precision probability. Round it
only when presenting the result in a table, figure, or narrative.
Reference
Atsusaka, Yuki. 2021. “A Logical Model for Predicting Minority Representation: Application to Redistricting and Voting Rights Cases.” American Political Science Review 115 (4): 1210–1225. https://doi.org/10.1017/S000305542100054X