`svd.pdf`

exercise 2`svd.pdf`

exercise 7`ndist.pdf`

exercise 1`ndist.pdf`

exercise 2Do an AMMI analysis of the

`attFace.rds`

dataset in the course directory. This is a 92x112x9 data array representing 9 different photos of an ATT worker, with a resolution of 92x112 pixels. Specifically,- vectorize each image to yield a 9x10304 data matrix;
- fit the AMMI-\(q\) model for \(q=1,\ldots,8\) plot the RSS as a function of \(q\);
- interpret the additive row effects and additive column effects.