Short answer
Use Analyses → Regression → Correlation Matrix. Drag two or more continuous variables into the box, keep Pearson (or tick Spearman for ranks), and tick Confidence intervals and Flag significant correlations. In the practice data, hours studied and exam score are strongly related: r(58) = 0.665, p < .001.
- 1Analyses → Regression
- 2Choose Correlation Matrix
- 3Select continuous variables
- 4Select Pearson or Spearman
- 5Interpret r and p-value
When to use it
Use a correlation to describe the strength and direction of a linear relationship between two continuous (or ordinal) variables, such as hours studied and exam score. The coefficient runs from −1 (perfect negative) through 0 (no linear relationship) to +1 (perfect positive).
- Pearson’s r — for continuous variables with a roughly linear relationship and no extreme outliers.
- Spearman’s rho and Kendall’s tau-b — rank-based; better for ordinal data, monotonic but curved relationships, or when outliers are a concern.
A correlation does not distinguish predictor from outcome and cannot show causation. To predict one variable from others, use linear regression.
Before you start
study-habits.csvSynthetic · 60 rows
60 simulated students: study method, hours studied, sleep, test anxiety and exam score. Columns: participant, method, hours_studied, sleep_hours, test_anxiety, exam_score.
Step-by-step in jamovi
- Go to .
- Drag hours_studied, sleep_hours, test_anxiety and exam_score into the variables box. The matrix fills in at once.
- Under Correlation Coefficients, keep Pearson; tick Spearman too if you want to compare.
- Under Additional Options, tick Report significance, Flag significant correlations and Confidence intervals.
- Leave Hypothesis at Correlated (two-sided) unless you made a directional prediction in advance.
- Under Plot, tick Correlation matrix to get scatterplots for every pair. For a single, larger scatterplot of one pair, use where available.
Reading the output
Each cell of the matrix shows Pearson’s r, its p-value and, if requested, a 95% confidence interval. The key pairs are:
| Pair | r | 95% CI | p |
|---|---|---|---|
| hours_studied – exam_score | 0.665 | 0.49 to 0.79 | < .001 |
| sleep_hours – exam_score | 0.283 | 0.03 to 0.50 | .029 |
| test_anxiety – exam_score | -0.284 | -0.50 to -0.03 | .028 |
| hours_studied – test_anxiety | -0.238 | -0.46 to 0.02 | .068 |
| hours_studied – sleep_hours | 0.168 | -0.09 to 0.40 | .200 |
Spearman’s rho for hours studied and exam score is 0.654 (p < .001), very close to Pearson’s r — a sign that the relationship is close to linear and not driven by a few unusual points.
Interpreting the result
- Direction: positive r means higher values of one variable go with higher values of the other; anxiety is negatively related to exam score.
- Strength: a common rule of thumb treats |r| around .1 as small, .3 as medium and .5 or above as large. By that rule of thumb, hours studied has a large association with exam score; sleep and anxiety show small-to-medium ones.
- Precision: the confidence intervals for sleep and anxiety are wide, ranging from almost zero to moderate. A sample of 60 cannot pin these down precisely.
- r² as shared variance: r = 0.665 means hours studied “accounts for” roughly 44% of the variance in exam scores (r²) — in a purely statistical, not causal, sense.
Always look at the scatterplot. Pearson’s r measures only straight-line relationships: a strong curve can produce r near zero, and a single outlier can create or hide a correlation.
Reporting example (APA style)
Hours studied was strongly and positively correlated with exam score, r(58) = 0.665, 95% CI [0.49, 0.79], p < .001. Test anxiety was negatively correlated with exam score, r(58) = -0.284, 95% CI [-0.50, -0.03], p = .028.
APA style drops the leading zero for statistics that cannot exceed 1 (write r = .67). jamovi’s tables show the zero; edit it in your write-up.
Common mistakes
- Correlation as causation. Students who study more may also differ in motivation or prior knowledge.
- Testing dozens of pairs and reporting only the significant ones. With many variables, some correlations will be significant by chance; plan your key comparisons.
- Ignoring restricted range. If everyone in the sample studied 6–8 hours, the correlation will understate the relationship across the full range.
- Correlating a categorical variable. Pearson’s r is not meaningful for nominal variables with several categories.
Troubleshooting
- A variable cannot be added: it is probably Nominal or text. Check its type in the variable setup.
- N is smaller than expected: cases with a missing value on either variable are excluded from that pair (pairwise deletion) by default.
- Need to control for a third variable? Use .