The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: xcorr and corr giving drastically different results
Replies: 5   Last Post: Aug 21, 2013 11:21 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 9
Registered: 8/13/09
xcorr and corr giving drastically different results
Posted: Mar 12, 2012 10:16 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to computer to linear correlation between two timeseries.
xcorr(X,Y,0,'coeff) = 0.9056; corr(X,Y) = -0.41
I don't understand how we could have such different results?! When you look at the two time-series they are clearly anti-correlated. Can somebody explain why we get such results using xcorr?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.