Stats 1.10Concept5 parts

Pair Plots and Correlation Heatmaps

Screen several relationships while keeping the units, groups and sample size visible.

In this lesson5 parts

  1. 01Declare the rows and columns before exploring
  2. 02Build a pair plot from a display sample
  3. 03Add sparse monetary fields without hiding their zeros
  4. 04Compute and read the correlation matrix
  5. 05Choose a follow-up and reproduce the scan

Key terms

The words this lesson introduces, each in one line. The module’s glossary collects them all.

validation partition
Rows excluded from this lesson's exploratory calculation and later model fitting.
off-diagonal panel
One pair of different variables in a pair plot.
pair plot
A grid of pairwise plots with one-variable distributions on the diagonal.
sparse values
Many recorded zeros with fewer nonzero entries.
correlation matrix
A table of pairwise correlation coefficients. It is symmetric, with ones on the diagonal.
heatmap
A matrix whose cell color encodes its numeric value.

Quiz 5 questions

Your first pick on each question is the one that counts, and a right one earns a coin. Getting one wrong here is how the lesson sticks.

Practice

Problems to solve in your own notebook. Each states the problem, not the steps: working out the steps is the exercise. Level A applies the lesson, B combines it with earlier ones, C stretches it.

The self-checking notebook for this lesson is Stats 1.6 and 1.10 · Association in the census records.

Common mistakes

What you will see when it goes wrong, why it happens, and the fix.

Where it’s used

Where this lesson’s ideas turn up in real work.