A characterization of the distribution of the multivariate quadratic form given by XAX', where X is a p x n normally distributed matrix and A is an n x n symmetric real matrix, is presented. We show that the distribution of the quadratic form is the same as the distribution of a weighted sum of non central Wishart distributed matrices. This is applied to derive the distribution of the sample covariance between the rows of X when the expectation is the same for every column and is estimated with the regular mean.
QC 20121004