Function Lagged-Correlation

Part of:

package cl-mathstats
( lagged-correlation < sequence1 > < sequence2 > < lag > )

Returns the correlations of sequence1&#39; with sequence2' after
shifting sequence1&#39; by lag'. This means that for all n, element n
of sequence1&#39; is paired with element n+ lag' of `sequence2', where
both of those elements exist.