TimeSeriesPowerSpectrum Method

Computes the power spectrum of the time series.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public double[] PowerSpectrum()

Return Value

Double
An array giving the power in each frequency bin.

Remarks

For a time series of length n, the index k gives the power near period n / k, or frequency k / n. (For example, for a year-long monthly time series, the value at index 1 is proportional to the yearly variation, the value at the index 4 is proportional to the quarterly variation, and the value at index 12 is proportional to the monthly variation.) The zeroth entry is proportional to the unfluctuating component of the signal, i.e. the mean.

See Also