
5.7 LOMB-SCARGLE POWER SPECTRUM 137
5 TIME-SERIES ANALYSIS
Scargle (1982) has shown that the Lomb-Scargle periodogram has an
exponential probability distribution with unit mean. e probability that
P
x
(ω) will be between some positive quantity z and z+dz is exp(–z)dz. If
we scan M independent frequencies, the probability of none of them having
a larger value than z is (1–exp(–z))M. We can therefore compute the false-
alarm probability of the null hypothesis, e. g., the probability that a given
peak in the periodogram is not signi cant, by
Press et al. (1992) suggested using the Nyquist criterion (Section 5.2) to de-
termine the number of independent frequencies M assuming that the data
were evenly spaced. In this case, the appropriate value for the number of in-
dependent frequencies is M = 2N, where N is the length of the time series.
More detailed discussions of the Lomb-Scargle method are given in
Scargle (1989) and Press et al. (1992). An excellent summary of the method
and a TURBO PASCAL program to compute the normalized Lomb-Scargle
power spectrum of paleoclimatic data have been published by Schulz and
Stattegger (1998). A convenient MATLAB algorithm
lombscargle for com-
puting the Lomb-Scargle periodogram has been published by Brett Shoelson
( e MathWorks Inc.) and can be downloaded from File Exchange at
http://www.mathworks.com/matlabcentral/fileexchange/
e following MATLAB code is based on the original FORTRAN code pub-
lished by Scargle (1989). Signi cance testing uses the methods proposed by
Press et al. (1992) explained above.
We rst load the synthetic data that were generated to illustrate the use
of the evolutionary or windowed power spectrum method in Section 5.6.
e data contain periodicities of 100, 40 and 20 kyrs, as well as additive
Gaussian noise, and are unevenly spaced about the time axis. We de ne two
new vectors
t and x that contain the original time vector and the synthetic
oxygen-isotope data sampled at times
t.
clear
series3 = load('series3.txt');
t = series3(:,1);
x = series3(:,2);
We then generate a frequency axis f. Since the Lomb-Scargle method is not
able to deal with the zero-frequency portion, i. e., with in nite periods, we
start at a frequency value that is equivalent to the spacing of the frequency