Independence tests and benchmarks


[Up] [Top]

Documentation for package ‘knnIndep’ version 1.0

Help Pages

knnIndep-package A package giving the formulas of an exact distribution of ith nearest neighbours and two associated tests for independence
benchmark.patchwork.copula Benchmark function for a new type of non-functional dependence
calculate.power Calculate power at a given significance level
generate.benchmark.data Generating functional dependencies
generate.patchwork.copula Generate data from a non-functional dependence
generate.roc Generate ROC curve data
knnIndep A package giving the formulas of an exact distribution of ith nearest neighbours and two associated tests for independence
novelTest.chisq A novel test of independence
novelTest.extreme A novel test of independence
Pc_givena Probability of observing the ith nearest neighbour at distance greater or equal c given the (i-1)th nearest neighbour at distance a
power.plot Plot power of benchmarked tests of independence
P_ceq Probability of observing the ith nearest neighbour at the same distance or larger as the (i-1)th nearest neighbour
P_cge_ale Probability of observing the ith nearest neighbour at a distance greater or equal to c and the (i-1)th nearest neighbour was observed at distance smaller or equal a
roc.plot Plot a ROC
run.tests Run several tests of independence on a benchmark of different functional relationships