📅 March 2026 ⏱️ ~10 min read 🏷️ Time Series • Spectral Analysis • ARMA

In many problems, the physical system generating the data imposes a fixed period. Mean temperature (e.g., annual seasonality), radio and television signals, certain seismic waves, and cardiograms are typical examples. In such settings, a harmonic signal (possibly contaminated by noise) is often a natural model.

1) Random-Phase Harmonic Model (No Additive Noise)

Consider the model

Yt = Σj=1m Aj cos(2π fj t + Uj)

where Aj and fj are constants, and the phases Uj are independent random variables distributed as Uniform(0, 2π).

Intuition: the random phases ensure stationarity in time (no “preferred” time origin), while the frequencies fj represent physically imposed periodicities.

2) Case m = 1 (Single Frequency)

Let

Yt = A cos(2π f t + U),    U ~ Uniform(0, 2π)

One can show:

E(Yt) = 0
Var(Yt) = A2/2

The autocovariance function is

γ(k) = (A2/2) cos(2π f k)

Hence the autocorrelation function (ACF) is

ρ(k) = γ(k)/γ(0) = cos(2π f k)

3) Spectral Density: Why It Becomes “Lines”

The spectral density is the Fourier transform of the autocovariance:

SY(f) = Σk=-∞ γ(k) e-2πi f k

For a pure sinusoid with random phase, the spectrum consists of spikes at the harmonic frequencies:

SY(f) = (A2/4) [ δ(f - f0) + δ(f + f0) ]
Important note: here δ is the Dirac delta (a “spike” distribution in frequency), not the Kronecker delta used for discrete indices.

4) General Case (m Frequencies)

For

Yt = Σj=1m Aj cos(2π fj t + Uj)

the ACF is a weighted sum of cosines:

ρ(k) =   ( Σj=1m Aj2 cos(2π fj k) ) / ( Σj=1m Aj2 )

and the spectrum becomes a sum of lines:

SY(f) = Σj=1m (Aj2/4) [ δ(f - fj) + δ(f + fj) ]

5) Signal + Noise Model (Realistic)

Real observations are rarely perfectly harmonic. A more realistic model is:

Yt = Ht + Nt

where Ht is the harmonic component and Nt is a stationary noise process (often modeled using ARMA).

For a single frequency:

Yt = A cos(2π f t + U) + Nt

Then

γY(k) = (A2/2) cos(2π f k) + γN(k)

and the spectrum decomposes cleanly:

SY(f) = (A2/4)[δ(f-f0)+δ(f+f0)] + SN(f)
Interpretation: the harmonic part creates sharp peaks, while the noise produces a smooth background spectrum.

6) Example + ARMA Connection

Consider

Yt = 4.4 cos(2πt/12 + U) + Nt

This is a period-12 signal (monthly seasonality) plus noise. An interesting exercise is to approximate this “signal + noise” process using an ARMA(2,2) model: ARMA models can reproduce oscillatory autocorrelation patterns and may act as a practical approximation when you do not explicitly model the sinusoid.

References

  • Applied Time Series Analysis