A regression model always looks confident. It hands you an equation and a prediction for every input. Residuals analysis is how you check whether that confidence is earned. You look at what the model got wrong, and you ask whether those misses are random noise or a sign that the model is missing something.

What Is Residuals Analysis?

A residual is the difference between what actually happened and what the model predicted:

Residual = Observed value – Predicted value

Think of the arrival time your GPS app gives you. If it says 8:40 and you pull in at 8:46, the residual is +6 minutes. One miss tells you little. But if the app is late every rush hour and early every Sunday, the misses have a pattern. That pattern is information the model is not using.

Residuals analysis is the study of those misses. It has two jobs:

  • Check that the assumptions behind the regression hold, so the p-values and confidence intervals can be trusted.
  • Find patterns that show the model is inadequate, such as a missing term, a missing variable or an unusual point.

A positive residual means the model predicted too low. A negative residual means it predicted too high. In a good model, the residuals scatter randomly around zero.

Why Is Residuals Analysis Important in Six Sigma?

Green Belts and Black Belts use regression in the Analyze and Improve phases to show which inputs (Xs) drive an output (Y). Teams then change the process based on that model. If the model is wrong, the team changes the wrong thing.

A high R-squared does not prove a model is right. A model can explain most of the variation and still have curved, uneven or time-dependent residuals. Residuals analysis catches what R-squared hides. The same checks apply to ANOVA and designed experiments, because those models leave residuals too.

Example: A Black Belt models injection molding cycle time against mold temperature. The fit looks strong. But when the residuals are plotted in time order, every Monday morning sits above the line. The machine runs slower until it warms up. Shift start-up was a missing X, and the residuals found it.

How to Perform Residuals Analysis

Step 1: Fit the regression model. Use the process data to fit the equation. Minitab, Excel, R and Python all do this.

Step 2: Calculate the residuals. For each observation, subtract the predicted value from the observed value. If the model predicted sales of 100 units and actual sales were 110, the residual is +10. Most software saves the residuals for you.

Step 3: Plot the residuals. Four plots cover the main assumptions. Minitab shows all four together as its “Four in one” residual plots.

  • Residuals versus fitted values: checks linearity and constant variance. You want a random band around zero.
  • Residuals versus observation order: checks independence. You want no trends, shifts or cycles over time.
  • Normal probability plot: checks normality. You want the points close to a straight line.
  • Histogram of residuals: a rough check of shape. You want a roughly bell-shaped pile centered on zero.

It also helps to plot the residuals against each X in the model, and against any X you left out. A pattern against a left-out variable means it belongs in the model.

Step 4: Read the patterns.

  • Curve (a U or an arch): the relationship is not linear. The model is missing a term, such as X squared.
  • Funnel (spread grows as the fitted value grows): the variance is not constant.
  • Trend or cycle in time order: the residuals are not independent. Something that changes over time, such as tool wear or shift, is affecting the output.
  • Clusters: a grouping variable, such as machine or supplier, is missing.
  • A few points far from the rest: possible outliers. Minitab flags observations with a standardized residual beyond plus or minus 2. Investigate them before you remove anything.

Step 5: Take corrective action. Match the fix to the pattern. Add a squared term for curvature. Transform Y (for example, a log or square root) for a funnel. Add the missing variable for clusters or time patterns. Then refit the model and check the residuals again. For example, a model that predicts ice cream sales from price alone will show a strong pattern against daily temperature. Add temperature, and the pattern goes away.

Assumptions Checked Through Residuals Analysis

  • Linearity: the relationship between the Xs and Y matches the form of the model.
  • Independence: the residuals are not correlated with each other.
  • Constant variance (homoscedasticity): the residuals have the same spread at every fitted value.
  • Normality: the residuals are normally distributed.

Normality applies to the residuals, not to the raw X or Y data. Mild departures from normality matter less with large samples. Independence and constant variance problems matter at any sample size.

Tools for Residuals Analysis

The plots come first. Formal tests back them up:

  • Durbin-Watson test for independence. The statistic runs from 0 to 4. A value near 2 suggests no autocorrelation.
  • Breusch-Pagan test for constant variance.
  • Anderson-Darling or Shapiro-Wilk test for normality. Anderson-Darling is Minitab’s default.

Minitab produces the residual plots automatically. Excel’s Analysis ToolPak can output residuals and residual plots. R and Python give the most control.

Real-Life Applications of Residuals Analysis

  • Manufacturing: validating a model that predicts defect rates from machine settings before the team locks those settings into the control plan.
  • Healthcare: checking a model of patient length of stay, where a funnel pattern can show that complex cases vary far more than routine ones.
  • Service: a Green Belt models customer satisfaction against wait time. The residuals cluster by branch, which shows that branch practices matter too.

Common Pitfalls in Residuals Analysis

  • Skipping the plots: trusting R-squared and p-values without looking. A curve in the residuals can make good-looking predictions fail outside the data range.
  • Seeing patterns in noise: small samples always look a little lumpy. Look for clear, repeatable structure before you change the model.
  • Deleting inconvenient points: an outlier may be a data error, or it may be the most important observation you have. Find the cause first.
  • Not rechecking: after a transformation or a new term, the residuals change. Check them again.

Residuals Analysis as a Validation Tool

Residuals analysis turns a regression model from a guess into evidence. Random residuals around zero mean the model has captured the structure in the data. Patterns tell you what to fix: a missing term, a missing variable, unequal variance or a time effect. Check the residuals before you act on any model.

Frequently Asked Questions

What is the purpose of a residuals plot?

A residuals plot shows whether the model’s errors are random. Random scatter around zero supports the regression assumptions. A curve, funnel, trend or cluster shows that an assumption is broken or that the model is missing something.

How do I detect non-linearity in residuals?

Plot the residuals against the fitted values and against each X. A U shape or an arch means the relationship is curved. Adding a squared term or transforming a variable usually fixes it.

What tools are best for residuals analysis?

Minitab is the most common choice in Six Sigma work because it produces the four residual plots in one step. Excel works for simple models through the Analysis ToolPak. R and Python suit large data sets and custom diagnostics.

What should I do if residuals show a pattern?

Match the fix to the pattern. Add a squared term for a curve. Transform Y for a funnel. Add the missing variable for clusters or time trends. Investigate outliers before removing them. Then refit and check the residuals again.

When you’re ready, there are a few ways I can help:

First, join 12,000+ other Six Sigma professionals by subscribing to my email newsletter. A short read every Monday to start your work week off correctly. Always free.

* * *

If you’re looking to pass your Six Sigma Yellow Belt, Green Belt or Black Belt exam, I’d recommend starting with my affordable study guide:

1)β†’ 🟑Pass Your Six Sigma Yellow Belt: built for ASQ, IASSC and ILSSI, 1,700+ practice questions with explanations, and six full-length mock exams for your exam

2)β†’ 🟒Pass Your Six Sigma Green Belt: a study guide organized by the exam Body of Knowledge, 1,300+ practice questions with detailed answer explanations, and 20 full-length mock exams

3)β†’ ⚫Pass Your Six Sigma Black Belt: the full Black Belt Body of Knowledge, 2,200+ practice questions with detailed answer explanations, and 20 full-length mock exams

You’ve spent so much effort learning Lean Six Sigma. Why leave passing your certification exam up to chance? This comprehensive study guide offers 1,700+ exam-like questions for Yellow Belts, 1,300+ for Green Belts and 2,200+ for Black Belts with full answer walkthroughs, access to instructors, detailed study material, and more.

​ Thousands have used this system to prepare. Join them here. 

Authors

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.