Prof. Dr. Markus Meier
Leibniz Institute for Baltic Sea Research Warnemünde (IOW)
E-Mail: markus.meier@io-warnemuende.de
Spectrum#
= the Fourier transform of the auto-covariance function of the time series (presents the variance per frequency)
math. definition: Let \(\mathbf{X_t}\) be an ergodic weakly stationary stochastic process with auto-covariance function \(\gamma(\tau), ~\tau=0,\pm1,...~\). Then the spectrum (or power spectrum) \(\Gamma\) of \(\mathbf{X_t}\) is the Fourier transform \(\cal{F}\) of the auto-covariance function \(\gamma\):
note that the largest frequency that a time series with time step of 1.0 can resolve is \(\omega=\frac{1}{2}\)
using Euler’s formular
we can rewrite (33) to
the spectrum can be interpreted as the covariance between the auto-correlation function and the cosine function at different frequencies
characteristics of the spectrum:
spectrum is continuous and differentiable in \([-\frac{1}{2},~\frac{1}{2}]\) (unlike the discrete time series or auto-correlation function)
spectrum describes the distribution of variance across time scales: \(Var(\mathbf{X_t}) = \gamma(0) = 2\int_0^{\Sigma}\Gamma(\omega)~dw\), \(\Gamma(\omega)\) is a variance per frequency
\(\gamma(\tau) = \int_{-\frac{1}{2}}^{\frac{1}{2}}\Gamma(\omega)e^{2\pi i\tau\omega}~dw\)
\(\left. \frac{d}{d\omega}\Gamma(\omega)\right|_{\omega=0} =0\), spectrum must be flat at long time scales for stationary processes
\(\Gamma(\omega) \propto \mathbf{X}^2~~\Rightarrow~~\sigma(\Gamma(\omega))\propto E(\Gamma(\omega))\), statistical uncertainty is proportional to expectation value (large for peaks), \(E(\mathbf{X})=k\), \(Var(\mathbf{X})=2k\) with k as the number of degrees of freedom
for spectral variance per frequency on a log-linear scale as in the top row of Fig. 2, the area is the total variance. drawback: theoretical models follow power laws
peak at frequency of about \(0.25yr^{-1}\), note the different representations of that peak.
Spectra of AR(p)-processes#
the spectrum of an AR(p)-process with process parameters \(\{\alpha_1,...,\alpha_p \}\) and noise variance \(Var(\mathbf{Z_t})= \sigma_Z^2\) is:
spectrum of a white noise process AR(0): variances are equally distributed on all frequencies:
Spectrum of an AR(1)-process:#
for \(p=1\), (34) can be rewritten as:
for small values \(\omega \in [0,~\frac{1}{2}]\) we can use the Taylor-expansion
we can see that the spectrum follows a linear gradient of \(-2\) in log-log scale for \(\omega >>0\)
for \(\omega \in ]0,~\frac{1}{2}[\) the spectrum has no extrema because:
What’s \(\Gamma_1?\)
for \(\alpha_1>0\) we have a maximum (plateau) at \(\omega=0\), i.e. red noise processes!
fitting the AR(1)-process to a time series: AR(1)-processes or red noise are often chosen as a null hypothesis. AR(1)-processes are well defined by \(\sigma_{xy}\) and the lag-1 correlation because
Spectrum of an AR(2)-process:#
for \(p=2\), (34) can be rewritten as:
with:
Estimating the spectra (periodogram)#
let \(\{ \mathbf{X_1}, \mathbf{X_2}, ..., \mathbf{X_T} \}\) with t odd be a time series:
remember that th spectrum is a continous function of frequency and for the periodogram \(a_k\) and \(b_k\) are discrete
the variance is given as:
the elements \((a_k^2+b_k^2)\) are the periodogram of the finite time series \(\{ \mathbf{X_1}, \mathbf{X_2}, ..., \mathbf{X_T} \}\):
bad characteristics:
\(I_{Tk} \propto \xi^2(2)\) relatively wide distribution, strongly skewed to larger values with peak at zero
Uncertainty of the spectrum coefficients is independent of the length of the time series
best estimates:
Divide the time series into \(m\) chunks of length \(M=\frac{T}{m}\).
Compute a periodogram \(I_{Tk}^{(l)}\) for \(k=0,1,..,\frac{M}{2}\) from each chunk \(l=1,2,..,m\)
Estimate the spectrum by averaging the periodograms:
estimator of the spectrum \(\propto \xi^2(2m)\). estimate at each frequency is representative of a special bandwidth of \(\propto \frac{1}{M}\)