qcor: Quantile Correlation

Description Usage Value References

View source: R/RcppExports.R

Description

This returns the quantile correlation estimator from Li, Li, and Tsai (2015). The Harrell-Davis estimator is used for the quantile estimation. Note that the quantile correlation is not symmetric, hence qcor(x,y) != qcor(y,x). The reason is that this metric does not measure the correlation at the qth quantile for both variables, but rather, whether variable y is correlated with the qth quantile of x.

Usage

1
qcor(x, y, q = 0.5)

Value

the quantile correlation

References

Harrell, F. & Davis, C. (1982) A new distribution-free quantile estimator. Biometrika, 69, 635-640.

Li, G., Li, Y., & Tsai, C. (2015) Quantile correlations and quantile autoregressive modeling. J Am Stat Assoc. 110:246–261. doi: 10.1080/01621459.2014.892007


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.