Factor analysis models x=μ+Wz+ϵ, with z∼N(0,Iq) and noise ϵ∼N(0,Ψ) where Ψ is diagonal. (a) What covariance does this imply for x? (b) For d=6 observed variables and q=2 factors, how many free parameters does it use compared with a full covariance, taking the rotation ambiguity into account? (c) How does it differ from PCA?

Unsupervised learning, Factor analysis
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you can state the factor analysis covariance structure, count its parameters and say what the diagonal noise changes compared with PCA.

Key idea

Cov⁡(x)=WW⊤+Ψ: low-rank shared structure plus a separate noise variance for each variable; the loading matrix W is only identified up to a rotation.

Steps

  1. Since z and ϵ are independent with zero mean, Cov⁡(x)=WCov⁡(z)W⊤+Ψ=WW⊤+Ψ.
  2. A full symmetric 6×6 covariance has d(d+1)/2=21 free parameters.
  3. The model has dq=12 numbers in W and d=6 in Ψ, a total of 18. But replacing W by WR for any orthogonal 2×2 matrix R gives the same WW⊤, which removes q(q−1)/2=1 parameter. So there are 18−1=17 free parameters, fewer than 21.
  4. Difference from PCA: factor analysis gives each variable its own noise variance ψj, and it explains the covariances between variables with the factors. PCA (and probabilistic PCA, where Ψ=σ2I) treats all variables as equally noisy and chases total variance.
  5. So factor analysis is better when variables are measured on different scales or have different noise levels, and its fit does not depend on the units of each variable (rescaling a variable only rescales its row of W and its ψj). PCA results change when you rescale variables.
  6. There is no closed-form maximum-likelihood solution; it is fitted by EM or by numerical optimisation, and loadings are often rotated (for example varimax) to ease interpretation.

Common mistakes

How long your answer should be

Half a page; 4–5 minutes.

Last checked on 4 December 2026.

Read this

Previous in Unsupervised learning: How do you show that the directions of maximum variance also minimise the squared reconstruction error of PCA? How do you derive the error for k components in terms of the eigenvalues of the covariance matrix?
Next in Unsupervised learning: In independent component analysis (ICA) we observe x=As with independent sources s. (a) Why must at most one source be Gaussian? (b) Why is whitening the first step? (c) A source s with unit variance is uniform on [−3,3]. Its excess kurtosis is E[s4]−3. What is it, and what is the kurtosis of (s1+s2)/2 for two independent such sources?