Longitudinal Feature Stability Across Election Cycles (2012-2024) using Decision Tree, Random Forest, and XGBoost
Norman A. Handy, Jr. - Independent Researcher
Using a decision tree on the 2012 OutlookâonâLife (OOL) Survey (where other algorithms failed due to extreme class imbalance), this study identifies the top survey questions predicting Tea Party membership. The current scholarship extends the analysis to 2016â2024 ANES data using Decision Tree, Random Forest, and XGBoost to predict strong Trump support (MAGA). The results show that the Black Lives Matter thermometer (therm_blm) is the direct successor to BWEqulJust_7 (criminal justice fairness), while work_way_up ("Blacks should work their way up without special favors") is the direct successor to BWEqulOppty (racial equality of achievement opportunity). This one-to-one mapping provides a precise empirical test of Dr. Ronald W. Walters' theory that racial attitudes adapt to new political symbols.
How do researchers measure racial attitudes when explicit racism is socially unacceptable? Political strategists have long used coded language. Lee Atwater famously explained that by the 1980s, overt racial slurs were replaced by abstract economic policies, with the understanding that âBlacks get hurt worse than Whitesâ as a byproduct. Dr. Ronald Walters systematized this insight, coining the term proxy issues â seemingly neutral survey questions or policy positions that serve as vehicles for underlying racial resentment.
This study applies machine learning to two distinct datasets:
2012 OutlookâonâLife (OOL) Survey, targeting Tea Party membership. Only a decision tree produced stable results due to the very small minority class (â2% Tea Party members).
2016â2024 ANES Surveys, targeting strong Trump support (feeling thermometer ⼠70). Here, Decision Tree, Random Forest, and XGBoost all perform well.
The goal is to identify which survey questions are the strongest predictors and to track how those proxies change from the Tea Party era to the MAGA era.
The feature importance tables below show the top predictors for 2016, 2020, and 2024 after dropping the lowâimportance features (police_treat, police_howmuch, discrimination_blacks). The BLM thermometer (therm_blm) is the dominant variable in every year and model, while work_way_up is consistently second or third.
The table shows Decision Tree results (the most interpretable model). Full tables for all three models are provided in the appendix.
 Footnote: Feature importances are normalized to sum to 1.0. A value of 0.46 means that variable accounted for 46% of the total predictive power (impurity reduction) of the decision tree; 0.75 means 75%, etc. The higher the number, the more the model relies on that survey question to separate Trump supporters from nonâsupporters.
