Correlation heatmap
Colours each correlation in a matrix (blue positive, red negative) with values and significance stars.
Menu: Graphs → More charts → Correlation heatmap…
When should I use it?
- Seeing the pattern in a large correlation matrix.
What are the assumptions?
- Scale or ordinal variables (Spearman for ordinal).
How do I run it in StatLab?
- Choose the variables and the coefficient.
How do I read the output?
| Output | Meaning |
|---|---|
| Cells | Correlation coefficient; * p < .05, ** p < .01, *** p < .001. |
Worked example
On the practice survey dataset (File → Sample dataset), this command — which the dialog's Paste button also produces — runs the procedure:
PROC vizHeatmap /vars=(score age) /method=pearson.
Computed by StatLab's validated procedure code when this page was built. The example only illustrates the steps; choose variables that fit your own research question.
What are common mistakes?
- Reading many significance stars without correcting for multiple tests.