Regression & Residual Visualization App

less than 1 minute read

Visualizing Residuals About the Regression Line


Students in Foundational Statistics courses often find the concept and behaviours of prediction errors (residuals) to be confusing and intimidating (Math!). I created this Interactive Shiny App in order to help students visualize the balancing of prediction errors about the regression line through the use of a ranked color gradient (i.e. the color changes for each data value of increasing prediction error). Other interesting features to explore in this app are the relationships that exist between the regression line, prediction errors, correlation, sample size, and outliers (for y and/or x).