Learn R Programming

multiwave (version 1.0)

compute_nj: Wavelets coefficients utilities

Description

Computes the number of wavelet coefficients at each scale.

Usage

compute_nj(n, N)

Arguments

n
sample size.
N
filter length.

Value

nj
number of coefficients at each scale.
J
Number of scales.

References

G. Fay, E. Moulines, F. Roueff, M. S. Taqqu (2009) Estimators of long-memory: Fourier versus wavelets. Journal of Econometrics, vol. 151, N. 2, pages 159-177.

S. Achard, I. Gannaz (2014) Multivariate wavelet Whittle estimation in long-range dependence. arXiv, http://arxiv.org/abs/1412.0391

See Also

DWTexact, scaling_filter

Examples

Run this code
res_filter <- scaling_filter('Daubechies',8);
filter <- res_filter$h
n <- 5^10
N <- length(filter)
compute_nj(n,N)

Run the code above in your browser using DataLab