Learn R Programming

multiwave (version 1.0)

K_eval: Evaluation of function $K$

Description

Computes the function $K$ as defined in (Achard and Gannaz 2014).

Usage

K_eval(psi_hat,u,d)

Arguments

psi_hat
Fourier transform of the wavelet mother at values u
u
grid for the approximation of the integral
d
vector of long-memory parameters.

Value

value of function K as a matrix.

Details

K_eval computes the matrix $K$ with elements $$K(d_l,d_m)=\int u^{(d_l+d_m)} |\code{psi}\_\code{hat}(u)|^2 du $$

References

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

See Also

psi_hat_exact

Examples

Run this code
res_filter <- scaling_filter('Daubechies',8);
filter <- res_filter$h
M <- res_filter$M
alpha <- res_filter$alpha
res_psi <- psi_hat_exact(filter,J=6)
K_eval(res_psi$psih,res_psi$grid,d=c(0.2,0.2))

Run the code above in your browser using DataLab