[R] a question on autocorrelation acf

Bazman76 h_a_patience at hotmail.com
Mon Dec 5 20:24:41 CET 2011


Hi there,

I am wondering how R calculates the acf too?

I have a data set of approx 1500 returns when I calculate the lag 1
autocorrelation in excel I get a value of -0.4 but in R its approximately
-0.18?

I have cross checked with PC give and PC give agrees with excel?

I'm sure its just some kind of scaling but it would be nice to resolve this
discrepency!

Baz

--
View this message in context: http://r.789695.n4.nabble.com/a-question-on-autocorrelation-acf-tp2076280p4161818.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list