qreg.hit | R Documentation |
Returns the matrix of quantil-hits
qreg.hit(DATA1, DATA2, vecA)
DATA1 |
An input matrix (T x p1+1) with the first column of the dependent varaible and the the rest of columns with regressors |
DATA2 |
An input matrix (T x p2+1) with the first column of the dependent varaible and the the rest of columns with regressors |
vecA |
A vector of probabilty values at which sample quantiles are estimated |
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.
A matrix of quantile-hits
Heejoon Han, Oliver Linton, Tatsushi Oka and Yoon-Jae Whang
Koenker, R., and Bassett Jr, G. (1978). "Regression quantiles." Econometrica, 46(1), 33-50.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.