Returns the matrix of quantil-hits
qreg.hit(DATA1, DATA2, vecA)
A matrix of quantile-hits
An input matrix (T x p1+1) with the first column of the dependent varaible and the the rest of columns with regressors
An input matrix (T x p2+1) with the first column of the dependent varaible and the the rest of columns with regressors
A vector of probabilty values at which sample quantiles are estimated
Heejoon Han, Oliver Linton, Tatsushi Oka and Yoon-Jae Whang
This function generates the quantile hits based on quantile regression, given a vector of probabilty values. The quantile regressions are esimated for each matrix of data and a pair of quantile hits are produced.
Koenker, R., and Bassett Jr, G. (1978). "Regression quantiles." Econometrica, 46(1), 33-50.