Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 21

Scatter Plots and Correlation

Recommended resources

Introduction

Welcome to the first lesson in our module on modeling relationships. In the previous module, we completed our tour of fundamental hypothesis tests by looking at the Chi-Square test, which is your go-to tool for analyzing relationships between categorical variables (like shift vs. defect type).

Now, we pivot to a new, equally important question in the Analyze phase: How do we explore and quantify the relationship between two continuous variables? For instance, how does furnace temperature affect the tensile strength of a metal part? Or how does line speed impact the thickness of a plastic film? Answering these questions is fundamental to identifying the vital few process inputs (the 'X's) that drive your key outputs (the 'Y's).

This lesson addresses the learning outcome: Visualize relationships between variables using scatter plots and interpret the correlation coefficient. We will cover the most common graphical tool for this task—the scatter plot—and its numerical counterpart, the correlation coefficient. Mastering these is the essential first step before you can build predictive models, which we will cover next.


Visualizing Relationships with Scatter Plots

The first step in understanding the relationship between two continuous variables is always to visualize the data. The primary tool for this is the scatter plot (also called a scatter diagram).

A scatter plot displays pairs of data on a two-dimensional graph. In a Six Sigma context, we typically plot:

  • The Independent Variable (X) on the horizontal x-axis. This is the variable we suspect is a cause or a process input (e.g., machine setting, temperature, pressure).
  • The Dependent Variable (Y) on the vertical y-axis. This is the effect or the process output we are measuring (e.g., a quality characteristic, defect rate, cycle time).

By plotting these pairs of (X, Y) data, we can visually inspect the resulting pattern to see if a relationship exists.

Analyse Phase: Creating Scatter Plots for Variable Relationships in ...

To begin, let's read a concise overview of what scatter plots are and why they are so crucial in the Analyze phase of a Lean Six Sigma project. This article from Lean6SigmaHub provides an excellent summary.

Please read the section titled 'What Are Scatter Plots and Why Are They Important?'. It clearly defines the tool and lists its main purposes in a project context.


Creating and Interpreting a Scatter Plot

Creating a scatter plot is straightforward, and modern software makes it simple. However, understanding the steps and what to look for is key. Let's walk through a practical manufacturing example.

Scenario: A pharmaceutical company is experiencing variation in the hardness of its tablets. The team hypothesizes that the compression force applied during manufacturing is a key driver of this variation.

To test this, they collect paired data for 25 batches: the Compression Force (X) and the resulting Tablet Hardness (Y).

Analyse Phase: Creating Scatter Plots for Variable Relationships in ...

The article you just looked at contains a detailed, practical example that's perfect for our purposes. It not only provides a sample dataset but also walks through the interpretation.

First, read the section 'Creating Scatter Plots: A Step-by-Step Guide' to understand the general process. Then, read the section 'Practical Example: Manufacturing Process Optimization', paying close attention to the sample data and the 'Interpreting the Results' subsection. This demonstrates how a visual tool leads directly to actionable process insight.

As the example shows, the pattern of the plotted points reveals the nature of the relationship. There are three main types of linear relationships you can identify:

  1. Positive Correlation: As X increases, Y tends to increase. The points form a pattern that trends upward from left to right. The tablet hardness example shows a clear positive correlation.
  2. Negative Correlation: As X increases, Y tends to decrease. The points form a pattern that trends downward from left to right. For example, you might find that as operator training hours increase, the number of defects decreases.
  3. No Correlation: The points appear randomly scattered with no discernible trend. This is also a valuable finding, as it suggests the input variable (X) does not have a significant linear relationship with the output variable (Y).

It's also possible to see non-linear relationships (e.g., a U-shaped curve), where the relationship changes direction.


Quantifying the Relationship: The Correlation Coefficient (r)

Visual inspection is powerful, but it's subjective. To objectively measure the strength and direction of the linear relationship between two continuous variables, we calculate the Pearson Correlation Coefficient, denoted as .

The correlation coefficient is a single number that summarizes the scatter plot:

  • It ranges from -1 to +1.
  • The sign (+ or -) indicates the direction of the relationship (positive or negative).
  • The magnitude (how close the value is to 1 or -1) indicates the strength of the linear relationship.

