advanced39 min studyLesson 866 in Mathematics

Periodograms and spectral estimation

Normalize a finite Fourier transform, identify raw periodogram variability and explain why spectral smoothing requires more than a finer frequency grid.

On this page

What you’ll understand

  • Calculate an angular-frequency periodogram and verify its discrete energy identity.
  • State the exact interior-bin distribution for Gaussian white noise without duplicating conjugate bins.
  • Explain smoothing's variance reduction and frequency-resolution cost.

A finite Fourier transform converts a data window into frequency coefficients. Squaring their magnitudes produces a periodogram, a natural picture of where the window's energy lies. Yet a longer record does not make an individual raw ordinate settle down around the underlying spectral density. More frequencies and more precise density estimates are different achievements. Spectral estimation therefore requires an explicit normalization, a treatment of the mean and a strategy for trading frequency resolution against sampling variation.

A finite transform has a checkable scale

Take n real observations indexed from zero through n minus one, and subtract a specified mean to obtain z. Our transform divides the Fourier sum by the square root of two pi n; its squared magnitude is the angular periodogram. At Fourier frequencies omega-j equals two pi j divided by n, Parseval's identity says that the sum of periodogram ordinates times the frequency spacing equals the average squared centered observation. Frequencies beyond pi can be represented as negative frequencies modulo two pi.

A real observation vector has conjugate Fourier coefficients at opposite frequencies, so their periodogram ordinates are identical rather than independent pieces of evidence. Subtracting the sample mean changes only the zero-frequency Fourier coefficient on this exact grid. It forces that coefficient to zero, but does not establish that the population spectrum vanishes near zero. At frequencies between Fourier bins, mean removal and the finite observation window can influence the transform more broadly.

dn(ω)=12πn∑t=0n−1zte−itω,In(ω)=∣dn(ω)∣2,2πn∑j=0n−1In(2πj/n)=1n∑t=0n−1zt2d_n(\omega)=\frac1{\sqrt{2\pi n}}\sum_{t=0}^{n-1}z_te^{-it\omega},\quad I_n(\omega)=|d_n(\omega)|^2,\quad\frac{2\pi}{n}\sum_{j=0}^{n-1}I_n(2\pi j/n)=\frac1n\sum_{t=0}^{n-1}z_t^2
This radians convention matches the spectral density whose integral equals variance. The discrete identity holds for every finite real data vector, without a stochastic model.↔ Scroll wide equations horizontally.

Raw ordinates retain substantial noise

Consider iid centered Gaussian white noise with variance sigma-squared, with its known zero mean used in the transform. At any interior positive Fourier bin, excluding zero and the Nyquist frequency when present, the periodogram divided by the angular density has exactly an exponential distribution of mean one. Distinct such nonconjugate bins are independent. Zero and Nyquist coefficients are real and instead yield a one-degree-of-freedom squared-normal distribution, so the interior formula must not be applied to those endpoints.

For an interior bin the variance of the raw ordinate equals the square of its mean, regardless of sample size. Its relative standard deviation is one. Averaging m distinct interior bins of this white-noise model leaves the mean unchanged and divides the variance by m. This is an exact finite-sample calculation for this Gaussian model, not a universal assertion that neighboring periodogram ordinates of an arbitrary dependent series are independent or have identical expectations.

f=σ22π,In(ωj)f∼χ222,Var⁡(In(ωj))=f2;Var⁡(1m∑k=1mIn(ωjk))=f2mf=\frac{\sigma^2}{2\pi},\quad\frac{I_n(\omega_j)}f\sim\frac{\chi_2^2}{2},\quad\operatorname{Var}(I_n(\omega_j))=f^2;\qquad\operatorname{Var}\left(\frac1m\sum_{k=1}^m I_n(\omega_{j_k})\right)=\frac{f^2}{m}
The exact independence and variance statements use distinct positive interior Fourier bins of iid Gaussian white noise. Conjugate copies cannot increase m.↔ Scroll wide equations horizontally.

Smoothing exchanges resolution for stability

