Skip to content
ApEasyFleet.

Smarter Fleet Management

Education & Enterprise

How to Calculate Pearson Correlation in SPSS: A Comprehensive Step-by-Step Guide

To calculate the Pearson correlation in SPSS, navigate to Analyze > Correlate > Bivariate. Move your continuous variables into the Variables box, ensure the Pearson checkbox is selected under Correlation Coefficients, and click OK. The...

To calculate the Pearson correlation in SPSS, navigate to Analyze > Correlate > Bivariate. Move your continuous variables into the Variables box, ensure the Pearson checkbox is selected under Correlation Coefficients, and click OK. The resulting output table provides the Pearson $r$ coefficient, the significance (p-value), and the sample size.

Contents

The Pearson Product-Moment Correlation (PPMC), commonly referred to as Pearson’s $r$, is a statistical measure used to evaluate the strength and direction of a linear relationship between two continuous variables. In the landscape of 2026, SPSS Statistics remains the industry standard for researchers and data scientists who require robust, reproducible results without the steep learning curve of syntax-heavy programming. Understanding how to execute and interpret this test correctly is fundamental for any quantitative analysis.

Understanding the Pearson Correlation Coefficient ($r$)

Before proceeding with the technical steps in SPSS, it is vital to understand what the Pearson correlation coefficient actually represents. The value of $r$ always ranges from -1.0 to +1.0.

  • Positive Correlation (+1.0): As one variable increases, the other variable also increases. A perfect +1.0 indicates a flawless linear relationship.
  • Negative Correlation (-1.0): As one variable increases, the other decreases. A perfect -1.0 indicates a perfect inverse linear relationship.
  • Zero Correlation (0.0): There is no linear relationship between the variables.

The "strength" of the correlation is determined by the absolute value of the coefficient, while the "direction" is indicated by the sign. For instance, an $r$ of -0.75 is a stronger relationship than an $r$ of +0.40, even though the latter is positive.

Critical Assumptions for Pearson Correlation

Running a Pearson correlation without checking assumptions can lead to misleading conclusions. Because the Pearson $r$ is a parametric test, your data must meet the following criteria:

  1. Level of Measurement: Both variables must be continuous—either interval or ratio scale. Examples include height, weight, temperature, or test scores. If your data is ordinal (like Likert scales with few points), a Spearman rank correlation is usually more appropriate.
  2. Related Pairs: Each observation in the dataset must have a value for both variables being tested.
  3. Linearity: The relationship between the variables must be linear. If the relationship is curved (curvilinear), the Pearson coefficient will underestimate the strength of the association.
  4. No Significant Outliers: Pearson’s $r$ is highly sensitive to outliers. A single extreme data point can significantly inflate or deflate the correlation coefficient.
  5. Normality: While Pearson is somewhat robust to minor deviations, the variables should ideally follow a bivariate normal distribution, especially for the significance tests to be accurate.
Pearson correlation coefficient and steps | PDF

Step 1: Visualizing the Data with a Scatterplot

In 2026, best practices in data science emphasize "looking at your data" before calculating statistics. A scatterplot allows you to check for linearity and outliers visually.

  1. Go to Graphs > Chart Builder.
  2. In the Gallery tab, select Scatter/Dot.
  3. Drag the first icon (Simple Scatter) onto the main chart canvas.
  4. Drag your independent variable (or one of the two variables) to the X-Axis box.
  5. Drag your dependent variable to the Y-Axis box.
  6. Click OK.

Examine the resulting plot. If the points appear to follow a straight line (even a noisy one), you can proceed. If the points look like a "U" shape or a circle, Pearson is not the correct tool.

Step 2: Running the Pearson Correlation Procedure

Once you have verified that your data is suitable, follow these steps to generate the correlation matrix.

  1. Open the Bivariate Correlations Dialog: Navigate to the top menu and click Analyze. From the dropdown, select Correlate, and then click Bivariate....

  2. Select Your Variables: A list of your dataset’s variables will appear on the left. Highlight the two (or more) variables you wish to correlate and click the arrow button to move them into the Variables: box on the right. Note: If you move more than two variables into the box, SPSS will produce a correlation matrix showing the relationship between every possible pair.

  3. Choose the Correlation Coefficient: Under the Correlation Coefficients section, ensure that the Pearson box is checked. This is the default setting in most SPSS versions, including the 2026 updates.

  4. Define the Test of Significance:

    • Two-tailed: Select this if you do not have a specific prediction about the direction of the relationship (i.e., you just want to see if they are related).
    • One-tailed: Select this only if you have a strong, pre-existing hypothesis that the relationship is specifically positive or specifically negative.
  5. Flag Significant Correlations: Ensure the Flag significant correlations box is checked. This tells SPSS to add asterisks (*) to significant results, making them easier to identify in the output.

  6. Options (Optional but Recommended): Click the Options button on the right. You can check Means and standard deviations if you need descriptive statistics for your report. You can also choose how to handle missing values (usually "Exclude cases pairwise" is preferred to keep as much data as possible). Click Continue.

  7. Run the Analysis: Click OK.

