R/auxiliary.R
blockLargeP.Rd
Computes the large P asymptotic p-value for dataset X, assuming its P features are independent within specified blocks.
blockLargeP(X, block_boundaries, block_labels, p = 2)
The binary or real matrix on which to perform test of exchangeability
Vector denoting the positions where a new block of non-independent features starts.
Length P vector recording the block label of each feature.
The power p of lpp, i.e., ||x||pp=(xp1+...xpn)
The asymptotic p-value
This is the large P asymptotics of the permutation test.
Dependencies: getBinVStat, getRealVStat, getChi2Weights, weightedChi2P, getBlockCov