PrincipalComponentAnalysis Class

Represents a principal component analysis.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public sealed class PrincipalComponentAnalysis
Inheritance
Object    PrincipalComponentAnalysis

Remarks

Principal component analysis (PCA) is a form of factor analysis or dimension reduction. It attempts to identify a small number of factors which account for most of the variation in the data.

Mathematically, PCA constructs an alternative set of orthonormal basis vectors for a multivariate data set. These basis vectors, called the principal components, are ordered by the total variance explained by each.

Suppose, for example, you measure the value of different possessions possessions for a sample of people: home value, car value, furniture value, etc. You might expect that much of the variation in these numbers can be explained by one underlying factor, which you might call "wealth". If this is true, then a PCA analysis will show that the most principal component explains a very large faction of the total variance, and the other less principal components will explain only small fractions of the total variance.

Note that PCA is not invariant with respect to the re-scaling of individual variables.

Note that PCA is an exploratory technique, not a hypothesis test.

To carry out a principal component analysis, call the PrincipalComponentAnalysis method.

Properties

Components Gets a collection of the principal components.
Count Gets the number of data entries.
Dimension Gets the number of components.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MinimumDimension Gets the minimum number of principal components that must be included to explain the given fraction of the total variance.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TransformedSample Represents the original data in terms of principal components.

See Also