The cross correlation of a variable with itself over successive time periods is known as auto correlation. Calculate the correlation function given the serial data and the number of time lags with this online calculator.
The cross correlation of a variable with itself over successive time periods is known as auto correlation. Calculate the correlation function given the serial data and the number of time lags with this online calculator.
Autocorrelation function calculation is made easier here.