Introduction
Welcome back! In our previous lesson, we built and interpreted simple linear regression models, which allowed us to predict a process output using a single input variable. We saw how the equation of a line, , can be a powerful tool for understanding and optimizing a process.
However, as you know from your experience in manufacturing, a quality outcome is rarely dependent on just one factor. More often, it's the result of a complex interplay between multiple process parameters. This is where simple linear regression falls short.
This lesson directly addresses that complexity. Our learning outcome is to develop a multiple regression model to predict a quality outcome from several process parameters. We will expand on the concepts from the last lesson to build models that incorporate several independent variables (X's), making our predictions more realistic and powerful. This is a fundamental skill for any Green Belt moving towards Black Belt-level projects.
From a Line to a Plane: The Concept of Multiple Regression
In simple regression, we fit a "line of best fit" to our data in two dimensions (one X, one Y). When we add a second independent variable (X2), we are no longer fitting a line, but a two-dimensional plane in a three-dimensional space. If we have more than two X's, we fit a hyperplane in a multi-dimensional space. While we can't visualize this easily, the principle remains the same: we are finding the best-fitting surface to model the relationship between our inputs and the single output.
The mathematical equation is a straightforward extension of the simple linear model:
Here:
- is still our single dependent variable (the quality outcome).
- are the multiple independent variables (the process parameters).
- is the intercept.
- are the coefficients for each independent variable. Each represents the average change in for a one-unit increase in its corresponding , while holding all other independent variables constant.
- is still the random error.
Guide: Multiple Regression Analysis
To solidify this concept, let's read a short article that explains the need for multiple regression and provides a clear manufacturing-based example.
Please read the sections 'Why Move to Multiple Regression?' and 'Definition and Basics'. Focus on how the model expands from one to many variables and the manufacturing example of predicting 'Products Made' from factors like conveyor speed and worker skill.
Developing a Multiple Regression Model in Excel
Since you prefer a hands-on approach, we'll continue using Excel to build our model. The process is very similar to what you did in the last lesson, but with a crucial additional step: refining the model to include only the significant predictors. A big part of "developing" a model isn't just running the analysis once, but iterating to find the most effective and efficient (or parsimonious) model.
The following video will walk you through a practical factory example: predicting total factory cost based on the quantities of different products being manufactured.
Using Multiple Regression in Excel for Predictive Analysis
This video provides an excellent, step-by-step guide to building and refining a multiple regression model in Excel. Pay close attention to how the presenter uses p-values to make decisions about which variables to keep in the final model.
Please watch the entire video (approx. 9 minutes). It covers the full workflow: Introduction (0:06-1:16): Setting up the business problem with dependent (Y) and independent (X) variables. Excel Setup (1:28-2:47): Enabling the Data Analysis ToolPak (a quick review). First Pass Analysis (2:47-4:40): Running the regression with all potential X variables. Interpreting P-values & Refining (4:21-6:06): This is the key step. Observe how variables with high p-values (e.g., > 0.15 in this example, though we often use 0.05) are identified as non-significant. Second Pass Analysis (5:48-7:09): Rerunning the regression without the non-significant variable. Building the Final Equation (6:53-9:17): Using the coefficients from the refined model to create the predictive equation.
This iterative process of removing insignificant variables is a core practice in statistical modeling. It strengthens your model by eliminating "noise" and focusing only on the "vital few" inputs that truly drive the output.

Interpreting the Multiple Regression Output
The interpretation of the output is largely the same as for simple regression, but with one new, important metric: Adjusted R-squared.
Let's review the key components using the learnleansigma.com guide as a reference.
Guide: Multiple Regression Analysis
This article section breaks down the interpretation of the regression output in detail. We'll focus on the key statistics that tell you if your model is any good.
Please read the sections 'Interpretation of Results' and 'Limitations and Caveats'. Pay special attention to the explanation of 'Adjusted R-squared' and the common mistake of 'Overfitting'.
Here's a summary of the interpretation flow:
-
Check Overall Model Significance (ANOVA Table): Look at the Significance F value first. If it's less than 0.05, your model as a whole is statistically significant. It's better than nothing! If it's not, you need to stop and reconsider your variables.
-
Check Individual Predictor Significance (Coefficients Table): Examine the p-value for each independent variable. If a variable's p-value is greater than 0.05, it means that variable is not a significant predictor in the presence of the other variables in the model. This is what you use to decide which variables to remove, as demonstrated in the video.
-
Assess Model Fit (Regression Statistics Table):
- R-squared (): This still tells you the percentage of variation in Y explained by all the X's in your model.
- Adjusted R-squared: This is a modified version of that accounts for the number of predictors in the model. As you add more variables, will always go up, even if the new variables are useless. Adjusted R-squared penalizes the score for adding variables that don't improve the model. In multiple regression, you should always focus on the Adjusted to compare the effectiveness of models with different numbers of predictors. A higher Adjusted is better.
-
Write the Equation (Coefficients Table): Once you have your final, refined model (with only significant predictors), use the Intercept and Coefficients to write your predictive equation.
Predicted Y = Intercept + (Coeff_X1 * X1) + (Coeff_X2 * X2) + ...
Advanced Model Building: Best Subsets Regression
In complex projects, you might have 5, 10, or even more potential X variables. Testing every possible combination manually would be incredibly tedious. Statistical software like Minitab automates this with a technique called Best Subsets Regression.
This technique evaluates all possible models (model with 1 predictor, models with 2 predictors, etc.) and presents a summary of the best-fitting models for each number of predictors. This allows you, the analyst, to make an informed trade-off between model simplicity and predictive power.
Multiple Regression (PART-1) (Best Subsets Regression): Illustration by Practical Example in Minitab
You don't need to learn Minitab right now, but understanding the strategy behind Best Subsets is valuable for a future Black Belt. This video explains the concept and the key metrics used to choose the 'best' model.
Please watch from 03:02 to 07:31. Focus on the concepts, not the Minitab clicks. Listen for how the presenter uses metrics like Adjusted R-squared, Predicted R-squared, and Mallows' Cp to compare different models and select the most practical one.
The key takeaway from this is that developing a good model is often about finding a balance. We want a model that predicts well (high Adjusted R-squared) but is also as simple as possible. The concept of Mallows' Cp helps quantify this balance, where a good model has a Cp value close to the number of predictors plus the constant.
Conclusion
Today, we've made a significant leap from simple to multiple regression, equipping you with a tool that more accurately reflects the complexities of real-world manufacturing processes. You learned how to build, refine, and interpret a model with several inputs.
Key Takeaways:
- Multiple regression extends the simple linear model to include multiple independent variables ().
- The coefficient for each variable represents its effect on the output while holding other variables constant.
- Developing a strong model is an iterative process: build an initial model, remove insignificant predictors (based on p-values), and re-evaluate.
- Adjusted R-squared is the preferred metric for assessing model fit in multiple regression because it penalizes for adding non-value-added predictors.
- The final regression equation can be used to predict a quality outcome based on a specific combination of process settings.
Preview of the Next Lesson:
Building a model and checking its statistical significance is a huge step. But is the model actually valid? Regression analysis rests on several key assumptions (e.g., that the errors are normally distributed and independent). If these assumptions are violated, our model's predictions can be unreliable. In the next lesson, we will tackle the crucial topic of validating regression model assumptions and assessing model adequacy using residual analysis.