Is there anybody on here who knows how to do this equation?
Time series analysis[edit]
In time series analysis, as applied in statistics and signal processing, the cross-correlation between two time series describes the normalized cross-covariance function.[clarification needed]
Let (X_t,Y_t) represent a pair of stochastic processes that are jointly wide-sense stationary. Then the cross-covariance and the cross-correlation are given by
cross-covariance \gamma_{XY}(\tau) = \operatorname{E}[(X_t - \mu_X)(Y_{t+\tau} - \mu_Y)],
cross-correlation \rho_{XY}(\tau) = \operatorname{E}[ (X_t-\mu_X)\,(Y_{t+\tau}-\mu_Y)]/(\sigma_{X} \sigma_{Y}),
https://en.wikipedia.org/wiki/Cross-correlation