logo_learn_stats

Learn how to Calculate Autocorrelation in Excel

Posted on
banner 336x280


Autocorrelation measures the stage of similarity between a pace sequence and a lagged model of itself over successive pace periods.

banner 468x60

It’s additionally every so often known as “serial correlation” or “lagged correlation” because it measures the connection between a variable’s wave values and its historic values.

When the autocorrelation in a pace sequence is prime, it turns into simple to expect while values by means of merely regarding week values.

Autocorrelation in Excel

There’s no integrated serve as to calculate autocorrelation in Excel, however we will virtue a unmarried components to calculate the autocorrelation for a pace sequence for a given lag price.

As an example, think we now have refer to pace sequence that displays the price of a undeniable variable all over 15 other pace sessions:

Time series example in Excel

We will be able to virtue refer to components to calculate the autocorrelation at lag okay =2.

=(SUMPRODUCT(B2:B14-AVERAGE(B2:B16), B4:B16-AVERAGE(B2:B16))/COUNT(B2:B16))/VAR.P(B2:B16)

Autocorrelation calculation in Excel

This ends up in a price of 0.656325. That is the autocorrelation at lag okay = 2.

We will be able to calculate the autocorrelation at lag okay = 3 by means of converting the area of values within the components:

=(SUMPRODUCT(B2:B13-AVERAGE(B2:B16), B5:B16-AVERAGE(B2:B16))/COUNT(B2:B16))/VAR.P(B2:B16)

Autocorrelation function for a time series in Excel

This ends up in a price of 0.49105. That is the autocorrelation at lag okay = 3.

We will be able to in finding the autocorrelation at every lag by means of the use of a matching components. You’ll understand that the upper the lag, the decrease the autocorrelation. That is conventional of an autoregressive pace sequence procedure.

Autocorrelation at different lags in Excel

You’ll be able to in finding extra Excel pace sequence tutorials in this web page.

banner 336x280

Leave a Reply

Your email address will not be published. Required fields are marked *