Time Series – How Can Autocorrelation Function of an Oscillating Time Series Always Be Positive?

autocorrelationcorrelationsignal processingtime series

I have an oscillating time series which has a Lorentzian shaped power spectrum, centered about a dominant frequency.

After taking the autocorrelation of this time series, I see that it's nearly always positive.

Here's the normalized autocorrelation of my time series:

enter image description here

(a) is a zoomed out autocorrelation, and (b) is zooming into that short time region.

It's an oscillating time series, so the autocorrelation is oscillating as expected.

How can the autocorrelation almost always be positive though?

I'm confused because the autocorrelation of a sinusoid is another sinusoid, which oscillates between both positive and negative. My autocorrelation, however, oscillates only in the positive regime… What would cause this?

Best Answer

If you make your harmonic signal to have a zero mean you'd see the auto correlation have more negative values.

Since your signal is almost always positive and the correlation is a sum of the values it makes sense it will be almost always positive.

Related Question