From Black Box to Shining Spotlight: Using Random Forest Prediction Intervals to Illuminate the Impact of Assumptions in Linear Regression
Authors:
- 2 October 2022
- journal article
- research article
- Published by Taylor & Francis in The American Statistician
- Vol. 76 (4) , 414-429
Abstract
We introduce a pair of Shiny web applications that allow users to visualize random forest prediction intervals alongside those produced by linear regression models. The apps are designed to help undergraduate students deepen their understanding of the role that assumptions play in statistical modeling by comparing and contrasting intervals produced by regression models with those produced by more flexible algorithmic techniques. We describe the mechanics of each approach, illustrate the features of the apps, provide examples highlighting the insights students can gain through their use, and discuss our experience implementing them in an undergraduate class. We argue that, contrary to their reputation as a black box, random forests can be used as a spotlight, for educational purposes, illuminating the role of assumptions in regression models and their impact on the shape, width, and coverage rates of prediction intervals.Keywords
This publication has 25 references indexed in Scilit:
- Interacting with Predictions2016
- The Need for More Emphasis on Prediction: A “Nondenominational” Model-Based ApproachThe American Statistician, 2014
- Interpreting Random Forest Classification Models Using a Feature Contribution Method2014
- Variable Importance Assessment in Regression: Linear Regression versus Random ForestThe American Statistician, 2009
- On-line predictive linear regressionThe Annals of Statistics, 2009
- Search for the smallest random forestStatistics and Its Interface, 2009
- Bias in random forest variable importance measures: Illustrations, sources and a solutionBMC Bioinformatics, 2007
- Random Forests and Adaptive Nearest NeighborsJournal of the American Statistical Association, 2006
- Random ForestsMachine Learning, 2001
- Statistical Modeling: The Two Cultures (with comments and a rejoinder by the author)Statistical Science, 2001