Interpretation: Walters & Atwater
Atwaterâs Blueprint â Waltersâs Theory â Empirical Test
This represents a key evolution from the 2012 model. In 2012, BWEqulOppty (racial equality of achievement opportunity) was the top predictor and BWEqulJust_7 (criminal justice fairness) was second. By 2016-2024, the focus shifted. The therm_blm (BLM) thermometer is now the dominant variable in every year, while work_way_up, the successor to BWEqulOppty, is consistently second or third.
Explanation for the evolution of the 2012 model
The emergence of therm_blm variable to the top of the feature importance rankings is not accidental.
2014â2016 - Police bodyâworn cameras expand rapidly. In August 2014, President Obama proposes federal funding to reimburse half the cost of bodyâcamera programs. By 2016, major cities (Washington, D.C., New York, Los Angeles) have launched pilot programs.
2016Â â therm_blm already dominates the Decision Tree (0.46 importance). By this point, the public had seen videos of the deaths of Eric Garner, Michael Brown, Tamir Rice, Walter Scott, Freddie Gray, Alton Sterling, and Philando Castile. Bodyâworn cameras were becoming standard.
2018â2020 - Bodyâworn cameras become nearly universal in large urban police departments. By 2020, footage is routinely released within days of a shooting, shaping public perception almost immediately.
2020Â â therm_blm reaches 0.75 importance. This is the year of Breonna Taylorâs killing, George Floydâs murder (viral video), and the largest racial justice protests in a generation. The BLM thermometer captured the raw, visceral reaction to what people had watched on their phones, televisions, and computers.
2024Â â therm_blm remains the top predictor (0.48 importance). The baseline awareness of police violence had permanently shifted. BLM was no longer a hashtag. It is a firmly established political symbol.
The one-to-one mapping provides a clear empirical test of Waltersâ theory: proxy issues evolve in lockstep with the political discourse they reflect. This study demonstrates that machine learning can uncover the evolving proxy issues that express racial and social resentment in American politics. From the Tea Party to MAGA, the undocumented immigrant thermometer remains a consistent strong predictor, while the BLM thermometer rises to dominance as the direct successor to the criminal justice fairness question. The work_way_up variable persists as the successor to the racial equality of achievement opportunity question.
Do Proxies Add Value Beyond Demographics?
To test whether the proxy questions capture attitudes independent of standard demographic and partisan controls, I reâtrained the Decision Tree models on an expanded set of features that included age, education, income (where available), gender, race, rural/urban, and party identification (7âpoint scale). All models were evaluated on a 20% test holdout (stratified).
The results show that adding demographics â especially party ID â improves predictive performance, but the original proxies retain meaningful importance.
In 2016, the demographicâaugmented model improved AUC from 0.754 to 0.822. The decision tree feature importances show that party_id (party identification) accounted for 60% of the predictive power, yet therm_undoc (undocumented immigrants) still contributed 14%, indicating that xenophobia adds information beyond partisanship.
In 2020, the improvement was even clearer: AUC rose from 0.895 to 0.935. party_id dominated with 86% importance, but therm_blm (4%) and blacks_gotten_less (2.6%) remained nonâtrivial.
In 2024, only limited demographics were available (age, gender, race, rural â party ID was missing for most respondents). Adding these did not improve performance (AUC dropped slightly from 0.839 to 0.806). In this year, the proxies themselves dominated: work_way_up (44%), therm_undoc (17%), and therm_blm (18%) were the top three features.
Across all years, the SHAP dependence plots for therm_blm (BLM thermometer) revealed that the feature with the strongest interaction was blacks_gotten_less (âBlacks have gotten less than they deserveâ). The correlation between blacks_gotten_less and the SHAP values of therm_blm was consistently moderate to strong:
This means that the effect of BLM thermometer on Trump support is not uniform â it is amplified among respondents who believe Blacks have gotten less than they deserve, pointing to an interaction between antiâBlack grievance and attitudes toward the BLM movement
SHAP Bar Plots - Global Feature Importance
Figure 1: SHAP bar plots for 2016, 2020, and 2024. The bars show the mean absolute SHAP value for each feature â the average impact of that feature on the modelâs prediction (positive or negative). Higher bars indicate greater overall importance.
In 2016, therm_blm is the most important feature, followed by work_way_up and therm_undoc. In 2020, therm_blm dominates with a large margin. In 2024, the most important feature is work_way_up, with therm_blm as a close second. This shift suggests that while BLM remains a powerful proxy, other attitudes (e.g., toward undocumented immigrants) may have gained relative importance by 2024.
Figure 2: SHAP summary dot plots. Each dot represents one survey respondent. The xâaxis shows the SHAP value (positive â pushes prediction toward Trump support; negative â pushes away). Color indicates the feature value (red = high, blue = low).
For therm_blm, red dots (warm toward BLM) consistently appear on the left (negative SHAP) across all years, meaning warmer BLM feelings decrease Trump support probability. Blue dots (cold toward BLM) appear on the right (positive SHAP). This pattern is strongest in 2020, where most therm_blm dots are concentrated on the far left. Other top features, such as work_way_up and therm_undoc, show the opposite direction (higher values â positive SHAP).
Figure 3: Dependence plots for therm_blm. The xâaxis shows the BLM thermometer values as coded in the ANES data (range 0â1000, where 1000 corresponds to the warmest possible feeling). The yâaxis is the SHAP value for that feature (positive â pushes toward Trump support; negative â pushes away). Points are colored by the interacting feature with the highest correlation â here, blacks_gotten_less (âBlacks have gotten less than they deserveâ).
In 2020, the downward slope is steepest: higher BLM warmth (toward 1000) sharply lowers Trump support probability. The color reveals that respondents who also agree with blacks_gotten_less (high values â i.e., believe Blacks got less than they deserve) show even more negative SHAP, indicating an interaction between antiâBlack grievance and BLM attitudes.
Note: SHAP (SHapley Additive exPlanations) values measure how much each feature pushes a prediction away from the baseline (average Trump support rate). Positive SHAP â increases Trump support probability; negative â decreases. The bar plot shows mean absolute SHAP (overall importance). The summary dot plot shows direction and distribution. The dependence plot shows how the effect of therm_blm changes with its value and interacts with other features
Appendix: Full Feature Importance TablesÂ
Figure 4: Full feature importances by year and model (Decision Tree, Random Forest, XGBoost).
Identifying proxies is not about labeling individuals. It is about understanding how systems of racial resentment operate beneath the surface â a necessary step for those who wish to counteract the politics of division.
Explore the decision tree models live: Proxy Politics Dashboard
Atwater, L. (1981). Interview (excerpts).  Â
Walters, R. W. (2003). White Nationalism, Black Interests. Wayne State University Press.   Â
ANES (2016, 2020, 2024). American National Election Studies.  Â
Robnett, Belinda, and Tate, Katherine. Outlook on Life Surveys, 2012. Inter-university Consortium for Political and Social Research [distributor], 2015-01-16. https://doi.org/10.3886/ICPSR35348.v1