FACTOID # 93: Saudi diplomats have 367 unpaid parking fines in Britain.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Principal components analysis

Principal component analysis (PCA) is a technique used to reduce multidimensional data sets to lower dimensions for analysis. Depending on the field of application, it is also named the discrete Karhunen-Loève transform, the Hotelling transform or proper orthogonal decomposition (POD). A data set (or dataset) is a collection of data, usually presented in tabular form. ... In the theory of stochastic processes, the Karhunen-Loève theorem (named after Kari Karhunen and Michel Loève) states that a centered stochastic process {Xt}t (where centered means that the expectations E(Xt) are defined and equal to 0 for all t) satisfying a technical continuity condition, admits... Harold Hotelling (Fulda, Minnesota, September 29, 1895 - December 26, 1973) was a mathematical statistician. ...


PCA was invented in 1901 by Karl Pearson[1]. Now it is mostly used as a tool in exploratory data analysis and for making predictive models. PCA involves the calculation of the eigenvalue decomposition of a data covariance matrix or singular value decomposition of a data matrix, usually after mean centering the data for each attribute. The results of a PCA are usually discussed in terms of component scores and loadings[citation needed]. Year 1901 (MCMI) was a common year starting on Tuesday (link will display calendar) of the Gregorian calendar (or a common year starting on Monday [1] of the 13-day-slower Julian calendar). ... Karl Pearson FRS (March 27, 1857 – April 27, 1936) established the discipline of mathematical statistics. ... Exploratory data analysis (EDA) is that part of statistical practice concerned with reviewing, communicating and using data where there is a low level of knowledge about its cause system. ... In mathematics, particularly linear algebra and functional analysis, the spectral theorem is any of a number of results about linear operators or about matrices. ... In statistics and probability theory, the covariance matrix is a matrix of covariances between elements of a vector. ... In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ...

Contents

Details

PCA is mathematically defined[2] as an orthogonal linear transformation that transforms the data to a new coordinate system such that the greatest variance by any projection of the data comes to lie on the first coordinate (called the first principal component), the second greatest variance on the second coordinate, and so on. PCA is theoretically the optimum transform for a given data in least square terms. In linear algebra, an orthogonal matrix is a square matrix G whose transpose is its inverse, i. ... In mathematics, a linear transformation (also called linear map or linear operator) is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication. ... In mathematics as applied to geometry, physics or engineering, a coordinate system is a system for assigning a tuple of numbers to each point in an n-dimensional space. ...


PCA can be used for dimensionality reduction in a data set by retaining those characteristics of the data set that contribute most to its variance, by keeping lower-order principal components and ignoring higher-order ones. Such low-order components often contain the "most important" aspects of the data. However, depending on the application this may not always be the case. In statistics, dimensionality reduction is mapping a multidimensional space into a space of fewer dimensions. ... This article is about mathematics. ...


For a data matrix, XT, with zero empirical mean (the empirical mean of the distribution has been subtracted from the data set), where each row represents a different repetition of the experiment, and each column gives the results from a particular probe, the PCA transformation is given by: In mathematics, a matrix (plural matrices) is a rectangular table of elements (or entries), which may be numbers or, more generally, any abstract quantities that can be added and multiplied. ... In mathematics and statistics, the arithmetic mean of a set of numbers is the sum of all the members of the set divided by the number of items in the set. ...

mathbf{Y}^T=mathbf{X}^Tmathbf{W}
 = mathbf{V}mathbf{Sigma}

where V Σ WT is the singular value decomposition (svd) of XT. In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ...


PCA has the distinction of being the optimal linear transformation for keeping the subspace that has largest variance. This advantage, however, comes at the price of greater computational requirement if compared, for example, to the discrete cosine transform. In mathematics, a linear transformation (also called linear map or linear operator) is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication. ... 2-D DCT compared to the DFT The discrete cosine transform (DCT) is a Fourier-related transform similar to the discrete Fourier transform (DFT), but using only real numbers. ...


Discussion

Though most derivations and implementations fail to identify the importance of mean subtraction, data centering is carried out because it is part of the solution towards finding a basis that minimizes the mean square error of approximating the data[3]. Assuming zero empirical mean (the empirical mean of the distribution has been subtracted from the data set), the principal component w1 of a data set x can be defined as: In mathematics and statistics, the arithmetic mean of a set of numbers is the sum of all the members of the set divided by the number of items in the set. ...

mathbf{w}_1 = argmax_{Vert mathbf{w} Vert = 1} operatorname{var}{ mathbf{w}^T mathbf{x} } = argmax_{Vert mathbf{w} Vert = 1} Eleft{ left( mathbf{w}^T mathbf{x}right)^2 right}

(See arg max for the notation.) With the first k − 1 components, the k-th component can be found by subtracting the first k − 1 principal components from x: In mathematics, arg max (or argmax) stands for the argument of the maximum, that is to say, the value of the given argument for which the value of the given expression attains its maximum value: This is well-defined only if the maximum is reached at a single value. ...

