User Tools

Site Tools


I choose a periodicity 7. Plot ts and ACF.

df <- read.csv("id.csv",sep = ",")
ts <- ts(df, frequency = 7)
acf(ts, type = "correlation")

{{ :rplot01.png?nolink&450 Autocorrelation plots (Box and Jenkins, pp. 28-32) are a commonly-used tool for checking randomness in a data set. This sample autocorrelation plot shows that the time series is not random, but rather has a high degree of autocorrelation between adjacent and near-adjacent observations.

how_to_find_periodicity_using_autocorrelation_and_how_to_analyse_it.txt · Last modified: 2015/08/12 17:41 by vincenzo