Matt Brems (he/him)
1 min readMay 9, 2020

--

Thank you for the comment, Ridha! I don’t believe that’s accurate, but want to share my thinking — please correct me if I’m wrong.

If X is a matrix with n rows (samples) and p columns (variables), then XX would be an n*n matrix, whereas X’X would be a p*p matrix. The covariance matrix that measures the covariance of each column should be p*p, since there are p variables.

--

--

Matt Brems (he/him)
Matt Brems (he/him)

Written by Matt Brems (he/him)

Chair, Executive Board @ Statistics Without Borders. Distinguished Faculty @ General Assembly. Co-Founder @ BetaVector.

No responses yet