mathbf{hat{x}}_{k - 1} = mathbf{x} - sum_{i = 1}^{k - 1} mathbf{w}_i mathbf{w}_i^T mathbf{x}

and by substituting this as the new data set to find a principal component in

mathbf{w}_k = argmax_{Vert mathbf{w} Vert = 1} Eleft{ left( mathbf{w}^T mathbf{hat{x}}_{k - 1} right)^2 right}.

The Karhunen-Loève transform is therefore equivalent to finding the singular value decomposition of the data matrix X, In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ...

mathbf{X}=mathbf{W}mathbf{Sigma}mathbf{V}^T,

and then obtaining the reduced-space data matrix Y by projecting X down into the reduced space defined by only the first L singular vectors, WL:

mathbf{Y}=mathbf{W_L}^Tmathbf{X} = mathbf{Sigma_L}mathbf{V_L}^T

The matrix W of singular vectors of X is equivalently the matrix W of eigenvectors of the matrix of observed covariances C = X XT,

mathbf{X}mathbf{X}^T = mathbf{W}mathbf{Sigma}mathbf{Sigma}^Tmathbf{W}^T

The eigenvectors with the largest eigenvalues correspond to the dimensions that have the strongest correlation in the data set (see Rayleigh quotient). In linear algebra, the eigenvectors (from the German eigen meaning inherent, characteristic) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ... In linear algebra, a scalar λ is called an eigenvalue (in some older texts, a characteristic value) of a linear mapping A if there exists a nonzero vector x such that Ax=λx. ... Several sets of (x, y) points, with the correlation coefficient of x and y for each set. ... In mathematics, for a given real symmetric matrix A and real nonzero vector x, the Rayleigh quotient R(A,x) is defined as: Note that R(A,c·x) = R(A,x) for any real scalar c. ...


PCA is equivalent to empirical orthogonal functions (EOF). In statistics and signal processing, the method of empirical orthogonal functions is a decomposition of a signal or data set in terms of orthogonal basis functions which are determined from the data. ...


An autoencoder neural network with a linear hidden layer is also equivalent to PCA. Upon convergence, the weight vectors of the K neurons in the hidden layer will form a basis for the space spanned by the first K principal components. Unlike PCA, this technique will not necessarily produce orthogonal vectors. An auto-encoder is an artificial neural network used for learning efficient codings. ... An artificial neural network (ANN), often just called a neural network (NN), is a mathematical model or computational model based on biological neural networks. ... In mathematics, orthogonal is synonymous with perpendicular when used as a simple adjective that is not part of any longer phrase with a standard definition. ...


PCA is a popular technique in pattern recognition. But it is not optimized for class separability[4]. An alternative is the linear discriminant analysis, which does take this into account. PCA optimally minimizes reconstruction error under the L2 norm. Pattern recognition is a field within the area of machine learning. ... Linear discriminant analysis (LDA) and the related Fishers linear discriminant are methods used in statistics and machine learning to find the linear combination of features which best separate two or more classes of object or event. ... In mathematics, the Lp and spaces are spaces of p-power integrable functions, and corresponding sequence spaces. ...


Table of symbols and abbreviations

Symbol Meaning Dimensions Indices
mathbf{X} = { X[m,n] } data matrix, consisting of the set of all data vectors, one vector per column  M times N  m = 1 ldots M
 n = 1 ldots N
N , the number of column vectors in the data set 1 times 1 scalar
M , the number of elements in each column vector (dimension) 1 times 1 scalar
L , the number of dimensions in the dimensionally reduced subspace,  1 le L le M 1 times 1 scalar
mathbf{u} = { u[m] } vector of empirical means, one mean for each row m of the data matrix  M times 1  m = 1 ldots M
mathbf{s} = { s[m] } vector of empirical standard deviations, one standard deviation for each row m of the data matrix  M times 1  m = 1 ldots M
mathbf{h} = { h[n] } vector of all 1's  1 times N  n = 1 ldots N
mathbf{B} = { B[m,n] } deviations from the mean of each row m of the data matrix  M times N  m = 1 ldots M
 n = 1 ldots N
mathbf{Z} = { Z[m,n] } z-scores, computed using the mean and standard deviation for each row m of the data matrix  M times N  m = 1 ldots M
 n = 1 ldots N
mathbf{C} = { C[p,q] } covariance matrix  M times M  p = 1 ldots M
 q = 1 ldots M
mathbf{R} = { R[p,q] } correlation matrix  M times M  p = 1 ldots M
 q = 1 ldots M
 mathbf{V} = { V[p,q] } matrix consisting of the set of all eigenvectors of C, one eigenvector per column  M times M  p = 1 ldots M
 q = 1 ldots M
mathbf{D} = { D[p,q] } diagonal matrix consisting of the set of all eigenvalues of C along its principal diagonal, and 0 for all other elements  M times M  p = 1 ldots M
 q = 1 ldots M
mathbf{W} = { W[p,q] } matrix of basis vectors, one vector per column, where each basis vector is one of the eigenvectors of C, and where the vectors in W are a sub-set of those in V  M times L  p = 1 ldots M
 q = 1 ldots L
