In my econometrics textbook, the author states this result.
He assumes only that X is an n x K matrix. He states xi is the ith column vector of matrix X. But that implies xi has dimensions n x 1, so xixi' is an n x n matrix, so a sum of n x n matrices is also an n x n matrix. But X'X has dimensions K x K.
Can someone please explain what I'm missing?
