BUUHWE: Bottom Up Unbalanced Haar Wavelet Expansion

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/BUUHWE.r

Description

Function of a time series x returning its unbalanced Haar wavelet expansion, as obtained with a bottom-up algortithm. BUUHWE is an acronym for Bottom-Up Unbalanced Haar Wavelets Expansion.

Usage

1
2
3
BUUHWE(x)
Breakpoints(Dataset.BUUHWE)
Details(Dataset.BUUHWE)

Arguments

x

a numeric vector of length N

Dataset.BUUHWE

a list of outputs of BUUHWE applied to a dataset of curves.

Details

See BAGIDIS-package for an overview about the BAGIDIS methodology and References for details, in particular Timmermans (2012), Chapter 1, Timmermans and von Sachs (2010) or Fryzlewicz (2007).

Value

BUUHWE(x) returns a list with

detail

detail coefficients starting from rank k=0 up to k=N-1.

basis

unbalanced Haar basis vectors ordered by colums. First column is the constant vector of rank k=0. This is a matrix of dimensions N xN.

split.abs

localization index. For consistency with basis matrix and detail vector dimensions, this is a vector of length N but first coefficient is NA. Index are then ordered by increasing rank k.

series

the initial series x.

Breakpoints returns the breakpoints of the Unbalanced Haar wavelet basis, from rank k=1 to rank k=N-1. In case it is applied to a list of BUUHWE provided for M series of length N, it returns the breakpoints for each elements of the list, as a matrix with M columns and N-1 rows.

Details returns the details of the Unbalanced Haar wavelet basis, from rank k=1 to rank k=N-1. In case it is applied to a list of outputs of BUUHWE provided for M series of length N, it returns the details for each elements of the list, as a matrix with M columns and N-1 rows.

Note

This function can be compared to function uh.bu in package unbalhaar of Piotr Fryzlewicz. Nevertheless outputs are differents as uh.bu is intented for denoising. The unbalanced Haar basis expansion is thus not explicitely obtained in uh.bu. Function BUUHWE.plot provides with a representation of the unbalanced Haar basis expansion.

Function BUUHWE_2D is the image equivalent of BUUHWE.

The BUUHWE expansion is the starting step for comparing curves through the BAGIDIS semi-distance. See function semimetric.BAGIDIS.

Breakpoints and details define what is called the signature of the series in the b-d plane. See references for details. A representation of the signature is obtained with BD.plot.

Author(s)

Catherine Timmermans, Institute of Statistics, Biostatistics and Actuarial Sciences, UCLouvain, Belgium.

Contact: catherine.timmermans@uclouvain.be

References

The main references are

Other references include

See Also

semimetric.BAGIDIS, BUUHWE.plot, BUUHWE_2D,BD.plot.

Examples

1
2
3
4
5
x= c(1,7,3,0,-2,6,4,0,2)
BUUHWE(x)
Breakpoints(list(BUUHWE(x)))
y= c(1,7,5,5,-2,1,4,0,2)
Breakpoints(list(BUUHWE(x),BUUHWE(y)))

Bagidis documentation built on May 29, 2017, noon