Step 3: Interpreting the SPSS Output Table

The output will appear in the SPSS Viewer window in a table titled "Correlations." This table is a grid where the variables are listed both in the rows and the columns.

The Correlation Matrix Structure

For any two variables (Variable A and Variable B), you will see a cell where they intersect. Within that cell, there are three important rows:

Row Label Meaning
Pearson Correlation This is the $r$ value. It tells you the strength and direction.
Sig. (2-tailed) This is the p-value. It tells you if the result is statistically significant.
N This is the number of pairs used in the calculation.

Assessing Significance

Look at the Sig. (2-tailed) value. In most social sciences and business analytics, a p-value of less than 0.05 is considered statistically significant.

  • If $p < .05$, you reject the null hypothesis and conclude that there is a statistically significant relationship.
  • If $p > .05$, the relationship is not statistically significant; any observed correlation could likely be due to chance.

Assessing Strength

The magnitude of the Pearson $r$ determines how strong the relationship is. While thresholds vary by field, the following table reflects commonly used guidelines (Cohen, 1988).

Value of $r$ (Positive or Negative) Strength of Relationship
.00 to .10 Negligible / Very Weak
.10 to .30 Small / Weak
.30 to .50 Medium / Moderate
.50 to 1.00 Large / Strong

Reporting the Results in APA Style

When reporting a Pearson correlation, you should include the $r$ value, the degrees of freedom ($df = N - 2$), and the p-value.

Example Phrasing: "A Pearson product-moment correlation was run to determine the relationship between hours of study and exam scores. There was a strong, positive correlation between study hours and exam scores, which was statistically significant, $r(48) = .62, p < .001$."

In this example, 48 is the degrees of freedom (if $N=50$), .62 is the Pearson $r$, and the p-value is significant.

Troubleshooting and Common Pitfalls

1. High Correlation but No Causation

One of the most frequent mistakes is assuming that because Variable A correlates with Variable B, Variable A causes Variable B. Correlation only measures association. A third variable (a confounding variable) could be influencing both.

2. The Impact of N (Sample Size)

In very large samples, even tiny, practically meaningless correlations (e.g., $r = .05$) can be statistically significant. Conversely, in very small samples, a strong correlation might fail to reach significance. Always interpret the $r$ value (effect size) alongside the p-value.

3. Non-Linear Relationships

If your scatterplot shows a curved relationship, the Pearson $r$ might be near zero even if there is a clear pattern. In such cases, consider transforming the data or using a non-linear regression model.

4. Restricted Range

If your data only covers a small range of possible values (e.g., studying only the height of professional basketball players rather than the general population), the correlation coefficient will often be smaller than it truly is in a broader population.

Comparison of Correlation Types in SPSS

Depending on your data type, Pearson might not always be the right choice. Use the table below to verify:

Test Name Use Case Data Type
Pearson Linear relationships Continuous (Interval/Ratio)
Spearman's Rho Monotonic relationships Ordinal or non-normal Continuous
Kendall’s Tau-b Small datasets with many tied ranks Ordinal
Point-Biserial Relationship between one binary and one continuous variable Nominal (2 categories) & Continuous

Frequently Asked Questions

Can I use Pearson correlation for Likert scales?

Technically, Likert scales are ordinal. However, if you have a Likert scale with 5 or more points and the distribution is relatively normal, many researchers use Pearson. If the scale has only 3 or 4 points, Spearman’s rho is a safer and more accurate choice.

What if my "Sig." value is .000?

SPSS rounds to three decimal places. A value of .000 does not mean the probability is zero; it means $p < .001$. When reporting this, do not write $p = .000$; instead, write $p < .001$.

Why is the correlation matrix diagonal filled with 1.000?

The diagonal of the matrix shows the correlation of a variable with itself (e.g., Height correlated with Height). Since a variable is always perfectly identical to itself, the correlation is always 1.000. You can ignore these cells when interpreting your results.

Does it matter which variable I put as Variable 1 and Variable 2?

No. Pearson correlation is symmetrical. The correlation between "Income" and "Education" is identical to the correlation between "Education" and "Income."

Final Recommendations

To ensure your Pearson correlation analysis is accurate in 2026, always start with a scatterplot to confirm linearity. Once you have the results, look beyond the p-value and focus on the coefficient ($r$) to understand the practical significance of your findings. If your data violates the assumption of normality or interval-level measurement, do not hesitate to use the Spearman correlation available in the same SPSS dialog box.

Written by

Thomas Harrison

Corporate Banking & Credit Reporter

You Might Also Like

View All