A package giving the formulas of an exact distribution of ith nearest neighbours and two associated tests for independence


This package provides the formulas to calculate the probability of observing the ith nearest neighbour given the (i-1)th nearest neighbour. Additionally this formulas is used in independence testing and this package provides implementations for two tests of independence novelTest.chisq and novelTest.extreme.

This package also provides a mean to benchmark test for independence on many different type of functional dependences and a new type of non-functional dependence.


Package: knnIndep
Type: Package
Version: 1.0
Date: 2014-03-06
License: GPL>=3.0

For benchmarking purposes refer to run.tests and generate.benchmark.data. The formula is given by P_ceq,P_cge_ale and Pc_givena. The two tests of independence are novelTest.chisq and novelTest.extreme.


Sebastian Dümcke duemcke@mpipz.mpg.de

The author is also the maintainer.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.

comments powered by Disqus