ar1.spectrum: Power spectrum of a random red noise process

Description Usage Arguments Value Author(s) References Examples

Description

Generate the power spectrum of a random time series with a specific AR(1) coefficient

Usage

1
ar1.spectrum (ar1, periods)

Arguments

ar1

first order coefficient desired.

periods

periods of the time series at which the spectrum should be computed.

Value

Returns the power spectrum.

Author(s)

Tarik C. Gouhier (tarik.gouhier@gmail.com)

Code based on WTC MATLAB package written by Aslak Grinsted.

References

Cazelles, B., M. Chavez, D. Berteaux, F. Menard, J. O. Vik, S. Jenouvrier, and N. C. Stenseth. 2008. Wavelet analysis of ecological time series. Oecologia 156:287-304.

Grinsted, A., J. C. Moore, and S. Jevrejeva. 2004. Application of the cross wavelet transform and wavelet coherence to geophysical time series. Nonlinear Processes in Geophysics 11:561-566.

Torrence, C., and G. P. Compo. 1998. A Practical Guide to Wavelet Analysis. Bulletin of the American Meteorological Society 79:61-78.

Examples

1
p=ar1.spectrum(0.5, 1:25)

Example output

biwavelet 0.20.11 loaded.

biwavelet documentation built on May 2, 2019, 5:10 p.m.