Learn R Programming

wavethresh (version 4.7.3)

HaarConcat: Generate a concatenated Haar MA process

Description

This function generates a particular set of four concatenated Haar MA processes.

Usage

HaarConcat()

Value

A vector containing 512 observations from four concatenated Haar MA processes

Arguments

None

Author

G P Nason

Details

This function generates a realization of particular kind of non-stationary time series probability model. The returned time series is the result of concatenating 4 time series each of length 128 from the Haar MA process generator (HaarMA) of orders 1, 2, 3 and 4. The standard deviation of the innovations is 1. This function was used to generate the figure of the concatenated Haar MA process in Nason, von Sachs and Kroisandt. It produces a kind of time series that can be sparsely represented by the wavelet machinery but at the same time is non-stationary.

See Nason, von Sachs and Kroisandt (2000) Wavelet processes and adaptive estimation of the evolutionary wavelet spectrum. J R Statist Soc, B, 62, 271-292.

See Also

HaarMA,ewspec

Examples

Run this code
#
# Generate the concatenated Haar MA process.
#
MyHaarCC <- HaarConcat()
#
# Plot it
#
if (FALSE) ts.plot(MyHaarCC)

Run the code above in your browser using DataLab