You have seen why we subtract the means: it moves the centre to zero without removing the differences between observations. You have also built covariance from products of those deviations and used the covariance matrix to find the axes. Now let us examine my next choice: why did I also divide by the standard deviations?
We can express electrical conductivity in S/m or MS/m. Dividing a value by a million changes the number, but it does not change the material.
Yet PCA compares squared numerical differences. If one column has much larger numerical variation than another, it can dominate the first component.
Can a change of units change our picture?
Start with raw values and change the electrical-conductivity unit. Watch the leading-axis angle and the variance percentage. The observations represent the same physical measurements. The unscaled numerical geometry has changed.
Keep the materials, change the numerical scale
Leave Raw measurements selected first and switch the conductivity units. Notice how the leading direction changes. Then choose Standardized logarithms and repeat the unit change; this time, we can see why the same pattern stays in place.
Let us make our numerical choice explicit
For the measurement maps in this lesson, I first take the logarithms of the two positive conductivities. A tenfold change then corresponds to a difference of one. I leave the Seebeck coefficient signed.
I then subtract each column’s mean and divide by its sample standard deviation. The transformed columns have mean zero and variance one. Switch to that view and change the conductivity units again. The standardized logarithmic values, and therefore the principal direction, stay the same.
That does not make standardization the right choice for every question. We choose it here to compare patterns across measured quantities with different units and numerical scales.
Would I treat the elemental fractions the same way?
Our chemical map answers a different question. Every coordinate is already an atomic fraction. I centre those fractions, but do not divide by their individual standard deviations. This emphasizes absolute changes in fractions. Standardizing them would give rare, low-variance elemental coordinates much more weight.
The fractions also add to one. Ordinary Euclidean PCA of these fractions is an exploratory choice; it is not a compositional log-ratio analysis. We should interpret that map with its representation in mind.
So we have two distinct preparations: 880 formula strings with equal weight in chemical PCA; all 5,205 records in measurement PCA. A composition measured at many temperatures contributes many records to the latter.
We now know what our numbers mean, why we centre them, and why I chose these scales. Let us put those choices to work. In Part 4, I will take the observation you selected and help you calculate its score, one contribution at a time.