## Documentation Center |

Sample cross-correlation

`crosscorr( y1,y2)` plots
the sample
cross correlation (XCF) between the two univariate, stochastic
time series

` xcf = crosscorr(y1,y2)` returns
the sample cross-correlation function (XCF) between the two univariate,
stochastic time series

` xcf = crosscorr(y1,y2,numLags)` returns
the XCF, where

[1] Box, G. E. P., G. M. Jenkins, and G. C. Reinsel. *Time
Series Analysis: Forecasting and Control*. 3rd ed. Englewood
Cliffs, NJ: Prentice Hall, 1994.

Was this topic helpful?