Learn R Programming

liftLRD (version 1.0-9)

idj: Functions to perform summary calculations of wavelet scales and energies.

Description

To estimate the slope of the relationship between wavelet scale and wavelet energy, choices have to be made as to how these quantities are computed. Examples of these choices are the functions listed here.

Usage

idj(x, j) 
meanj(x, j) 
medj(x, j) 
mean2(x) 
mad2(x) 
meanmo(x)

Value

A numeric value corresponding to the average squared detail coefficient, squared mean absolute deviation, median scale etc.

Arguments

x

a vector of values, representing the integrals or detail coefficients in a particular artificial level

j

the index of the artificial level.

Author

Matt Nunes

References

Knight, M. I, Nason, G. P. and Nunes, M. A. (2017) A wavelet lifting approach to long-memory estimation. Stat. Comput. 27 (6), 1453--1471. DOI 10.1007/s11222-016-9698-2.

See Also

liftHurst

Examples

Run this code

x<-rnorm(50,30,2)

# calculate the average squared value of x (i.e. energy)

mean2(x)

Run the code above in your browser using DataLab