Workhorse function for getCoherency-SmoothedPG
.
getCoherency-SmoothedPG
.C++ implementation to increase performance.
V
: a 3-dimensional array of complex numbers; dimensions are [N, K1, K2]
, where N
frequencies are for .W
: a vector of length W
of length N
used for smoothing.Returns an array with complex numbers as defined in Kley et. al (2016), p. 26.
Barunik, J. & Kley, T. (2019). Quantile Coherency: A General Measure for Dependence Between Cyclical Economic Variables. Econometrics Journal, 22, 131--152. http://arxiv.org/abs/1401.8104.