Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I'm trying lmrob, cor.mve and cor.mcd in R for robust correlation of two number series (of the same length) A and B. I get different results if I put A~B or A,B than if I put B~A, or B,A. Might someone guide me as to why? thanks

share|improve this question
2  
From the help files, lmrob fits a regression model which is not the same as correlation. I would expect lm(A~B) to be different from lm(B~A). In which package is cor.mve and cor.mcd? – Andrie May 3 '11 at 7:48
Did you mean cov.mve and cov.mcd in package MASS? – Andrie May 3 '11 at 8:01

migrated from stackoverflow.com May 3 '11 at 13:42

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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