blockGaussian {flintyR} | R Documentation |
Approximate p-value for Test of Exchangeability (Assuming Large N and P with Block Dependencies)
Description
Computes the large (N,P)
asymptotic p-value for dataset \mathbf{X}
,
assuming its P
features are independent within specified blocks.
Usage
blockGaussian(X, block_boundaries, block_labels, p)
Arguments
X |
The binary or real matrix on which to perform test of exchangeability |
block_boundaries |
Vector denoting the positions where a new block of non-independent features starts. |
block_labels |
Length |
p |
The power |
Details
This is the large N
and large P
asymptotics of the permutation test.
Dependencies: getBinVStat, getRealVStat, getBlockCov, getChi2Weights
Value
The asymptotic p-value
[Package flintyR version 0.1.0 Index]