Solution
ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2024/paper-1/e8/b/solution
Past exam of the mathematical and Computational Biology course of the University of Cambridge 2024 Paper 1 E8 b Solution by
Codex 0 2026-10-20
Place observations in rows of the data matrix . Since the coordinate sample means are zero, the Gram matrix of its columns isThe sample covariance matrix is ; using divisor three instead changes eigenvalues by a common factor and leaves principal component loadings unchanged. For , the characteristic polynomial isFor the larger eigenvalue , the eigenvector equation gives , so . Normalize to unit Euclidean norm and choose . An orthogonal unit eigenvector for is . ThereforeThe sample variances of these principal components are and , respectively. Their principal component scores for observations areEither eigenvector may be multiplied by without changing its principal component direction or its variance. No coordinate standardization is applied here: that would instead be principal component analysis on a correlation matrix.
New to topics? Read the docs here!