NOW AVAILABLE: Essentials of Poltical Analysis 7e | R Companion 4e | SPSS 7e | Stata 5e | Excel 1e 🎵
NOW AVAILABLE: Essentials 7e | R Companion 4e | SPSS 7e | Stata 5e | Excel 1e 🎵
NOW AVAILABLE: Essentials 7e | More Textbooks 🎵
If this link is broken, please
You can also
(will be reviewed).

Rethinking Random Forest vs. Logit for Predicting Rare Civil War Onsets

Why This Study Matters

Yu Wang addresses a practical and methodological problem that matters to scholars of political violence and anyone using predictive models on rare events: how to fairly compare machine-learning algorithms (here, random forests) with standard statistical models (logistic regression) when the outcome of interest—civil war onset—is class-imbalanced (very few onsets relative to non-onsets).

What Yu Wang Does

This comment scrutinizes how methodological choices in model training, evaluation, and presentation shape conclusions about comparative performance. Rather than presenting a new dataset, the piece evaluates how different decisions—choice of performance metric, resampling or weighting strategies, tuning procedures, and validation approaches—affect whether one concludes that a random forest or a logistic regression better predicts civil war onsets.

Approach and Key Considerations

  • Compares two model classes: random forests (a tree-based ensemble learning method) and logistic regression (a parametric, commonly used approach for binary outcomes).
  • Focuses on the statistical challenge of class imbalance in civil war onset data and explains why standard accuracy can be misleading when events are rare.
  • Discusses alternative evaluation metrics and validation techniques better suited to rare-event prediction (for example, precision–recall considerations, class weighting, and resampling), and highlights the importance of transparent tuning and reporting.

What Readers Should Take Away

The comment cautions against simple, off-the-shelf model comparisons in conflict research and emphasizes that conclusions about model superiority depend heavily on analytic choices. It offers practical guidance for researchers: select performance metrics aligned with research goals, document resampling and tuning methods, and weigh trade-offs between predictive performance and interpretability when working with class-imbalanced political-event data. These recommendations aim to improve the reliability and transparency of predictive work on civil war onset.

Political Analysis
Comparing Random Forest With Logistic Regression for Predicting Class-Imbalanced Civil War Onset Data: A Comment was authored by Yu Wang. It was published in Pol. An. in 2019. Find on Google Scholar10.1017/pan.2018.40
Methodology subfield banner