Q4: Given a dataset X with p-attributes, and we want to reduce the number of attributes to k < p.
a. Write the principal components procedure which should include the transformation matrix Z, the covariance matrix of Z, minimization by Lagrange multipliers.
b. Show that the variance of each principal component Zii=1,2,p is equal to ,i=1,2...p