Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have come across this calculation in a script involved in some principal component analysis:

ddata = data'*data; ddata = max(ddata,ddata');

The resulting matrix ddata is used where I would normally expect a covariance matrix. data is a matrix containing data vectors as its rows. This is not how I would normally calculate a covariance estimate, so I was wondering - is this some kind of robust covariance estimate? I have tried to look it up, but I only found a so-called sandwich estimate, which does not seem to be this.

share|cite|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.