Concept Architecture
Principal Component: Concept Architecture
Orientation and learning roadmap
A principal component compresses several correlated variables into one mathematically defined score. This page explains loadings, scores, variance maximization, covariance and correlation choices, eigenvalue and singular-value calculations, retention, and interpretation. It then connects components to health-economic indices, outcomes, prediction, uncertainty, spreadsheet checks, and reproducible reporting.
A component is a direction and a score
For a centered observation vector (\mathbf x), a principal component score is (z_k=\mathbf v_k^\top\mathbf x). The unit vector (\mathbf v_k) contains the component loadings and defines a direction through the original variable space.
The loading vector belongs to the fitted data set, while each observation receives its own score. Calling either object simply “the component” can cause confusion, so analyses should distinguish the axis, loadings, scores, and explained variance.
The first component maximizes variance
The first loading vector is chosen to maximize the variance of projected scores subject to unit length. The unit-length constraint prevents variance from being increased merely by multiplying all coefficients by a larger constant. For covariance matrix (\mathbf S), the optimization is:
[ \max_{\mathbf v:,\mathbf v^\top\mathbf v=1}\mathbf v^\top\mathbf S\mathbf v. ]
The solution is an eigenvector associated with the largest eigenvalue of (\mathbf S). The eigenvalue equals the variance of the resulting component scores under the matching covariance convention.
Later components add orthogonal directions
The second component maximizes remaining projected variance while being orthogonal to the first loading vector. Each later component is similarly orthogonal to all earlier components.
For the sample used to fit ordinary PCA, distinct principal-component scores are uncorrelated. Orthogonality is geometric and does not imply statistical independence except under additional distributional conditions.
Centering defines variation around the mean
Ordinary PCA subtracts each variable's sample mean before components are calculated. Without centering, the first direction can largely reflect the distance of the data cloud from the origin rather than variation among observations.
The means must be retained and applied when new observations are scored. Training and validation data should never be centered independently if scores are intended to use the same fitted component.
Scaling determines which variables dominate
Covariance-based PCA retains original variable scales, so variables with large numeric variance can dominate the components. Correlation-based PCA standardizes each variable, commonly to zero mean and unit sample variance, before decomposition.
Neither choice is universally correct. Covariance PCA is meaningful when variables share comparable units and scale, while correlation PCA is often safer when units or dispersions differ for reasons unrelated to importance.
Eigenvectors and eigenvalues define the decomposition
For a symmetric covariance or correlation matrix, eigenvectors can be chosen orthonormally and eigenvalues are nonnegative apart from small numerical error. This eigensystem links the geometry of the component directions to their score variances. The defining relationships are:
[ \mathbf S\mathbf v_k=\lambda_k\mathbf v_k, \qquad \mathbf v_j^\top\mathbf v_k=0\quad(j\neq k). ]
Ordering eigenvalues from largest to smallest orders the components by explained variance. If eigenvalues are tied or nearly tied, individual axes can be unstable even when their combined subspace is reliable.
Singular-value decomposition is the standard computational route
Let (\mathbf X_c) be the centered data matrix with (n) observations. Its singular-value decomposition (\mathbf X_c=\mathbf U\mathbf D\mathbf V^\top) yields principal axes in the columns of (\mathbf V).
With sample covariance (\mathbf S=\mathbf X_c^\top\mathbf X_c/(n-1)), the eigenvalues are (d_k^2/(n-1)). Direct SVD often avoids the extra conditioning loss involved in explicitly forming the covariance matrix.
Explained variance measures retained dispersion
The proportion of total variance explained by component (k) is its eigenvalue divided by the sum of all eigenvalues. Cumulative explained variance is often used to describe how much dispersion is retained by the first (q) components.
[ \operatorname{EVR}k=\frac{\lambda_k}{\sum{j=1}^{p}\lambda_j}. ]
High explained variance does not guarantee that retained components preserve a treatment effect, rare subgroup, causal relation, or predictive signal. Variance is an unsupervised criterion, not a direct measure of decision relevance.
A two-variable example
Consider the covariance matrix (\begin{bmatrix}4&2\2&2\end{bmatrix}). Its eigenvalues are (3+\sqrt5\approx5.236068) and (3-\sqrt5\approx0.763932), so the first component explains approximately 87.27% of total variance.
A corresponding first loading vector is approximately ((0.850651,0.525731)^\top). For a centered observation ((2,1)^\top), the first component score is approximately 2.227033.
Reconstruction shows what dimensional reduction discards
Using all components reconstructs centered data exactly apart from numerical error. Dimensional reduction discards the projections associated with omitted axes and therefore introduces reconstruction error. Retaining only (q<p) components gives the rank-(q) reconstruction:
[ \widehat{\mathbf x}=\sum_{k=1}^{q}z_k\mathbf v_k. ]
For the example observation and first component only, the reconstruction is approximately ((1.894427,1.170820)^\top). The residual ((0.105573,-0.170820)^\top) lies in the omitted orthogonal direction.
Loading signs are arbitrary
If (\mathbf v_k) is an eigenvector, then (-\mathbf v_k) is equally valid. Reversing the loadings also reverses every score but changes neither explained variance, reconstruction, nor distances within component space.
Sign differences across software runs or studies are therefore not substantive by themselves. Analysts may orient signs for interpretability, but the rule should be documented and applied consistently.
Loadings are not all defined the same way
Some software reports unit eigenvectors as loadings, while other outputs report correlations between variables and components or scale eigenvectors by square roots of eigenvalues. These quantities are related but not numerically interchangeable.
Every table should define its convention. Interpretation errors often arise when coefficient loadings, variable-component correlations, and contribution measures are given the same label.
Scores locate observations on the component
A score is calculated by applying a loading vector to centered or standardized variables using the preprocessing from model fitting. Large positive and negative scores identify observations at opposite ends of the component direction.
Scores are relative coordinates, not automatically clinical scales. Their units and standard deviation depend on scaling, whitening, and software conventions.
Components are data-dependent
Loadings depend on the sampled population, variable definitions, preprocessing, missing-data handling, and time period. A component derived in one health system or patient group may rotate or reorder in another.
External application requires the original means, scales, loadings, variable order, and coding. Transportability should be tested rather than assumed from a similar variable list.
Outliers can rotate principal directions
Classical covariance and PCA are sensitive to extreme observations because squared distances strongly influence variance. A small number of unusual records can change loadings, scores, and retained dimensions.
Data-quality checks, robust scaling, influence analysis, and robust PCA variants can help. Genuine rare populations should not be deleted merely because they influence the result.
Missing data need an explicit strategy
Complete-case PCA can lose information and change the target population when missingness is systematic. Simple mean imputation suppresses variance and can distort correlations.
Multiple imputation, model-based PCA, or methods designed for incomplete matrices may be preferable. Uncertainty from missing-data handling should be reflected in loadings or downstream analyses when material.
The number of retained components is a modeling choice
Common rules include cumulative explained variance, scree plots, parallel analysis, cross-validation, reconstruction error, and downstream performance. A fixed percentage threshold is easy to report but can retain noise or discard a low-variance feature that matters.
Retention should match the analytical objective and be tested for stability. Choosing (q) after inspecting favorable downstream results can introduce optimistic bias.
Biplots combine variable and observation views
A biplot displays observation scores and variable vectors in a low-dimensional component plane. It can reveal clusters, gradients, outliers, and variables associated with the displayed directions.
Distances and angles depend on biplot scaling and on how much variance the displayed components retain. Visual separation does not establish causal groups or validate a clustering result.
PCA is not factor analysis
PCA decomposes total observed variance into orthogonal directions and is principally a descriptive transformation. Common factor analysis models shared covariance using latent factors plus variable-specific error.
Both methods produce coefficient patterns, but their objectives, assumptions, and variance partitions differ. A principal component should not be described as a latent causal factor without separate evidence.
PCA is not a causal method
A component summarizes covariance in measured variables. It does not identify causal effects, mediation, confounding control, or the mechanism that generated the correlations.
Using component scores in regression can reduce dimensionality or collinearity, but causal identification still depends on design and assumptions. Unsupervised variance maximization can also omit a low-variance confounder or treatment modifier.
Components can build health indices
Health-services and economic studies sometimes combine correlated access, deprivation, resource, utilization, or quality indicators into component scores. The result can reduce redundancy and provide a compact descriptive index.
The component weights are empirical rather than normative. A high-variance combination is not automatically the fairest, most clinically important, or most policy-relevant index.
Standardization affects policy meaning
Standardizing indicators gives each variable equal variance before PCA, not equal ethical or decision importance. A rare but important measure can still receive a small loading if it contributes little to overall covariance.
Indicator direction should be harmonized so higher values have a consistent meaning before interpretation. Otherwise, the arbitrary sign and mixed coding can produce misleading labels such as “greater need” or “better access.”
Component scores can enter outcome models
Researchers may use retained scores as predictors to reduce correlated covariates, stabilize regression, or create compact scenario inputs. The same preprocessing and loadings must be applied within every resampling, validation, or deployment step.
Fitting PCA before cross-validation leaks information from validation folds into training. PCA and the downstream model should be treated as one pipeline when estimating predictive performance.
Health-economic models need decision-level validation
Components can compress correlated patient characteristics, service inputs, or simulation outputs, but compression error may affect costs, QALYs, or subgroup decisions. Explained variance alone is insufficient to establish suitability.
Analysts should compare incremental costs, effects, net benefit, calibration, and uncertainty using the original and reduced representations. A discarded direction may have low overall variance yet materially influence a decision boundary.
Sampling uncertainty affects loadings
Estimated eigenvalues and eigenvectors vary across samples. Bootstrap resampling, split-sample checks, perturbation analysis, or repeated studies can assess stability.
Component matching across replications must allow for sign changes, reordered axes, and rotations within near-tied subspaces. Reporting a single coefficient table without stability evidence can overstate precision.
Sparse and rotated solutions change the objective
Sparse PCA constrains or penalizes loadings to improve interpretability, while rotation redistributes variance across a retained subspace. These methods can make patterns clearer but no longer represent the ordinary unmodified component solution.
The algorithm, penalty, rotation, and normalization should be reported. Rotated axes may be correlated under oblique rotation and should not automatically be called principal components.
Spreadsheet calculations are suitable for small checks
A spreadsheet can center or standardize a small matrix, calculate a covariance matrix, and verify scores from supplied loadings. For a centered row in B2:C2 and a loading vector in F2:F3, a score can use =SUMPRODUCT(B2:C2,TRANSPOSE(F2:F3)).
Eigenvalue calculations and large decompositions are better handled by validated statistical software. Spreadsheet checks should confirm means near zero, unit loading norms, orthogonality, score variances, and reconstruction.
A disciplined component workflow
Reliable principal components begin with a defined analytical purpose and a governed variable set. The workflow ends with stability and downstream validation rather than an explained-variance threshold alone.
- Define the purpose. State whether components support exploration, visualization, compression, prediction, adjustment, or index construction.
- Specify variables. Record definitions, units, coding direction, population, and exclusions.
- Handle data quality. Address missingness, outliers, transformations, and impossible values.
- Choose preprocessing. Decide centering, covariance versus correlation, scaling, and weighting.
- Compute the decomposition. Use a stable eigenvalue or singular-value algorithm.
- Select components. Combine variance, stability, validation, and substantive relevance.
- Interpret cautiously. Distinguish loadings, correlations, scores, and empirical patterns from causal meaning.
- Validate stability. Test resamples, subgroups, time periods, and external populations.
- Validate decisions. Measure the effect of reduction on predictions, costs, QALYs, and choices.
- Report reproducibly. Preserve preprocessing values, loadings, signs, software, versions, and code.
Common errors and safeguards
Principal components are exact mathematical outputs of a chosen data matrix, but their meaning is not automatic. Strong safeguards preserve preprocessing, output conventions, stability, and the distinction between variance and importance.
- Omitting centering can make location relative to zero dominate the solution.
- Mixing incompatible units without justified scaling can let one variable dominate.
- Treating loading sign as intrinsically positive or negative ignores sign indeterminacy.
- Calling eigenvectors, correlations, and scaled loadings the same quantity causes misinterpretation.
- Treating uncorrelated components as statistically independent is generally incorrect.
- Selecting components only by a fixed explained-variance threshold can miss decision-relevant structure.
- Labeling a component as a latent cause overstates what PCA establishes.
- Performing PCA before cross-validation leaks validation information.
- Ignoring outliers and missingness can rotate the fitted directions.
- Applying scores without the training means, scales, and variable order produces invalid results.
- Comparing unmatched component numbers across samples can mistake sign, order, or subspace changes for disagreement.
- Using a high explained-variance percentage as proof of predictive or policy value is incorrect.
Reproducible reporting preserves the transformation
A complete record identifies the population, observations, variables, units, coding, transformations, missing-data method, outlier treatment, centering values, scaling values, covariance or correlation choice, algorithm, retained dimension, and selection rule. It also preserves loading and score conventions, sign orientation, eigenvalues, explained-variance ratios, software, packages, versions, and random seeds where applicable.
Verification evidence should include unit loading norms, orthogonality, reconstruction checks, score variances, sensitivity to scaling, stability across resamples, and downstream performance. A component should be relabeled, restricted, or rejected when its interpretation or decision use is unstable.
Related Concepts (1)
Library
Publications
1
Statistical Analysis of Cost-Effectiveness Data — Willan & Briggs, 1st Edition ed., 2006 (John Wiley & Sons)
A synthesis of statistical methods for analysing cost-effectiveness data, including net-benefit regression, confidence intervals for the ICER, cost-effectiveness acceptability curves, and covariate adjustment. Part of the Wiley Statistics in Practice series.
BookView source →
Frequently Asked Questions (6)
What is a principal component?
In principal component analysis, a derived variable combining original observed variables to capture the maximum possible variance, uncorrelated with prior components.
Source: Pearson 1901
What does a principal component capture from the original variables?
A principal component is a new variable formed by combining the original measured variables so as to capture as much of their total variation as possible. The first component captures the most, the next captures the most of what remains while staying uncorrelated with the first, and so on, so a few components can summarise many variables. This makes principal component analysis a way to reduce dimensionality, condensing correlated measurements into a handful of informative summaries. Packing maximum variance into a new variable is what it does. Kline (2015) describes this.
Source: Kline 2015
How are principal components derived?
Principal components are derived from the covariance or correlation matrix of the variables by finding the directions, given by the eigenvectors, along which the data vary most, with the associated eigenvalues giving the variance captured. The first component is the direction of greatest variance, and each subsequent component the greatest remaining variance while orthogonal to the previous ones. So principal components are derived as the eigenvectors of the variables' covariance or correlation matrix, ordered by the variance they explain, which produces uncorrelated components that successively capture the maximum remaining variance, providing a mathematically optimal summary of the data's variation.
Source: Pearson 1901
What is principal component analysis used for?
Principal component analysis is used for data reduction, summarising many correlated variables by a few components that capture most of the variance; for visualisation, by plotting the leading components; and for addressing collinearity, since the components are uncorrelated. So principal component analysis is used to simplify high-dimensional data, retaining most of the information in fewer dimensions, which is valuable for exploration, visualisation, and as a preprocessing step for other analyses, and because the components are uncorrelated it can also handle collinearity among predictors, making principal components a widely used tool for reducing and understanding multivariate data.
Source: Pearson 1901
How does a principal component differ from a factor?
A principal component is a combination of the observed variables constructed to capture maximum variance, being a summary of the data, while a factor in factor analysis is a latent variable hypothesised to cause the correlations among the observed variables, representing an underlying construct. Principal component analysis is descriptive data reduction; factor analysis models latent structure. So a principal component and a factor differ in interpretation and purpose, with the component a variance-maximising combination of the variables and the factor a hypothesised underlying cause, which is why principal component analysis is used for summarising and reducing data and factor analysis for identifying latent constructs, though the two are related and sometimes confused.
Source: Pearson 1901
How is the number of principal components chosen?
The number of principal components to retain is chosen to capture a sufficient proportion of the total variance while reducing dimensionality, using criteria such as the cumulative variance explained, the eigenvalues, or a scree plot showing where the explained variance levels off. So the number of principal components is selected by balancing how much variance is retained against the reduction in dimensions, keeping enough components to summarise the data adequately without retaining many that add little, which is why the pattern of eigenvalues and the cumulative variance are examined, along with the purpose of the analysis, to decide how many components meaningfully represent the data.
Source: Pearson 1901
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 25 Sep 2026
Content version: 1.0.0
Canonical Identity
- Persistent URI
- https://healtheconomics.wiki/concept/principal-component
- Term code
- HE-ES-SA-166
Stable URI · Machine-readable · Resolvable · CC BY 4.0
