Fourier Analysis

36-740, Fall 2026

3 September 2026 (Lecture 4)

\[ \newcommand{\Expect}[1]{\mathbb{E}\left[ #1 \right]} \newcommand{\Var}[1]{\mathrm{Var}\left[ #1 \right]} \newcommand{\Cov}[1]{\mathrm{Cov}\left[ #1 \right]} \newcommand{\TrueRegFunc}{\mu} \newcommand{\EstRegFunc}{\widehat{\TrueRegFunc}} \newcommand{\TrueNoise}{\epsilon} \newcommand{\EstNoise}{\widehat{\TrueNoise}} \DeclareMathOperator{\tr}{tr} \DeclareMathOperator*{\argmin}{argmin} \DeclareMathOperator{\dof}{DoF} \]

Previously

Start with the Karhunen-Loeve transform

Even more abstract Karhunen-Loeve

Some things to notice about Karhunen-Loeve / PCA

Let’s use sine waves!

A few notational conventions for complex-valued vectors

The Fourier transform (in 1D)

The Fourier transform (in 1D)

Convolution

Spectrum

Some examples

The power spectrum

Wiener-Khinchin

Estimating the power spectrum

The periodogram

Practically

Power spectrum interpretation

Covariance \(\Leftrightarrow\) Power spectrum

Spatial and spatio-temporal Fourier transforms

Non-Stationarity

  1. We can de-trend, and then apply Fourier analysis to the fluctuations.
  2. We can break the data up into segments, and hope it’s (approximately) stationary within each segment.
    1. A spectrogram is a plot showing (local) Fourier transforms for successive time segments
    2. This leads to a test of stationarity: we should get the same Fourier spectrum from each segment, plus or minus sampling error.
      1. Fuentes, Guttorp, and Sampson (2007), sec. 1.6.2 gives one version of this idea, with conditions under which we can make it into an ANOVA test and use the standard machinery
      2. Kantz and Schreiber (2004), sec. 2.2–2.3 and 13.2, give what is (essentially) a bootstrap version of the same idea
  3. Give up on the Fourier basis in favor of wavelets
    • Fourier basis functions have equal amplitude everywhere
    • Come up with wiggly, wave-like functions that are localized
    • It’s just another set of basis functions, so we just take inner products again

Summing up

Backup: Fourier transforms and calculus

Backup: Measure Theory

Backup: Simulating from a power spectrum

Theorem: Suppose \(g(\omega) \geq 0\), and define \(G(\omega) = \int_{-\infty}^{\omega}{g(\nu) d\nu}\). Further suppose that \(G(-\infty) = 0\) and \(G(\infty)=\sigma^2/\sqrt{2\pi} > 0\). Then there exists a centered, weakly-stationary stochastic process \(X\) with autocovariance function \(\tilde{g}\). In particular, \(\Var{X(t)} = \sigma^2\) for all \(t\), and \(\Cov{X(t_1), X(t_2)} = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}{ e^{-2\pi i (t_2-t_1) \omega} g(\omega) d\omega}\).

Sketch proof: Draw \(W \sim G/(\sigma^2 \sqrt{2\pi})\). That is, the pdf of \(W\) is \(g(\omega)/(\sigma^2 \sqrt{2 \pi})\), and \(\Pr{\left(W leq \omega\right)} = G(\omega)/(\sigma^2 \sqrt{2\pi})\). Draw \(A \sim \mathrm{Unif}(0, 2\pi)\), independent of \(N\). Set \(X(t) \equiv \frac{\sigma} e^{iA} e^{-iNt}\). It’s easy to check that \(\Expect{e^{iA}} = 0\), so \(\Expect{X(t)} = 0\) too. And \[ \Expect{\overline{X(t_1)} X(t_2)} = \sigma^2 \Expect{e^{iN(t_2 -t_1)}} = \int_{-\infty}^{\infty}{e^{-2\pi i \omega (t_2-t_1)} \frac{g(\omega)}{\sqrt{2\pi}} d\omega} \] as desired.

Notes:

Backup: Simulating from a power spectrum (cont’d.)

References

Bartlett, M. S. 1955. An Introduction to Stochastic Processes, with Special Reference to Methods and Applications. Cambridge, England: Cambridge University Press.

Courant, Richard, and David Hilbert. 1953. Methods of Mathematical Physics. New York: Wiley.

Fuentes, Montserrat, Peter Guttorp, and Paul Sampson. 2007. “Using Transforms to Analyze Space-Time Processes.” In Statistical Methods for Spatio-Temporal Systems, edited by Bärbel Finkenstädt, Leonhard Held, and Valerie Isham, 77–150. Boca Raton, Florida: Chapman; Hall/CRC. https://doi.org/10.1201/9781420011050.

Kantz, Holger, and Thomas Schreiber. 2004. Nonlinear Time Series Analysis. Second. Cambridge, England: Cambridge University Press.

Loève, Michel. 1955. Probability Theory. 1st ed. New York: D. Van Nostrand Company.

Parzen, Emanuel. 1962. “On Estimation of a Probability Density Function and Mode.” Annals of Mathematical Statistics 33:1065–76. https://doi.org/10.1214/aoms/1177704472.

Rosenblatt, Murray. 1956. “Remarks on Some Nonparametric Estimates of a Density Function.” Annals of Mathematical Statistics 27:832–37. https://doi.org/10.1214/aoms/1177728190.

Shalizi, Cosma Rohilla. 2007. “Almost None of the Theory of Stochastic Processes.” Online manuscript. https://www.stat.cmu.edu/~cshalizi/almost-none/.