Learn R Programming

quantspec (version 1.2-4)

.computeSdNaive: Workhorse function for getSdNaive-SmoothedPG.

Description

C++ implementation to increase performance.

Value

Returns an array with complex numbers

\(\sigma(\tau_1, \tau_2, \omega_j\) as defined in Kley et. al (2016), p. 26.

Arguments

V

a 3-dimensional array of complex numbers; dimensions are [N, K1, K2], where N frequencies are \(\omega_j := 2\pi j/N\) for \(j=0,\ldots,N\).

W

a vector of length W of length N used for smoothing.

References

Dette, H., Hallin, M., Kley, T. & Volgushev, S. (2015). Of Copulas, Quantiles, Ranks and Spectra: an \(L_1\)-approach to spectral analysis. Bernoulli, 21(2), 781--831. [cf. http://arxiv.org/abs/1111.7205]