into CTwoSampleTestStatistic and CIndependenceTestStatistic
The reason is that the permutation/bootstrap null approximation method for HSIC is implemented wrongly! Rather than permuting all samples from p and q, the permutation test for independence test statistics should only permute one of the samples while the others stay the same. This is not done in the current code and therefore a serious bug.
into CTwoSampleTestStatistic and CIndependenceTestStatistic
The reason is that the permutation/bootstrap null approximation method for HSIC is implemented wrongly! Rather than permuting all samples from p and q, the permutation test for independence test statistics should only permute one of the samples while the others stay the same. This is not done in the current code and therefore a serious bug.