kendallknight: An R Package for Efficient Implementation of Kendall's Correlation Coefficient Computation
Abstract
The kendallknight package introduces an efficient implementation of Kendall's correlation coefficient computation, significantly improving the processing time for large datasets without sacrificing accuracy. The kendallknight package, following Knight (1966) and posterior literature, reduces the computational complexity resulting in drastic reductions in computation time, transforming operations that would take minutes or hours into milliseconds or minutes, while maintaining precision and correctly handling edge cases and errors. The package is particularly advantageous in econometric and statistical contexts where rapid and accurate calculation of Kendall's correlation coefficient is desirable. Benchmarks demonstrate substantial performance gains over the base R implementation, especially for large datasets.
- Publication:
-
arXiv e-prints
- Pub Date:
- August 2024
- DOI:
- 10.48550/arXiv.2408.09618
- arXiv:
- arXiv:2408.09618
- Bibcode:
- 2024arXiv240809618V
- Keywords:
-
- Statistics - Computation;
- Computer Science - Data Structures and Algorithms;
- Economics - Econometrics;
- E.1;
- G.3;
- J.4
- E-Print:
- 9 pages with references, 2 tables, 2 figures