# Time Series Autocorrelation function (ACF)

This online calculator computes autocorrelation function for given time series and plots correlogram

Autocorrelation, also known as serial correlation, is the correlation of a signal with a delayed copy of itself as a function of delay. Informally, it is the similarity between observations as a function of the time lag between them. Autocorrelation analysis is a mathematical tool for finding repeating patterns, such as the presence of a periodic signal obscured by noise or identifying the missing fundamental frequency in a signal implied by its harmonic frequencies. It is often used in signal processing for analyzing functions or series of values, such as time-domain signals.

In statistics, the autocorrelation of a random process is the Pearson correlation between the process's values at different times, as a function of the two times or of the time lag. 1

The sample Pearson correlation coefficient between x and y is:

For autocorrelation, this coefficient is computed between the time series and the same time series lagged by specified number of periods. For example, for 1-period time lag, the correlation coefficient is computed between first N-1 values, i.e. and next N-1 values (values shifted by one), i.e. .
,
where is the mean of the first N-1 values, and is the mean of the last N-1 values.

If we ignore difference between and , we can simplify the formula above to

This can be generalized for values separated by k periods as:

The value of is called the autocorrelation coefficient at lag . The plot of the sample autocorrelations versus (the time lags) is called the correlogram or autocorrelation plot.

The correlogram is a commonly used tool for checking randomness in a data set. Computing autocorrelations ascertain this randomness for data values at varying time lags. If random, such autocorrelations should be near zero for any and all time-lag separations. If non-random, then one or more of the autocorrelations will be significantly non-zero.

Also, correlograms are used in the model identification stage for Box–Jenkins autoregressive moving average time series models. Autocorrelations should be near-zero for randomness; if the analyst does not check for randomness, then the validity of many of the statistical conclusions becomes suspect. The correlogram is an excellent way of checking for such randomness.2

The default data for the calculator below is obtained by noising sine function using Noisy function generator, and you can clearly see a non-random pattern. #### Time Series

TimeValue
Items per page:

Digits after the decimal point: 2
Time Series
The file is very large. Browser slowdown may occur during loading and creation.
Correlogram
The file is very large. Browser slowdown may occur during loading and creation.

URL zum Clipboard kopiert

#### Ähnliche Rechner

PLANETCALC, Time Series Autocorrelation function (ACF)
{"ft_lang_label":"__label__en","ft_lang_prob":0.89349204,"math_prob":0.942105,"size":2559,"snap":"2023-40-2023-50","text_gpt3_token_len":528,"char_repetition_ratio":0.17886497,"word_repetition_ratio":0.010025063,"special_character_ratio":0.18483783,"punctuation_ratio":0.09803922,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99204016,"pos_list":[0,1,2],"im_url_duplicate_count":[null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-22T06:04:34Z\",\"WARC-Record-ID\":\"<urn:uuid:446ac2ac-6d6c-43ec-87fc-ba336f84c0fc>\",\"Content-Length\":\"57348\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1b5389f1-b0a8-4e94-8255-67636a2700d0>\",\"WARC-Concurrent-To\":\"<urn:uuid:abbb70fd-cd67-4dec-aca6-6e605044ebf2>\",\"WARC-IP-Address\":\"176.9.30.136\",\"WARC-Target-URI\":\"https://de.planetcalc.com/7908/\",\"WARC-Payload-Digest\":\"sha1:BBLFRVLELL6LGFGKOQFDSUWGDGWMKKRQ\",\"WARC-Block-Digest\":\"sha1:OWUVX3UJPMKALGDYAR5VPVXPJ5WMA77C\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233506329.15_warc_CC-MAIN-20230922034112-20230922064112-00723.warc.gz\"}"}