mathbf{Y} = { Y[m,n] } matrix consisting of N column vectors, where each vector is the projection of the corresponding data vector from matrix X onto the basis vectors contained in the columns of matrix W.  L times N  m = 1 ldots L
 n = 1 ldots N

This article is about mathematical mean. ... In probability and statistics, the standard deviation of a probability distribution, random variable, or population or multiset of values is a measure of the spread of its values. ... In radio, frequency deviation is the result of frequency modulation. ... In statistics, a standard score (z) is a dimensionless quantity derived by subtracting the sample mean from an individual (raw) score and then dividing the difference by the sample standard deviation: The quantity z represents the number of standard deviations between the raw score and the mean; it is negative... In statistics and probability theory, the covariance matrix is a matrix of covariances between elements of a vector. ... In probability theory and statistics, correlation, also called correlation coefficient, indicates the strength and direction of a linear relationship between two random variables. ... In linear algebra, the eigenvectors (from the German eigen meaning inherent, characteristic) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ... In linear algebra, a diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. ... In linear algebra, a scalar λ is called an eigenvalue (in some older texts, a characteristic value) of a linear mapping A if there exists a nonzero vector x such that Ax=λx. ... In linear algebra, the main diagonal of a square matrix is the diagonal which runs from the top left corner to the bottom right corner. ... In linear algebra, the eigenvectors (from the German eigen meaning inherent, characteristic) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ...

Properties and Limitations of PCA

PCA is theoretically the optimal linear scheme, in terms of least mean square error, for compressing a set of high dimensional vectors into a set of lower dimensional vectors and then reconstructing the original set. It is a non-parametric analysis and the answer is unique and independent of any hypothesis about data probability distribution. However, the latter two properties are regarded as weakness as well as strength, in that being non-parametric, no prior knowledge can be incorporated and that PCA compressions often incur loss of information. Minimum mean-square error (MMSE) relates to an estimator having estimates with the minimum mean squared error possible. ... A probability distribution describes the values and probabilities that a random event can take place. ...


The applicability of PCA is limited by the assumptions[5] made in its derivation. These assumptions are:

  • Assumption on Linearity

We assumed the observed data set to be linear combinations of certain basis. Non-linear methods such as kernel PCA have been developed without assuming linearity.

  • Assumption on the statistical importance of mean and covariance

PCA uses the eigenvectors of the covariance matrix and it only finds the independent axes of the data under the Gaussian assumption. For non-Gaussian or multi-modal Gaussian data, PCA simply de-correlates the axes. When PCA is used for clustering, its main limitation is that it does not account for class separability since it makes no use of the class label of the feature vector. There is no guarantee that the directions of maximum variance will contain good features for discrimination. In linear algebra, the eigenvectors (from the German eigen meaning own) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ... For the physics topics, see covariant transformation; about the mathematics example for groupoids, see covariance in special relativity; for the computer science topic see covariance and contravariance (computer science), in mathematics and theoretical physics see covariance and contravariance of vectors, in category theory see covariance and contravariance of functors. ...

  • Assumption that large variances have important dynamics

PCA simply performs a coordinate rotation that aligns the transformed axes with the directions of maximum variance. It is only when we believe that the observed data has a high signal-to-noise ratio that the principal components with larger variance correspond to interesting dynamics and lower ones correspond to noise.


Essentially, PCA involves only rotation and scaling. The above assumptions are made in order to simplify the algebraic computation on the data set. Some other methods have been developed without one or more of these assumptions; these are briefly described below.


Computing PCA using the Covariance Method

Following is a detailed description of PCA using the covariance method. The goal is to transform a given data set X of dimension M to an alternative data set Y of smaller dimension L. Equivalently, we are seeking to find the matrix Y, where Y is the Karhunen-Loeve transform (KLT) of matrix X:

 mathbf{Y} = mathbb{KLT} { mathbf{X} }

Organize the data set

Suppose you have data comprising a set of observations of M variables, and you want to reduce the data so that each observation can be described with only L variables, L < M. Suppose further, that the data are arranged as a set of N data vectors mathbf{x}_1 ldots mathbf{x}_N with each mathbf{x}_n representing a single grouped observation of the M variables.

  • Write mathbf{x}_1 ldots mathbf{x}_N as column vectors, each of which has M rows.
  • Place the column vectors into a single matrix X of dimensions M × N.

Calculate the empirical mean

  • Find the empirical mean along each dimension m = 1...M.
  • Place the calculated mean values into an empirical mean vector u of dimensions M × 1.
u[m] = {1 over N} sum_{n=1}^N X[m,n]

Calculate the deviations from the mean

Mean subtraction is an integral part of the solution towards finding a principal component basis that minimizes the mean square error of approximating the data[6]. Hence we proceed by centering the data as follows:

  • Subtract the empirical mean vector u from each column of the data matrix X.
  • Store mean-subtracted data in the M × N matrix B.
mathbf{B} = mathbf{X} - mathbf{u} cdot mathbf{h}
where h is a 1 x N row vector of all 1's:
h[n] = 1 , qquad qquad mathrm{for  } n = 1 ldots N

