The cross-quantilograms from 0 to a given lag order.
crossqreg.max(DATA1, DATA2, vecA, Kmax)
A vector of cross-quantilogram
An input matrix (T x p1)
An input matrix (T x p2)
A pair of two probability values at which sample quantiles are estimated
The maximum lag order (integer)
Heejoon Han, Oliver Linton, Tatsushi Oka and Yoon-Jae Whang
This function calculates the partial cross-quantilograms up to the lag order users specify.
Han, H., Linton, O., Oka, T., and Whang, Y. J. (2016). "The cross-quantilogram: Measuring quantile dependence and testing directional predictability between time series." Journal of Econometrics, 193(1), 251-270.