The R Journal: accepted article

This article will be copy edited and may be changed before publication.

testforDEP: An R Package for Modern Distribution-free Tests and Visualization Tools for Independence PDF download
Jeffrey C. Miecznikowski, En-shuo Hsu, Yanhua Chen and Albert Vexler

Abstract This article introduces testforDEP, a portmanteau R package implementing for the first time several modern tests and visualization tools for independence between two variables. While classical tests for independence are in the base R packages, there have been several recently developed tests for independence that are not available in R. This new package combines the classical tests including Pearson’s product moment correlation coefficient method, Kendall’s τ rank correlation coefficient method and Spearman’s ρ rank correlation coefficient method with modern tests consisting of an empirical likelihood based test, a density-based empirical likelihood ratio test, Kallenberg data driven test, maximal information coefficient test, Hoeffding’s independence test and the continuous analysis of variance test. For two input vectors of observations, the function testforDEP provides a common interface for each of the tests and returns test statistics, corresponding p values and bootstrap confidence intervals as output. The function AUK provides an interface to visualize Kendall plots and computes the area under the Kendall plot similar to computing the area under a receiver operating characteristic (ROC) curve.

Received: 2018-02-02; online 2018-12-08, supplementary material, (722 bytes)
CRAN packages: testforDEP, Hmisc, minerva
CRAN Task Views implied by cited CRAN packages: Bayesian, ClinicalTrials, Econometrics, MissingData, Multivariate, OfficialStatistics, ReproducibleResearch, SocialSciences


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2018-057,
  author = {Jeffrey C. Miecznikowski and En-shuo Hsu and Yanhua Chen and
          Albert Vexler},
  title = {{testforDEP: An R Package for Modern Distribution-free Tests
          and Visualization Tools for Independence}},
  year = {2018},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2018-057},
  url = {https://journal.r-project.org/archive/2018/RJ-2018-057/index.html}
}