Find the covariance matrix

  • Find the M × M empirical covariance matrix C from the outer product of matrix B with itself:
mathbf{C} = mathbb{ E } left[ mathbf{B} otimes mathbf{B} right] = mathbb{ E } left[ mathbf{B} cdot mathbf{B}^{*} right] = { 1 over N } mathbf{B} cdot mathbf{B}^{*}
where
mathbb{E} is the expected value operator,
 otimes is the outer product operator, and
 *  is the conjugate transpose operator. Note that if B consists entirely of real numbers, which is the case in many applications, the "conjugate transpose" is the same as the regular transpose.
  • Please note that the information in this section is indeed a bit fuzzy. See the covariance matrix sections on the discussion page for more information.

Outer product typically refers to the tensor product or to operations with similar cardinality such as exterior product. ... In probability theory the expected value (or mathematical expectation) of a random variable is the sum of the probability of each possible outcome of the experiment multiplied by its payoff (value). Thus, it represents the average amount one expects as the outcome of the random trial when identical odds are... Outer product typically refers to the tensor product or to operations with similar cardinality such as exterior product. ... In mathematics, the conjugate transpose, Hermitian transpose, or adjoint matrix of an m-by-n matrix A with complex entries is the n-by-m matrix A* obtained from A by taking the transpose and then taking the complex conjugate of each entry. ... In linear algebra, the transpose of a matrix A is another matrix AT (also written Atr, tA, or A′) created by any one of the following equivalent actions: write the rows of A as the columns of AT write the columns of A as the rows of AT reflect A...

Find the eigenvectors and eigenvalues of the covariance matrix

mathbf{V}^{-1} mathbf{C} mathbf{V} = mathbf{D}
where D is the diagonal matrix of eigenvalues of C. This step will typically involve the use of a computer-based algorithm for computing eigenvectors and eigenvalues. These algorithms are readily available as sub-components of most matrix algebra systems, such as MATLAB, Mathematica, SciPy, or IDL(Interactive Data Language). See, for example, the eig function.
D[p,q] = lambda_m qquad mathrm{for} qquad p = q = m
is the mth eigenvalue of the covariance matrix C, and
D[p,q] = 0 qquad mathrm{for} qquad p ne q.
  • Matrix V, also of dimension M × M, contains M column vectors, each of length M, which represent the M eigenvectors of the covariance matrix C.
  • The eigenvalues and eigenvectors are ordered and paired. The mth eigenvalue corresponds to the mth eigenvector.

In linear algebra, the eigenvectors (from the German eigen meaning own) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ... In linear algebra, a square matrix A is called diagonalizable if it is similar to a diagonal matrix, i. ... In linear algebra, a diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. ... In mathematics, a number is called an eigenvalue of a matrix if there exists a nonzero vector such that the matrix times the vector is equal to the same vector multiplied by the eigenvalue. ... ... Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ... For other uses, see Mathematica (disambiguation). ... SciPy is an open source library of high-quality scientific tools for the Python programming language. ... Wikipedia does not yet have an article with this exact name. ... IDL, short for interactive data language, is a programming language which has been a popular choice for data analysis among scientists in the past 15 years. ... In linear algebra, a diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. ...

Rearrange the eigenvectors and eigenvalues

  • Sort the columns of the eigenvector matrix V and eigenvalue matrix D in order of decreasing eigenvalue.
  • Make sure to maintain the correct pairings between the columns in each matrix.

Compute the cumulative energy content for each eigenvector

  • The eigenvalues represent the distribution of the source data's energy among each of the eigenvectors, where the eigenvectors form a basis for the data. The cumulative energy content g for the mth eigenvector is the sum of the energy content across all of the eigenvectors from 1 through m:
g[m] = sum_{q=1}^m D[p,q] qquad mathrm{for} qquad p = q qquad mathrm{and} qquad m = 1...M

In linear algebra, a basis is a set of vectors that, in a linear combination, can represent every vector in a given vector space, and such that no element of the set can be represented as a linear combination of the others. ...

Select a subset of the eigenvectors as basis vectors

  • Save the first L columns of V as the M × L matrix W:
 W[p,q] = V[p,q] qquad mathrm{for} qquad p = 1...M qquad q = 1...L
where
1 leq L leq M.
  • Use the vector g as a guide in choosing an appropriate value for L. The goal is to choose as small a value of L as possible while achieving a reasonably high value of g on a percentage basis. For example, you may want to choose L so that the cumulative energy g is above a certain threshold, like 90 percent. In this case, choose the smallest value of L such that
 g[m=L] ge 90%

Convert the source data to z-scores

  • Create an M × 1 empirical standard deviation vector s from the square root of each element along the main diagonal of the covariance matrix C:
 mathbf{s} = { s[m] } = sqrt{C[p,q]} qquad mathrm{for  } p = q = m = 1 ldots M
  • Calculate the M × N z-score matrix:
 mathbf{Z} = { mathbf{B} over mathbf{s} cdot mathbf{h} } (divide element-by-element)
  • Note: While this step is useful for various applications as it normalizes the data set with respect to its variance, it is not integral part of PCA/KLT!