For a colored spectrum, a local average combines frequencies whose population densities may differ. Enlarging the averaging window reduces variance but can blur narrow peaks and introduce bias. A common asymptotic design increases the number of averaged bins while shrinking their bandwidth: m-n tends to infinity and m-n divided by n tends to zero. Consistency then additionally requires suitable smoothness, dependence and moment assumptions; the bandwidth rule alone does not prove it for every stationary process.

A finite observation window also spreads frequency energy through its spectral window. Tapering changes that window, often reducing sidelobe leakage while widening the central lobe. This leakage concerns finite-window frequency resolution, a different issue from using future data in forecast validation. Parametric spectral estimation offers another tradeoff: a fitted ARMA density can be smooth and interpretable, but a badly chosen model can hide genuine structure. Inspect normalization, smoothing scale and model assumptions before assigning meaning to a striking peak.

An eight-point signal with two conjugate peaks

For z=(1,0,−1,0,1,0,−1,0), compute the nonzero periodogram ordinates on the eight-point Fourier grid and check its average squared value.

  1. The sequence is cos(pi t/2) and has sample mean zero. Its unnormalized Fourier sums are four at bins j=2 and j=6, with all other bins zero.

  2. Dividing squared magnitudes by two pi n gives 16/(16pi)=1/pi at each of those two bins. They are conjugate copies, representing the same real sinusoid.

  3. The frequency spacing is pi/4. Thus the periodogram sum times the spacing is (2/pi)(pi/4)=1/2, matching the four unit squares divided by eight.

The result

The discrete integrated periodogram is one half. Counting only the positive peak without its paired contribution would fail the energy check.

Explore the model

Interactive lab

Interactive lab · spectral

Energy need not track one plotted value

Pause and reset, then set both controls to N = 1 and p = 0. At zero clock, predict value one at x = pi/2 and integrated squared amplitude pi on [0,2pi]. For a fresh comparison, pause and reset, then set N = 3 and p = 0; the value there is 1+0−1=0, while sine orthogonality gives integrated squared amplitude 3pi. Compare the plotted curve; calculate its integral on paper. This finite equal-coefficient sine sum is not a periodogram estimator or an independent-bin stochastic experiment.

Energy need not track one plotted valueA finite sum of sin(nx − t)/nᵖ. Playback changes t; increasing the cutoff includes finer spatial scales. This is not a proof about a continuum limit or renormalization. Current readings: Sum at x = π/2: 0.867; Smallest wavelength: 2π / 5; Highest-mode coefficient: 0.2. All parameters are adjustable with the labeled controls below.01.573.144.716.28−2.56−1.2801.282.56x · radiansFinite sine sum
Finite sumHighest included mode
Sum at x = π/2
0.867
Smallest wavelength
2π / 5
Highest-mode coefficient
0.2
t = 0 s

A finite sum of sin(nx − t)/nᵖ. Playback changes t; increasing the cutoff includes finer spatial scales. This is not a proof about a continuum limit or renormalization. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA local amplitude and a total spectral energy measure answer different questions.

Check your understanding

For iid Gaussian white noise, what happens to the relative standard deviation of one positive interior raw periodogram ordinate as n grows?

Try it yourself

A length-128 iid Gaussian white-noise record has known mean zero and variance four. Find the angular density, variance of an interior raw ordinate and variance and relative standard deviation of an average over 25 distinct positive interior bins.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

The density is constant. Apply the exact independent-bin calculation, taking care not to count negative-frequency copies.

Compare with the solution

The angular density is 2/pi, so a raw interior ordinate has variance 4/pi² and relative standard deviation one. There are 63 positive interior bins, so choosing 25 distinct ones is possible. Their average has variance 4/(25pi²), standard deviation 2/(5pi) and relative standard deviation one fifth. These exact values use Gaussian white noise; averaging a colored spectrum can introduce bias and requires separate dependence analysis.

Take it with you

  • Parseval's identity checks the periodogram's Fourier normalization.
  • Raw interior ordinates remain noisy, and conjugate copies are not independent replicates.
  • Spectral smoothing reduces variation by sacrificing resolution under stated assumptions.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.