Bivariate Data Analysis: Scatterplots, Pearson Correlation, and Significance Testing
Foundations of Bivariate Data and the Statistical Workflow
Univariate Versus Bivariate Data:
Univariate Data: Consists of observations gathered on a single quantitative or qualitative characteristic per individual. Summarization focuses on center, shape, and spread.
Bivariate Data: Involves measurements collected on two separate variables for each individual or observational unit simultaneously. The primary investigative goal is to discover whether a mathematical or statistical relationship exists between the two variables, characterize that relationship, or conclude that the variables operate independently.
Analytical Toolkit for Bivariate Analysis:
Scatterplots: Two-dimensional graphical displays utilized to visually identify patterns, trends, clusters, and potential relationship shapes.
Correlation: A standardized quantitative metric measuring the direction and linear strength between two paired quantitative variables, assessing how closely plotted points cluster along a straight line.
Regression: Mathematical modeling used to determine the best-fit line or curve, allowing researchers to predict values of one variable based on known values of another when a linear trend is supported.
Placement Within the Four-Stage Statistical Process:
Stage 1: Identify the question and population.
Stage 2: Collect the data.
Stage 3: Organize and summarize the information (the focus of bivariate correlation and exploratory data analysis).
Stage 4: Make an inference if appropriate.

Bivariate Variables: Explanatory and Response Definitions
Association:
Two variables are considered associated when specific values of one variable tend to occur concurrently with specific values of the other. Knowing the value of one variable provides meaningful predictive or explanatory insight into the other.
Associations can occur between two qualitative variables, one qualitative and one quantitative variable, or two quantitative variables.
Correlation:
Defined specifically as an association between paired quantitative (numerical) variables.
Formal Variable Roles in Paired Data:
Paired Data Representation: Bivariate observations are expressed mathematically as ordered pairs: .
Explanatory Variable (): Also known as the independent or predictor variable; plotted on the horizontal axis. It serves as the input used to explain, model, or predict changes in the second variable.
Response Variable (): Also known as the dependent or outcome variable; plotted on the vertical axis. It represents the outcome or measurement of interest whose variation is being studied.
Constructing and Interpreting Scatterplots
Definition and Purpose:
A scatterplot (or scatter diagram) is a Cartesian coordinate plot displaying bivariate data as individual coordinate points . It serves as the primary visual diagnostic tool for examining bivariate relationships before computing summary statistics.
Manual Construction Procedure:
Designate the explanatory variable as the horizontal axis () and the response variable as the vertical axis ().
Establish uniform numerical scales along both axes covering the full data range.
Plot each individual observation as a discrete point at its respective coordinates.
Case Demonstration: Student Exam Scores (Example 1):
An instructor tracked performance across two exams to evaluate whether Exam 1 scores (, explanatory) could predict Exam 2 scores (, response).
Student Name | Exam 1 Score () | Exam 2 Score () | Ordered Pair |
|---|---|---|---|
Derek | |||
Marshawn | |||
Isabel | |||
Sophia | |||
Juan | |||
Jackson | |||
Carol |

Interpretation: The scatterplot demonstrates an upward trend: students achieving higher scores on Exam 1 generally attained higher scores on Exam 2, while students with lower Exam 1 scores tended to register lower Exam 2 scores. This visual trend indicates a positive association.
StatCrunch Software Workflow for Scatterplots:
Enter or import the bivariate data into two designated adjacent columns.
Navigate the top menu: click Graph Scatter Plot.
Assign the respective column headers to the X variable and Y variable drop-down menus.
Click Compute! to render the scatterplot.
Classifying Types, Direction, and Strength of Correlation

Directional Classifications:
Positive Correlation: Occurs when the points follow a general linear trajectory with a positive slope (rising from lower-left to upper-right). As the explanatory variable () increases, the response variable () tends to increase.
Negative Correlation: Occurs when the points follow a linear path with a negative slope (falling from upper-left to lower-right). As the explanatory variable () increases, the response variable () tends to decrease.
Structural Classifications:
Linear Correlation: Points cluster along a straight line path.
Non-linear (Curvilinear) Correlation: Data display a systematic relationship that is not straight (e.g., an inverted U-shaped parabolic curve resembling ).
No Correlation: Points are dispersed uniformly or randomly across the Cartesian space, exhibiting neither an upward, downward, nor curved pattern.
Qualitative Descriptors of Strength:
Relationships are qualitatively characterized as weak, moderate, or strong based on how tightly the points cluster along the trend trajectory.
Subjectivity Warning: Qualitative verbal descriptions of scatterplots without numerical statistics are subjective and prone to differing interpretations.
Visual Case Studies:
Fast Food Nutrition (Example 3): Comparing Total Fat (, in grams) to Protein (, in grams) across restaurant chain meals reveals a strong positive linear pattern rising from left to right.
Automotive Specifications (Example 4): Comparing Vehicle Curb Weight (, in pounds) to Fuel Economy (, in Miles Per Gallon [MPG]) demonstrates a strong negative linear trend where heavier vehicles systematically exhibit poorer fuel economy.

