Nepedia
Back to Discover
Fluent Reader
🔢

Principal component analysis

math Maturity 11-13 Next article →

Imagine you are looking at a huge cloud of dots floating in space. Each dot represents a piece of information, but there are too many details to see a pattern.

GaussianScatterPCA
GaussianScatterPCA

This is where Principal Component Analysis, or PCA, becomes very useful. PCA is a way to simplify large amounts of data without losing the most important parts. It does this by finding new directions in the data called principal components. These components show us how the data is spread out. By focusing on these directions, we can turn a messy cloud of points into a clear picture. This process is known as dimensionality reduction.

To make PCA work, the math follows a specific set of steps. First, the data is centered by subtracting the average value from every point. This moves the middle of the data cloud to zero. Next, a special tool called a covariance matrix is used to see how the variables relate to each other.

PCA versus Factor Analysis
PCA versus Factor Analysis

The math then finds things called eigenvectors and eigenvalues. The eigenvectors act like arrows that point in the best directions. The eigenvalues tell us how much information is in each direction. The first component captures the most spread, or variance. The second component captures the next most, but it must be at a right angle to the first.

People have been using these ideas for a long time. Karl Pearson invented PCA in 1901. He was inspired by ideas in mechanics. Later, in the 1930s, Harold Hotelling developed the idea again on his own.

SCREE plot
SCREE plot

Because of this, some people call it the Hotelling transform. PCA is a very simple type of analysis compared to other methods like factor analysis. It is closely related to other math tools like singular value decomposition. Different scientists in different fields even have different names for it. For example, weather scientists might call it empirical orthogonal functions.

There are many ways to use PCA in the real world.

PCA of Haplogroup J using 37 STRs
PCA of Haplogroup J using 37 STRs

In biology, scientists use it to study population genetics and tiny germs called microbiomes. Atmospheric scientists use it to study the air around our planet. It can even help doctors look at patterns in breast cancer studies.

Elmap breastcancer wiki
Elmap breastcancer wiki

When scientists have too much data, they use a tool called a scree plot. This plot helps them decide how many principal components are worth keeping. It shows a bend in a line, often called a knee, to guide them. This ensures they keep the most important information while throwing away the noise.

PCA helps us see connections that are otherwise hidden. It takes many different measurements and combines them into a few important ones.

AirMerIconographyCorrelation
AirMerIconographyCorrelation

This makes it much easier to create a simple graph. Instead of a complicated 3D shape, we can often use just two components to draw a flat map. This map can show clusters, which are groups of points that stay close together. By looking at these clusters, we can see how different things are related. It turns a mountain of numbers into a story we can actually see and understand.

503 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (7)
File:GaussianScatterPCA.svg
GaussianScatterPCA.svg
File:SCREE_plot.jpg
SCREE_plot.jpg
File:PCA of Haplogroup J using 37 STRs.png
PCA of Haplogroup J using 37 STRs.png
File:PCA_versus_Factor_Analysis.jpg
PCA_versus_Factor_Analysis.jpg
Fractional Residual Variances comparison,...
File:AirMerIconographyCorrelation.jpg
AirMerIconographyCorrelation.jpg
File:Elmap breastcancer wiki.png
Elmap breastcancer wiki.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.