Nepedia
Back to Discover
Advanced Reader
🔢

Principal component analysis

math Maturity 11-13 Next article →

Principal Component Analysis, or PCA, is a powerful linear dimensionality reduction technique. It is used to simplify complex datasets by transforming many variables into a smaller set of new ones. This process is essential for exploratory data analysis, visualization, and data preprocessing. When scientists face a massive cloud of data points, they often struggle to see patterns. PCA solves this by finding a new coordinate system. In this new system, the directions are called principal components. These components capture the largest amounts of variation within the data.

GaussianScatterPCA
GaussianScatterPCA

The mechanism of PCA relies on a specific mathematical sequence. First, the data must be centered. This is done by subtracting the mean of each variable from its observed values. This shifts the data so that the center of the cloud sits at zero. Next, researchers compute a covariance matrix. This matrix describes how the different variables in the dataset change together. The core of the process involves finding the eigenvectors and eigenvalues of this matrix. The eigenvectors represent the directions of the principal components. They act as an orthonormal basis, meaning they are all at right angles to one another. The eigenvalues indicate the amount of variance captured by each corresponding direction.

PCA versus Factor Analysis
PCA versus Factor Analysis

PCA works through a series of distinct, ordered stages. The first principal component is the direction that explains the most variance in the original variables. It is a linear combination of those variables that maximizes the spread of the projected data. The second principal component explains the most remaining variance after the first component is removed. This second direction must be orthogonal, or perpendicular, to the first. This process can continue through many iterations until all the variance in the dataset is explained. Each subsequent component captures less information than the one before it. This creates a hierarchy of importance among the new variables.

The history of PCA involves several key figures and different names. Karl Pearson invented the method in 1901. He designed it as an analogue to the principal axis theorem used in mechanics. Later, in the 1930s, Harold Hotelling independently developed the method. Because of his work, it is sometimes called the Hotelling transform in multivariate quality control. Depending on the scientific field, PCA goes by many different names. In signal processing, it is known as the discrete Karhunen–Loève transform. Meteorological scientists call it empirical orthogonal functions. Mechanical engineers often refer to it as proper orthogonal decomposition.

SCREE plot
SCREE plot

Understanding the significance of PCA requires looking at how much information is retained. Scientists often use a tool called a scree plot to interpret their results. This plot shows the amount of explained variance for each component. A researcher looks for a point of inflexion, often called a "knee," in the plot. This knee indicates how many components should be kept to represent the data accurately. By choosing the right number of components, researchers can reduce dimensions while keeping the most important details. This allows them to turn high-dimensional data into simple, two-dimensional plots.

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

There are many notable examples of PCA in various scientific disciplines. In population genetics, it can separate different lines of genetic descent. For instance, it can be used to analyze Y-chromosomal markers in individuals. In biology, PCA helps researchers study the microbiome. Atmospheric science uses PCA to understand complex weather patterns. It is also used in medical research, such as analyzing patterns in breast cancer studies.

Elmap breastcancer wiki
Elmap breastcancer wiki

These applications show how PCA turns a mountain of numbers into a visible, understandable structure.

Finally, PCA is closely related to several other mathematical concepts. It is a simple type of eigenvector-based multivariate analysis. It shares a relationship with factor analysis, though factor analysis uses different assumptions about data structure. PCA is also linked to canonical correlation analysis, or CCA. While PCA describes the variance within a single dataset, CCA describes the cross-covariance between two different datasets. Additionally, PCA is related to singular value decomposition, which is a way to decompose a data matrix. These connections show how PCA fits into the broader world of linear algebra and statistics.

AirMerIconographyCorrelation
AirMerIconographyCorrelation
675 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.