Cardiovascular Clinical Metrics (Example 5): Plotting Resting Heart Rate (, in beats per minute [BPM]) against HDL Cholesterol Level (, in milligrams per deciliter [mg/dL]) produces a diffuse, unstructured cloud of points, indicating no correlation.

Common Real-World Directional Examples:
Hours of Study versus Exam Score: Positive correlation.
Hours of Television Watched per Week versus GPA: Negative correlation.
Human Height versus Body Weight: Positive correlation.
Amount of Aerobic Exercise versus Body Fat Percentage: Negative correlation.
Cell Phone Brand versus Resting Blood Pressure: No correlation.
The Pearson Linear Correlation Coefficient
Origin and Purpose:
Developed by Karl Pearson to eliminate subjective assessments of scatterplots by providing an objective numerical index measuring how closely data points adhere to a straight line.
Notation:
Sample linear correlation coefficient: denoted by .
Population linear correlation coefficient parameter: denoted by (Greek letter rho).
Mathematical Formula:
The sample linear correlation coefficient evaluates the mean product of standardized paired -scores:
Where standardized scores for each observation are defined as:
Expanded algebraic form:
* Where:
* = total number of paired data coordinates.
* and = sample means of variables and .
* and = sample standard deviations of variables and .
Mathematical Properties of the Correlation Coefficient ():
Bounded Range: The coefficient is strictly bounded within the closed interval .
Perfect Negative Linearity (): All coordinate pairs lie precisely on a downward-sloping straight line.
Perfect Positive Linearity (): All coordinate pairs lie precisely on an upward-sloping straight line.
Magnitude Interpretation: The closer approaches , the stronger the linear relationship and the tighter points align to a line. As approaches , linear correlation weakens toward total dispersion.
Crucial Diagnostic Caveat (): An outcome of denotes the total absence of a linear association. It does not prove the absence of a relationship, as strong non-linear or curvilinear patterns (such as parabolas) can produce .

