image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Set Theory, Logic, Probability, Statistics


Reply

image Autocorrelation and autocorrelation time Share It Thread Tools Search this Thread image
Old Jun17-09, 11:02 AM                  #1
tomkeus

tomkeus is Offline:
Posts: 61
Autocorrelation and autocorrelation time

I have Metropolis-Markov algorithm and I need to determine integrated autocorrelation time. In order to do that i have to find autocorrelation and I don't quite get what to do.

For example, after equilibration I did N sweeps, took measurements at each one and I obtained N results LaTeX Code: O_i,i=1...N , for some observable.

Definition of autocorrelation says

LaTeX Code: A_O (t)=\\frac{\\langle O_i O_{i+t}\\rangle-\\langle O_i\\rangle^2}{\\langle O_i^2\\rangle-\\langle O_i\\rangle^2}

What are those averages over? Should I average over LaTeX Code: i ?
  Reply With Quote
Old Jun17-09, 12:46 PM                  #2
EnumaElish
 
EnumaElish's Avatar

EnumaElish is Offline:
Posts: 2,217
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Autocorrelation and autocorrelation time

Yes. The denominator is the variance of your data (sequence indexed by i). The numerator is the covariance between O(i) and O(i+t).

http://en.wikipedia.org/wiki/Autocorrelation#Statistics
  Reply With Quote
Old Jun18-09, 06:47 AM                  #3
tomkeus

tomkeus is Offline:
Posts: 61
Re: Autocorrelation and autocorrelation time

One more question. I have obtained N sweeps, so basically time goes from LaTeX Code: i=0 to LaTeX Code: i=N . When I want to obtain autocorrelation for lag LaTeX Code: t=N-1 i just have

LaTeX Code: A_O(t=N-1)=\\frac{O_1 O_N-\\langle O\\rangle^2}{\\sigma_O^2}

so I don't have any averaging for term LaTeX Code: O_1 O_N . Is that right or duration of my data should always be longer than maximum lag I'm calculating autocorrelation for?
  Reply With Quote
Old Jun18-09, 11:09 AM                  #4
EnumaElish
 
EnumaElish's Avatar

EnumaElish is Offline:
Posts: 2,217
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Autocorrelation and autocorrelation time

If you have a single observation, the formula will still work in the arithmetical sense, but your results will not have a high level of confidence because you'd be making an inference about the population based on a single individual observation, O(1) x O(N). The longer the duration (relative to the lag), the higher will be the level of statistical confidence.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Autocorrelation and autocorrelation time
Thread Thread Starter Forum Replies Last Post
autocorrelation time jophysics General Physics 2 May22-09 09:11 AM
Autocorrelation WSS RP ahamdiheme Electrical Engineering 1 Apr9-09 01:01 AM
Cross term gives the autocorrelation? SamTaylor General Math 2 Aug23-08 05:40 AM
reducing autocorrelation of a time series iibewegung Set Theory, Logic, Probability, Statistics 0 Aug13-08 01:49 AM
autocorrelation time Moetasim General Physics 2 Dec9-03 11:28 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image