6.7 Regression & Correlation Analysis
Key Takeaways
Pearson's correlation coefficient (r) measures the strength and direction of a linear relationship between two continuous variables, bounded strictly between -1.0 and +1.0.
The coefficient of determination (R²) quantifies the proportion of total variation in the response variable (y) explained by the linear regression model (R² = SSR / SST = 1 - SSE / SST).
Simple linear regression models the functional relationship y = β0 + β1 x + ε, estimating parameters via Ordinary Least Squares (OLS) to minimize the Sum of Squared Errors (SSE).
Model assumptions (LINE: Linearity, Independence, Normality, Equal variance/Homoscedasticity) must be validated through systematic residual diagnostics (e_i = y_i - ŷ_i).
A statistically significant correlation does not imply causation; confounding process variables, non-linearities, and influential leverage points must be thoroughly investigated.
6.7 Regression & Correlation Analysis
In continuous process improvement, quality engineers frequently need to investigate relationships between process input variables (, independent predictor) and product output parameters (, dependent response). Correlation analysis quantifies the strength and direction of linear association, while regression analysis develops a mathematical model to predict from and optimize process settings.
1. Pearson Correlation Coefficient ()
The sample Pearson correlation coefficient () measures the strength and direction of a linear relationship between two continuous variables:
Properties of :
- Strictly bounded: .
- : Perfect positive linear association.
- : Perfect negative linear association.
- : No linear association (nonlinear patterns may still exist).
Testing Statistical Significance of :
To test whether a sample correlation indicates a non-zero population correlation (), calculate the -statistic with :
2. Coefficient of Determination ()
The coefficient of determination () represents the proportion of total variability in response explained by the linear model:
- : Total Sum of Squares
- : Regression Sum of Squares (Explained variation)
- : Error Sum of Squares (Unexplained variation)
Interpretation Example: If , then . This means of the variation in the response variable is explained by the linear relationship with , while is due to unexplained random noise or unmeasured process variables.
3. Simple Linear Regression Model & OLS Parameter Estimation
Simple linear regression models a linear relationship between predictor and response :
where is the population y-intercept, is the population slope, and is the random error term.
Ordinary Least Squares (OLS) Estimators
OLS estimates parameters and by minimizing the sum of squared residuals :
4. Model Assumptions & Residual Diagnostics (LINE)
For OLS regression estimates and hypothesis tests to be valid, four underlying assumptions regarding residuals () must be satisfied (LINE acronym):
- Linearity: The true relationship between and is linear.
- Independence: Residuals are independent of one another (no autocorrelation over time).
- Normality: Residuals are normally distributed with mean zero ().
- Equal Variance (Homoscedasticity): Residual variance is constant across all predicted values and predictor values .
Residual Plot Diagnostics:
- Residuals vs. Fitted Values (): Should show a random scatter of points around zero. A funnel pattern indicates non-constant variance (heteroscedasticity); a curved pattern indicates non-linearity.
- Normal Probability Plot of Residuals: Points should align closely along a straight diagonal line.
5. Worked Example: Regression of Adhesive Bond Strength on Cure Temperature
Scenario: A quality engineer evaluates how cure temperature ( in ) affects adhesive bond strength ( in ). A sample of experimental runs produces the following summary statistics:
Step-by-Step Regression Solution:
- Calculate Slope ():
- Calculate Intercept ():
- Formulate Fitted Regression Equation:
- Calculate Pearson Correlation () and :
- Prediction Example: For a cure temperature of :
A linear regression analysis relating solder temperature (x) to void percentage (y) yields a sample correlation coefficient of r = -0.85. What is the coefficient of determination R², and how is it interpreted?
R² = 0.7225; 72.25% of the total variability in void percentage is explained by solder temperature.
R² = -0.7225; Void percentage decreases by 72.25% for every unit increase in solder temperature.
R² = 0.8500; 85.00% of the total variability is unexplained noise.
R² = 0.1500; The linear fit explains only 15% of the total process variation.
For a sample of n = 10 pairs of observations, a regression analysis yields S_xx = 400 and S_xy = 600. If the mean of x is x̄ = 20 and the mean of y is ȳ = 50, what is the estimated y-intercept β̂0?
1.5
20.0
30.0
35.0
When inspecting residual diagnostic plots for a simple linear regression model, a funneling pattern (expanding spread of residuals as predicted values ŷ increase) indicates a violation of which underlying OLS assumption?
Linearity of the relationship
Independence of residuals
Constant variance of errors (Homoscedasticity)
Normality of residual distribution
Sections you finish are checked off in the contents.