Numerical Spectrum Guidelines:
: Perfect Negative Linear Correlation
: Strong Negative Linear Correlation
: Moderate Negative Linear Correlation
: Weak Negative Linear Correlation
: No Linear Correlation
: Weak Positive Linear Correlation
: Moderate Positive Linear Correlation
: Strong Positive Linear Correlation
: Perfect Positive Linear Correlation
Worked Manual Calculation:
Given the five bivariate observations (): , , , , .
Summary statistics:
Index () | Product () | ||||
|---|---|---|---|---|---|
1 | |||||
2 | |||||
3 | |||||
4 | |||||
5 |
Sum of products of standardized scores:
Compute Pearson correlation coefficient ():
StatCrunch computational verification yields .
Interpretation: Weak negative linear correlation.
Technology-Based Computation of Correlation
StatCrunch Software Workflow for Linear Correlation:
Organize bivariate data into two designated columns within the spreadsheet.
Navigate the top menu: click Stat Summary Stats Correlation.
Hold down the Shift key (Windows) or Command key (macOS) and click both variable names to highlight them simultaneously.
Click Compute! to open the numerical summary window.
Empirical Application Outputs:
Exam Scores (Example 6):
Data: Table 1 student grades ().
StatCrunch result: .
Conclusion: Strong positive linear correlation.
Fast Food Nutrition: Fat vs. Protein (Example 7):
Data: Table 2 nutritional profiles ( meals):
Metric | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Total Fat (g) | ||||||||||||||||
Protein (g) |
* StatCrunch result: .
* *Conclusion:* Strong positive linear correlation.
Vehicle Weight vs. Fuel Economy (Example 8):
Data: Table 3 automotive measurements ( vehicles):
Vehicle Model | Curb Weight (lbs) | Fuel Economy (MPG) |
|---|---|---|
'69 Chevy truck | ||
Chevy Camaro | ||
Dodge Charger | ||
Dodge Neon | ||
Ford Escape | ||
Ford F-150 | ||
Ford Mustang | ||
Honda CR-V | ||
Honda Civic | ||
Honda Pilot | ||
Hyundai Tucson | ||
Mazda 6 | ||
Subaru Outback | ||
Toyota Rav4 | ||
Toyota Tacoma |
* StatCrunch result: .
* *Conclusion:* Strong negative linear correlation.
Resting Heart Rate vs. HDL Cholesterol (Example 9):
Data: Table 4 clinic observations ( patients):
Heart Rate (BPM) | HDL (mg/dL) | Heart Rate (BPM) | HDL (mg/dL) |
|---|---|---|---|
StatCrunch result: .
Conclusion: No linear correlation ( is near zero).
Testing Statistical Significance of Correlation
Formal Definition:
A linear correlation coefficient is defined as statistically significant when sufficient sample evidence exists to conclude that the true population correlation reflects a linear trend, confirming the data points follow a genuine linear pattern rather than random sampling fluctuations.
Dependence on Sample Size ():
The evaluation of correlation depends heavily on sample size. A moderate correlation value (e.g., ) provides strong evidence of linearity in large samples (), but weak evidence in very small samples (), where large random deviations occur more frequently.
Analogy to Diagnostic Medical Testing:
Statistical significance indicates only the presence of a detectable linear relationship, not its strength. This functions like a COVID antigen test: a positive result confirms that viral antigen is present, but provides no measurement of disease severity. Significance proves a linear trend exists, but does not dictate whether that trend is weak, moderate, or strong.
Five-Step Significance Testing Procedure:
Calculate or obtain the sample linear correlation coefficient ().
Determine the sample size (), defined as the total number of paired observations.
Reference the Critical Values Table for Correlation to locate the critical threshold value () corresponding to row .
Compute the absolute value of the correlation coefficient: .
Execute the decision rule:
If , the correlation is statistically significant (sufficient evidence of a linear pattern).
If , the correlation is not statistically significant (insufficient evidence of a linear pattern).
Critical Values Reference Table for Linear Correlation:
Sample Size () | Critical Value () | Sample Size () | Critical Value () |
|---|---|---|---|
Convention for Samples Exceeding Table Limits: For sample sizes where , the standard convention utilizes the critical value for () as a conservative decision threshold.
Evaluating Significance Across Sample Sizes (Example 10):
(a) Given , :
Condition:
Decision: The correlation is statistically significant.
(b) Given , :
Condition:
Decision: The correlation is not statistically significant.
(c) Given , :
Condition:
Decision: The correlation is statistically significant.
(d) Given , :
Condition:
Decision: The correlation is not statistically significant. Despite an apparently large correlation (), the sample size of five is too small to provide sufficient statistical certainty.
(e) Given , :
Because , use the conservative threshold .
Condition:
Decision: The correlation is statistically significant.
Synthesized Bivariate Analysis Evaluations:
Total Fat vs. Protein in Fast Food (Example 12):
Sample size:
Observed correlation:
Table threshold:
Test:
Conclusion: Statistically significant. The data exhibit a moderate-to-strong positive linear relationship.
Curb Weight vs. Gas Mileage (Example 13):
Sample size:
Observed correlation:
Table threshold:
Test:
Conclusion: Statistically significant. The data exhibit a strong negative linear relationship.
Heart Rate vs. HDL Cholesterol (Example 14):
Sample size:
Observed correlation:
Table threshold:
Test:
Conclusion: Not statistically significant. There is no evidence of a linear relationship.
Correlation Versus Causation and Spurious Relationships
The Non-Causality Principle:
Correlation demonstrates co-variation and predictive association, but does not prove cause-and-effect. A strong statistical correlation between variable and variable does not establish that changes in directly cause changes in .
Lurking and Confounding Variables:
An unmeasured underlying factor—known as a lurking variable—can influence both variables simultaneously, creating a strong statistical correlation between them even though no direct causal mechanism connects the two.
Case Demonstration: Macroeconomic Trends (1990–2020):
A bivariate analysis of historical unemployment rates for Black and White Americans between 1990 and 2020 reveals a strong positive linear correlation ().
Causal Fallacy: Changes in one group's unemployment rate do not directly cause changes in the other's.
Lurking Variable Explanation: Broader economic forces—such as business cycle recessions, inflation shocks, monetary policy shifts, and global financial crises—simultaneously drive unemployment up or down across both demographic groups.

Spurious Correlations:
A spurious correlation is a high mathematical correlation between two fundamentally unrelated variables, arising entirely through coincidence, shared temporal trends, or unlinked lurking variables.
Empirical Example: Cheese Consumption vs. Bedsheet Tangling Deaths:
Data tracked by Tyler Vigen using records from the U.S. Department of Agriculture (USDA) and the Centers for Disease Control and Prevention (CDC) across 2000–2009.
Variables: Per capita cheese consumption versus deaths caused by becoming tangled in bedsheets.
Observed correlation:
Interpretation: High per capita cheese consumption does not cause bedsheet strangulation, nor do bedsheet accidents promote cheese consumption. Both variables drifted upward concurrently over the decade due to population growth, changes in reporting standards, or pure mathematical coincidence.

Additional Documented Spurious Trajectory:
A parallel study tracked by the National Vital Statistics Reports and the CDC demonstrates an empirical correlation of between unrelated societal indicators, reinforcing that strong statistical metrics alone never establish physical causality.