Pre-Class Discovery: PCA Intuition

Complete before lecture — 15 minutes, no computer needed

Activity 1: Spot the Redundancy

Five students took three exams. Look at the scores carefully before answering.
StudentMathPhysicsLiterature
Anna858260
Ben727078
Carla959155
David605888
Eva787572
Pairwise scatter plots of Math, Physics, Literature for the five students

a) Which two subjects have scores that move together? When one is high, the other is also high?

b) If you could keep only ONE number per student to summarize overall performance, what would you compute?

c) Would it make sense to average Math and Literature together? Why or why not?

Show answers

a) Redundant pair

Math and Physics move together almost perfectly. When Anna scores 85 in Math, she scores 82 in Physics. When David scores 60, he scores 58. The two columns carry nearly the same information.

b) One number per student

A weighted average of the three scores, or simply the average of Math and Physics (since they agree). This single number would summarize the shared pattern. PCA does exactly this—it finds the linear combination that captures the most shared variation.

c) Averaging Math and Literature

No. They move in opposite directions for several students: Carla excels at Math (95) but scores low in Literature (55); David is the reverse (60 / 88). Averaging them would cancel the signal and produce a misleading middle value for everyone.

Activity 2: Direction of Maximum Spread

Imagine plotting Math on the x-axis and Physics on the y-axis for the five students above. Anna is near (85, 82), David near (60, 58), and so on.
Scatter plot of Math (x-axis) versus Physics (y-axis) scores for Anna, Ben, Carla, David, Eva

a) Sketch roughly where the five points fall. Are they spread more left–right, up–down, or diagonally?

b) Draw an arrow through the cloud showing the direction of MOST spread. This arrow is your first principal component (PC1)!

c) If you project all points onto this arrow, you get PC1 scores. How much information about the original two variables do you lose?

Show answers

a) Shape of the cloud

The points form a tight diagonal band running from bottom-left (David: 60, 58) to top-right (Carla: 95, 91). There is almost no vertical spread around the diagonal—the cloud is more elongated than it is wide.

b) Direction of PC1

The arrow points from bottom-left to top-right at roughly 45°. This direction captures the shared rise—"students who score high in one subject score high in the other."

Math vs Physics scatter with PC1 arrow showing the direction of maximum variance

c) Information loss

Very little. Because Math and Physics are strongly correlated, almost all variation is along the diagonal. The small scatter perpendicular to the arrow (the part you lose) is mostly noise. If the correlation were weaker, the loss would be larger.

Activity 3: Hidden Causes

Thought experiment: suppose the three exam scores are produced by two hidden abilities—(1) quantitative talent and (2) verbal talent. Math and Physics depend mainly on quantitative talent. Literature depends mainly on verbal talent.

a) Draw arrows on paper: Quantitative talent → which subjects? Verbal talent → which subjects?

b) This is the core idea behind Exploratory Factor Analysis (EFA). How is it different from just averaging the scores?

c) Would you use PCA or EFA if you wanted to discover which hidden abilities explain the test scores? Why?

Show answers

a) Factor arrows

Quantitative talent → Math, Physics (both arrows point away from one latent node). Verbal talent → Literature. The diagram looks like two causes producing three effects.

Factor diagram: Quantitative talent points to Math and Physics; Verbal talent points to Literature

b) EFA vs. averaging

Averaging simply compresses numbers—it says nothing about why they correlate. EFA models a causal story: it postulates latent factors and estimates how strongly each observed variable reflects each factor. The result tells you the structure of the underlying abilities, not just a summary score.

c) PCA or EFA?

EFA. PCA is a data-compression tool—it finds directions of maximum variance without assuming hidden causes. EFA explicitly models latent variables (hidden causes) and is designed for questions like "what underlying factors explain why these variables correlate?"

Bring your answers to class! We will revisit these ideas with real data and R code.
‹ Back to Lesson 3
Statistical Data Analysis  |  Digital AI Finance  |  BSc Data Science  |  © Joerg Osterrieder 2025–2026