Compares the various grading methods in a normal distribution. ...

Project the z-scores of the data onto the new basis

  • The projected vectors are the columns of the matrix
 mathbf{Y} = mathbf{W}^* cdot mathbf{Z} = mathbb{KLT} { mathbf{X} }.
  • The columns of matrix Y represent the Karhunen-Loeve transforms (KLT) of the data vectors in the columns of matrix X.

Derivation of PCA using the covariance method

Let X be a d-dimensional random vector expressed as column vector. Without loss of generality, assume X has zero empirical mean. We want to find a d times d orthonormal transformation matrix P such that In mathematics, an orthonormal basis of an inner product space V(i. ...

mathbf{Y} = mathbf{P}^top mathbf{X}

with the constraint that

operatorname{cov}(mathbf{Y}) is a diagonal matrix and mathbf{P}^{-1} = mathbf{P}^top.

By substitution, and matrix algebra, we obtain: In linear algebra, a diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. ...

 begin{matrix} operatorname{cov}(mathbf{Y}) &=& mathbb{E}[ mathbf{Y} mathbf{Y}^top]  &=& mathbb{E}[( mathbf{P}^top mathbf{X} ) ( mathbf{P}^top mathbf{X} )^top]  &=& mathbb{E}[(mathbf{P}^top mathbf{X}) (mathbf{X}^top mathbf{P})]   &=& mathbf{P}^top mathbb{E}[mathbf{X} mathbf{X}^top] mathbf{P}   &=& mathbf{P}^top operatorname{cov}(mathbf{X}) mathbf{P} end{matrix}

We now have:

 begin{matrix} mathbf{P}operatorname{cov}(mathbf{Y}) &=& mathbf{P} mathbf{P}^top operatorname{cov}(mathbf{X}) mathbf{P}  &=& operatorname{cov}(mathbf{X}) mathbf{P} end{matrix}

Rewrite P as d d times 1 column vectors, so

mathbf{P} = [P_1, P_2, ldots, P_d]

and operatorname{cov}(mathbf{Y}) as:

 begin{bmatrix} lambda_1 & cdots & 0  vdots & ddots & vdots  0 & cdots & lambda_d end{bmatrix}.

Substituting into equation above, we obtain:

[lambda_1 P_1, lambda_2 P_2, ldots, lambda_d P_d] = [operatorname{cov}(X)P_1, operatorname{cov}(X)P_2, ldots, operatorname{cov}(X)P_d].

Notice that in lambda_i P_i = operatorname{cov}(X)P_i, Pi is an eigenvector of X′s covariance matrix. Therefore, by finding the eigenvectors of X′s covariance matrix, we find a projection matrix P that satisfies the original constraints. In linear algebra, the eigenvectors (from the German eigen meaning own) of a linear operator are non-zero vectors which, when operated on by the operator, result in a scalar multiple of themselves. ...


Relation to K-means clustering

It has been shown recently [7] [8] that the relaxed solution of K-means clustering, specified by the cluster indicators, are given by the PCA principal components, and the PCA subspace spanned by the principal directions is identical to the cluster centroid subspace specified by the between-class scatter matrix. The K-means algorithm is an algorithm to cluster objects based on attributes into k partitions. ... It has been suggested that this article or section be merged into sample mean and sample covariance. ...


Correspondence analysis

Correspondence analysis was developed by J.-P. Benzecri[9] is conceptually similar to PCA, but scales the data (which must be positive) so that rows and columns are treated equivalently. It is traditionally applied to contingency tables. Correspondence analysis decomposes the Chi-square statistic associated to this table into orthogonal factors. Because correspondence analysis is a descriptive technique, it can be applied to tables for which the Chi-square statistic is appropriate or not.


Spectral Map Analysis

Spectral Map Analysis,or spectral mapping was devised by Lewi [10] [11] and is an alternative approach for the graphical analysis of multivariate data. Basically, the method consists of logarithmic transformation and double centering of the data followed by factorization by means of a (weighted) singular value decomposition and a biplot of the resulting factor scores and loadings. The advantage over correspondence analysis is that its scope is not limited to contingency tables and cross-tabulations. The method has more recently also been referred to as Log-Ratio Analysis. In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ...


Nonlinear generalizations

Most of the modern methods for nonlinear dimensionality reduction find their theoretical and algorithmic roots in PCA or K-means. The original Pearson's idea was to take a straight line (or plane) which will be "the best fit" to a set of data points. Principal curves and manifolds give the natural geometric framework for PCA generalization and extend the geometric interpretation of PCA by explicitly constructing an embedded manifold for data approximation, and by encoding using standard geometric projection onto the manifold[12]. High dimensional data can be difficult to interpret. ... In mathematics, the concept of a curve tries to capture the intuitive idea of a geometrical one-dimensional and continuous object. ... On a sphere, the sum of the angles of a triangle is not equal to 180° (see spherical trigonometry). ... It has been suggested that this article or section be merged with estimation. ... In mathematics, a projection is any one of several different types of functions, mappings, operations, or transformations, for example, the following: A set-theoretic operation typified by the jth projection map, written , that takes an element of the cartesian product to the value . ...


Software/source code

  • Computer Vision Library
  • Multivariate Data Analysis Software
  • in Matlab, the function "princomp" gives the principal component
  • in the open source statistical package R, the functions "princomp" and "prcomp" can be used for principal component analysis; prcomp uses singular value decomposition which generally gives better numerical accuracy.
  • "spm" is a generic package developed in R for multivariate projection methods that allows principal components analysis, correspondence analysis, and spectral map analysis
  • In XLMiner, the Principles Component tab can be used for principal component analysis.
  • SciLab

Not to be confused with Matlab Upazila in Chandpur District, Bangladesh. ... For the database, see IBM System R The R programming language, sometimes described as GNU S, is a programming language and software environment for statistical computing and graphics. ... In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ... For the database, see IBM System R The R programming language, sometimes described as GNU S, is a programming language and software environment for statistical computing and graphics. ...

References

  1. ^ Pearson, K. (1901). "On Lines and Planes of Closest Fit to Systems of Points in Space". Philosophical Magazine 2 (6): 559–572. 
  2. ^ Jolliffe I.T. Principal Component Analysis, Series: Springer Series in Statistics, 2nd ed., Springer, NY, 2002, XXIX, 487 p. 28 illus. ISBN 978-0-387-95442-4
  3. ^ A.A. Miranda, Y.-A. Le Borgne, and G. Bontempi. New Routes from Minimal Approximation Error to Principal Components, Volume 27, Number 3 / June, 2008, Neural Processing Letters, Springer
  4. ^ Fukunaga, Keinosuke (1990). Introduction to Statistical Pattern Recognition. Elsevier. 
  5. ^ Jon Shlens, A Tutorial on Principal Component Analysis.
  6. ^ A.A. Miranda, Y.-A. Le Borgne, and G. Bontempi. New Routes from Minimal Approximation Error to Principal Components, Volume 27, Number 3 / June, 2008, Neural Processing Letters, Springer
  7. ^ H. Zha, C. Ding, M. Gu, X. He and H.D. Simon. "Spectral Relaxation for K-means Clustering", Neural Information Processing Systems vol.14 (NIPS 2001). pp. 1057-1064, Vancouver, Canada. Dec. 2001.
  8. ^ Chris Ding and Xiaofeng He. "K-means Clustering via Principal Component Analysis". Proc. of Int'l Conf. Machine Learning (ICML 2004), pp 225-232. July 2004.
  9. ^ Benzécri, J.-P. (1973). L'Analyse des Données. Volume II. L'Analyse des Correspondences. Paris, France: Dunod. 
  10. ^ Lewi, P.J. (1976). "Spectral Mapping, a technique for classifying biological activity profiles of chemical compounds". Arzneimittel Forschung (Drug Research) 26: 1295-1300. 
  11. ^ Lewi, P.J. (2005). "Spectral Mapping, a personal and historical account of an adventure in multivariate data analysis". Chemometrics and Intelligent Laboratory Systems 77: 215-223. 
  12. ^ A. Gorban, B. Kegl, D. Wunsch, A. Zinovyev (Eds.), Principal Manifolds for Data Visualisation and Dimension Reduction, LNCSE 58, Springer, Berlin - Heidelberg - New York, 2007. ISBN 978-3-540-73749-0

See also

Some eigenfaces from AT&T Laboratories Cambridge. ... Factor analysis is a statistical method used to explain variability among observed random variables in terms of fewer unobserved random variables called factors. ... Most real world data sets consist of data vectors whose individual components are not statistically independent, that is, they are redundant in the statistical sense. ... Independent component analysis (ICA) is a computational method for separating a multivariate signal into additive subcomponents supposing the mutual statistical independence of the non-Gaussian source signals. ... Support vector machines (SVMs) are a set of related supervised learning methods used for classification and regression. ... In the mathematical discipline of linear algebra, a matrix decomposition is a factorization of a matrix into some canonical form. ... High dimensional data can be difficult to interpret. ... The Point Distribution Model is a model for representing the mean geometry of a shape and some statistical modes of geometric variation inferred from a training set of shapes. ... In linear algebra, the singular value decomposition (SVD) is an important factorization of a rectangular real or complex matrix, with several applications in signal processing and statistics. ... Transform coding is a type of data compression for natural data like audio signals or photographic images. ...

External links

Source coding redirects here. ... Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data. ... Not to be confused with information technology, information science, or informatics. ... Claude Shannon In information theory, the Shannon entropy or information entropy is a measure of the uncertainty associated with a random variable. ... In computer science, the Kolmogorov complexity (also known as descriptive complexity, Kolmogorov-Chaitin complexity, stochastic complexity, algorithmic entropy, or program-size complexity) of an object such as a piece of text is a measure of the computational resources needed to specify the object. ... Redundancy in information theory is the number of bits used to transmit a message minus the number of bits of actual information in the message. ... In information theory an entropy encoding is a data compression scheme that assigns codes to symbols so as to match code lengths with the probabilities of the symbols. ... In computer science and information theory, Huffman coding is an entropy encoding algorithm used for lossless data compression. ... Adaptive Huffman coding is an adaptive coding technique based on Huffman coding, building the code as the symbols are being transmitted, having no initial knowledge of source distribution, that allows one-pass encoding and adaptation to changing conditions in data. ... The introduction to this article provides insufficient context for those unfamiliar with the subject matter. ... In the field of data compression, Shannon-Fano coding is a technique for constructing a prefix code based on a set of symbols and their probabilities (estimated or measured). ... Range encoding is a form of arithmetic coding, a data compression method, that is believed to be free from arithmetic coding related patents. ... Golomb coding is a form of entropy encoding invented by Solomon W. Golomb that is optimal for alphabets following geometric distributions, that is, when small values are vastly more common than large values. ... An Exponential-Golomb code (or just Exp-Golomb code) of order is a type of universal code, parameterized by a whole number . ... Fibonacci, Elias Gamma, and Elias Delta vs binary coding Rice with k=2,3,4,5,8,16 vs binary In data compression, a universal code for integers is a prefix code that maps the positive integers onto binary codewords, with the additional property that whatever the true probability distribution... Elias gamma code is a universal code encoding positive integers. ... The Fibonacci code is a universal code which encodes positive integers into binary code words. ... A dictionary coder, also sometimes known as a substitution coder, is any of a number of data compression algorithms which operate by searching for matches between the text to be compressed and a set of strings contained in a data structure (called the dictionary) maintained by the encoder. ... Run-length encoding (RLE) is a very simple form of data compression in which runs of data (that is, sequences in which the same data value occurs in many consecutive data elements) are stored as a single data value and count, rather than as the original run. ... LZ77 and LZ78 are the names for the two lossless data compression algorithms published in papers by Abraham Lempel and Jacob Ziv in 1977 and 1978. ... LZW (Lempel-Ziv-Welch) is a lossless data compression algorithm. ... LZWL is a syllable-based variant of the character-based LZW compression algorithm. ... Lempel-Ziv-Oberhumer (LZO) is a data compression algorithm that is focused on decompression speed. ... DEFLATE is a lossless data compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding. ... Lempel-Ziv-Markov chain-Algorithm (LZMA) is a data compression algorithm in development since 1998 and used in the 7z format of the 7-Zip archiver. ... LZX is the name of an LZ77 family compression algorithm. ... LZJB is the name for the lossless data compression algorithm invented by Jeff Bonwick to compress crash dumps and data in ZFS. LZJB source code Categories: | ... The context tree weighting method (CTW) is a lossless compression and prediction algorithm by . ... The Burrows-Wheeler transform (BWT, also called block-sorting compression), is an algorithm used in data compression techniques such as bzip2. ... PPM is an adaptive statistical data compression technique based on context modeling and prediction. ... Dynamic Markov Compression (DMC) is a lossless data compression algorithm developed by Gordon Cormack and Nigel Horspool [1]. It uses predictive arithmetic coding similar to prediction by partial matching (PPM), except that the input is predicted one bit at a time (rather than one byte at a time). ... Audio compression is a form of data compression designed to reduce the size of audio files. ... Acoustics is the interdisciplinary sciences that always deals with the study of sound, ultrasound and infrasound (all mechanical waves in gases, liquids, and solids). ... In mathematics and, in particular, functional analysis, convolution is a mathematical operator which takes two functions f and g and produces a third function that in a sense represents the amount of overlap between f and a reversed and translated version of g. ... In signal processing, sampling is the reduction of a continuous signal to a discrete signal. ... The Nyquist–Shannon sampling theorem is a fundamental result in the field of information theory, in particular telecommunications and signal processing. ... An audio codec is a computer program that compresses/decompresses digital audio data according to a given audio file format or streaming audio format. ... It has been suggested that this article or section be merged with Code Excited Linear Prediction. ... Log Area Ratios (LAR) can be used to represent Reflection Coefficients (another from for Linear Prediction Coefficients) for transmission over a channel. ... Line Spectral Pairs (LSP) are used to represent Linear Prediction Coefficients (LPC) for transmission over a channel. ... Warped Linear Predictive Coding (Warped LPC or WLPC) is a variant of Linear predictive coding in which the spectral representation of the system is modified, for example by replacing the unit delays used in an LPC implementation with first-order allpass filters. ... Code Excited Linear Prediction (CELP) is a speech coding algorithm originally proposed by M.R. Schroeder and B.S. Atal in 1985. ... Algebraic Code Excited Linear Prediction or ACELP is a speech encoding algorithm where a limited set of pulses is distributed as excitation to linear prediction filter. ... Graph of μ-law & A-law algorithms An a-law algorithm is a standard companding algorithm, used in European digital communications systems to optimize, modify, the dynamic range of an analog signal for digitizing. ... In telecommunication, a mu-law algorithm (μ-law) is a standard analog signal compression or companding algorithm, used in digital communications systems of the North American and Japanese digital hierarchies, to optimize (in other words, modify) the dynamic range of an audio analog signal prior to digitizing. ... modified discrete cosine transform (MDCT) is a Fourier-related transform based on the type-IV discrete cosine transform (DCT-IV), with the additional property of being lapped: it is designed to be performed on consecutive blocks of a larger dataset, where subsequent blocks are overlapped so that the last half... In mathematics, the Fourier transform is a certain linear operator that maps functions to other functions. ... Psychoacoustics is the study of subjective human perception of sounds. ... Audio level compression, also called dynamic range compression, volume compression, compression, limiting, or DRC (often seen in DVD player settings) is a process that manipulates the dynamic range of an audio signal. ... Speech coding is the compression of speech (into a code) for transmission with speech codecs that use audio signal processing and speech processing techniques. ... Sub-band coding is any form of transform coding that breaks a signal into a number of different frequency bands and encodes each one independently. ... Image compression is the application of Data compression on digital images. ... A comparison of different color spaces. ... This article is about the picture element. ... In digital image processing, chroma subsampling is the use of lower resolution for the colour (chroma) information in an image than for the brightness (intensity or luma) information. ... A compression artifact (or artefact) is the result of an aggressive data compression scheme applied to an image, audio, or video that discards some data which is determined by an algorithm to be of lesser importance to the overall content but which is nonetheless discernible and objectionable to the user. ... Run-length encoding (RLE) is a very simple form of data compression in which runs of data (that is, sequences in which the same data value occurs in many consecutive data elements) are stored as a single data value and count, rather than as the original run. ... Fractal compression is a lossy compression method used to compress images using fractals. ... Wavelet compression is a form of data compression well suited for image compression (sometimes also video compression and audio compression). ... Set Partitioning in Hierarchical Trees (SPIHT) is an image compression algorithm that exploits the inherent similarities across subbands in a wavelet decomposition of an image. ... 2-D DCT compared to the DFT The discrete cosine transform (DCT) is a Fourier-related transform similar to the discrete Fourier transform (DFT), but using only real numbers. ... In statistics, principal components analysis (PCA) is a technique that can be used to simplify a dataset; more formally it is a linear transformation that chooses a new coordinate system for the data set such that the greatest variance by any projection of the data set comes to lie on... In telecommunications and computing, bit rate (sometimes written bitrate) is the frequency at which bits are passing a given (physical or metaphorical) point. It is quantified using the bit per second (bit/s) unit. ... In order to intuitively test the effects of an image-processing algorithm on a natural picture a number of test images are in common use in the image-processing field. ... The phrase peak signal-to-noise ratio, often abbreviated PSNR, is an engineering term for the ratio between the maximum possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. ... Quantization, involved in image processing. ... Video compression refers to making a digital video signal use less data, without noticeably reducing the quality of the picture. ... For other uses, see Video (disambiguation). ... It has been suggested that video frame be merged into this article or section. ... The three major picture types found in typical video compression designs are I(ntra) pictures, P(redicted) pictures, and B(i-predictive) pictures (or B(i-directional) pictures). ... Video quality is a characteristic of video passed through a video processing system. ... A video codec is a device or software that enables video compression and or decompression for digital video. ... The introduction to this article provides insufficient context for those unfamiliar with the subject matter. ... 2-D DCT compared to the DFT The discrete cosine transform (DCT) is a Fourier-related transform similar to the discrete Fourier transform (DFT), but using only real numbers. ... Quantized signal Digital signal In digital signal processing, quantization is the process of approximating a continuous range of values (or a very large set of possible discrete values) by a relatively-small set of discrete symbols or integer values. ... A video codec is a device or software that enables video compression and or decompression for digital video. ... Rate distortion theory is the branch of information theory addressing the problem of determining the minimal amount of entropy (or information) R that should be communicated over a channel such that the source (input signal) can be reconstructed at the receiver (output signal) with given distortion D. As such, rate... Constant bit rate (CBR) is a term used in telecommunications, relating to the quality of service. ... Average bit rate refers to the average amount of data transferred per second. ... Variable bit rate (VBR) is a term used in telecommunications and computing that relates to sound or video quality. ... A timeline of events related to information theory, data compression, error correcting codes and related subjects. ...

  Results from FactBites:
 
PlanetMath: principal components analysis (330 words)
The principal axes and the variance along each of them are then given by the eigenvectors and associated eigenvalues of the dispersion matrix.
Principal component analysis has in practice been used to reduce the dimensionality of problems, and to transform interdependent coordinates into significant and independent ones.
This is version 3 of principal components analysis, born on 2002-01-19, modified 2006-05-29.
NationMaster - Encyclopedia: Principal components analysis (566 words)
PCA involves the computation of the eigenvalue decomposition or Singular value decomposition of a data set, usually after mean centering the data for each attribute.
Principal components analysis is a technique for finding a set of weighted linear composites of original variables such that each composite (a principal component) is uncorrelated with the others.
PCA can be used for dimensionality reduction in a dataset while retaining those characteristics of the dataset that contribute most to its variance, by keeping lower-order principal components and ignoring higher-order ones.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.