0

I have just calculated my covariance matrix and in a question I am asked to calculate the first two eigenvalues/eigenvectors of the covariance matrix, but the matrix isn't square. So, I am just unclear what values to use to calculate these values. Here is a picture of the data to make things easier to understand:

enter image description here

Ben Bolker
  • 211,554
  • 25
  • 370
  • 453

1 Answers1

1

Even if the data is non-square the covariance matrix will still be square. For example, using the builtin anscombe data frame:

dim(anscombe)
## [1] 11  8

dim(cov(anscombe))
## [1] 8 8
G. Grothendieck
  • 254,981
  • 17
  • 203
  • 341