I've been looking for fortran code for computing the autocorrelation function like R's acf
function. The code I have found so far uses some parameter called the dimension of correlation. I am used to seeing autocorrelation in terms of lag. What is the relationship between the dimension and the lag? Or am I mixing up two different types/concepts of autocorrelation?
UPDATE So it does just look like an issue of semantics---at least, for this implementation. I got thrown off by this implementation, which seems to be doing something entirely different.