R/auxiliary.R
indLargeP.Rd
Computes the large \(P\) asymptotic p-value for dataset \(\mathbf{X}\), assuming its \(P\) features are independent.
indLargeP(X, p = 2)
The binary or real matrix on which to perform test of exchangeability
The power p of \(l_p^p\), i.e., \(||x||_p^p = (x_1^p+...x_n^p)\)
The asymptotic p-value
This is the large \(P\) asymptotics of the permutation test.
Dependencies: getBinVStat, getRealVStat, getChi2Weights, weightedChi2P, getCov