In time series analysis, the cross-spectrum is used as part of a frequency domain analysis of the cross-correlation or cross-covariance between two time series.
Let
(Xt,Yt)
\gammaxx
\gammayy
\gammaxy
\Gammaxy
\gammaxy
\Gammaxy(f)=l{F}\{\gammaxy\}(f)=
infty | |
\sum | |
\tau=-infty |
\gammaxy(\tau)e-2\pii\tauf,
\gammaxy(\tau)=\operatorname{E}[(xt-\mux)(yt+\tau-\muy)]
The cross-spectrum has representations as a decomposition into (i) its real part (co-spectrum) and (ii) its imaginary part (quadrature spectrum)
\Gammaxy(f)=Λxy(f)-i\Psixy(f),
and (ii) in polar coordinates
\Gammaxy(f)=Axy(f)
i\phixy(f) | |
e |
.
Axy
Axy(f)=(Λxy(f)2+\Psixy(f)2)
| ||||
,
\Phixy
\begin{cases} \tan-1(\Psixy(f)/Λxy(f))&if\Psixy(f)\ne0andΛxy(f)\ne0\\ 0&if\Psixy(f)=0andΛxy(f)>0\\ \pm\pi&if\Psixy(f)=0andΛxy(f)<0\\ \pi/2&if\Psixy(f)>0andΛxy(f)=0\\ -\pi/2&if\Psixy(f)<0andΛxy(f)=0\\ \end{cases}
The squared coherency spectrum is given by
\kappaxy(f)=
| |||||||
\Gammaxx(f)\Gammayy(f) |
,
which expresses the amplitude spectrum in dimensionless units.