The 7 Quality Control (QC) Tools Explained with an Example!

Let's watch a short video that introduces the scatter plot and explains the correlation coefficient. Pay attention to how the visual scatter of points relates to the value of 'r'.

Please watch from 10:07 to 12:30. This segment first introduces the scatter diagram with a manufacturing example (humidity vs. PCB defects) and then clearly explains the correlation coefficient 'r' and its scale from -1 to +1.

The image below gives you a clear visual guide for how the appearance of the scatter plot corresponds to different values of .

Scatter Plots and Correlation Examples
This series of plots illustrates how the correlation coefficient (r) reflects the data's pattern. An r of +1 or -1 indicates a perfect straight line. As 'r' approaches 0, the points become more scattered and the linear relationship weakens.

Interpreting the Strength of Correlation

So, how do you decide if a correlation is "strong" or "weak"? While context is important, there are some common rules of thumb used in practice.

Correlation Coefficient Interpretation Guideline
This chart provides a general guideline for classifying the strength of a correlation based on the absolute value of 'r'. For example, an 'r' value of 0.85 would be considered a 'Very Strong' positive correlation, while an 'r' of -0.25 would be a 'Weak' negative correlation.

In a manufacturing setting, discovering even a moderate correlation (e.g., ) between a process setting and a quality outcome is often a significant finding that warrants further investigation.


A Critical Warning: Correlation is Not Causation

This is one of the most important principles in data analysis. Just because two variables are strongly correlated does not automatically mean that one causes the other.

The video you watched made this point, and it's worth repeating. A strong correlation might exist for several reasons:

  1. Direct Causation: X does indeed cause Y. (e.g., Increased compression force causes increased tablet hardness).
  2. Reverse Causation: Y causes X.
  3. Confounding Variable: A third, unmeasured variable (Z) is causing both X and Y to change. The classic example is the strong positive correlation between ice cream sales (X) and shark attacks (Y). The lurking variable is hot weather (Z), which causes more people to buy ice cream and more people to go swimming.

Scatter Diagrams (Plots), Analysis & Regression

Let's read a clear explanation of this crucial concept from the Six Sigma Study Guide.

Please read the section 'Scatter Plots and Correlation'. It provides the famous ice cream sales example, which is a memorable way to understand this principle.

As a practitioner, your job is to use your process knowledge combined with statistical evidence. A scatter plot and correlation give you a clue—a hypothesis that a relationship exists. Further analysis, like Design of Experiments (DOE), is often needed to prove causation.


Putting It All Together: From Data to Insight

When analyzing a process, you often have multiple potential input variables (X's) that might affect your output (Y). A correlation matrix (or a scatter plot matrix) is an efficient way to visualize the relationships between all pairs of variables at once.

Introduction to Correlation (Statistics)

This short video clip shows a practical manufacturing example involving cement ingredients and heat generation. It introduces the idea of a correlation matrix to quickly assess multiple relationships.

Watch from 02:37 to 03:45. Notice how the correlation matrix provides the 'r' values for each ingredient against the 'heat evolved' output, allowing you to quickly spot the strongest positive and negative relationships.

This technique is extremely useful in the early stages of the Analyze phase to screen a large number of potential X's and decide which ones to investigate more deeply.


Conclusion

In this lesson, we established the foundational techniques for exploring relationships between continuous variables. You've learned how to use a simple graphical tool, the scatter plot, to gain immediate visual insights and how to back that up with a quantitative measure, the correlation coefficient.

Key Takeaways:

  • Scatter plots are your first step to visually assess the relationship between a continuous input (X) and a continuous output (Y).
  • The plot's pattern reveals the direction (positive, negative) and gives a sense of the strength of the relationship.
  • The correlation coefficient (r) provides a numerical value from -1 to +1 that quantifies the strength and direction of the linear relationship.
  • Always remember the critical rule: correlation does not imply causation. A strong correlation is a signal to investigate further, not a final conclusion about cause and effect.

Preview of the Next Lesson:

Visualizing and quantifying a relationship is a great start, but what if we want to create a predictive model? If a strong linear relationship exists, we can describe it with a mathematical equation. In the next lesson, we will do just that by learning how to build and interpret a simple linear regression model, turning our scatter plot into a powerful predictive tool.