# Statistics/Multivariate Data Analysis/Principal Component Analysis

In a Principal Component Analysis (PCA) a new coordinate system is created from the data. The origin of this new coordinate system is the grand mean, i.e. the mean of each variable becomes the 0 in the transformed coordinate system. The first principal component (first axis) extends through the longest extent of the data. Imagine your data being three variables, x_{1}, x_{2} and x_{3}. The data form a data cloud in three-dimensional space, like a bun, for example. Then the first axis (p_{1}) can be visualised as a knitting needle poked through the maximum dimensions of the bun. The second axis (p_{2}) is orthogonal to the first axis, extending through the next-longest side of the bun. As mentioned, the origin, i.e. the intercept of the two axis, is the mean. Therefore the two axes meet in the center of gravity (assuming uniform density) of the bun. The third axis, again, is orthogonal to both previous axes. In our 3D-example you can easily work out that there is only one possibility left.

Any combination of old variable values (e.g. x_{11}, x_{21}, x_{31}) will have a new value in the transformed PCA-system (p_{11}, p_{21}, p_{31}). However now the vectors of coordinates (p1., p2. and p3.) will be orthogonal and uncorrelated.

## See also[edit | edit source]

- Exploratory factor analysis (Wikiversity)
- Principal components analysis (Wikipedia)