indLargeP: Approximate p-value for Test of Exchangeability (Assuming...

View source: R/auxiliary.R

indLargePR Documentation

Approximate p-value for Test of Exchangeability (Assuming Large P)

Description

Computes the large P asymptotic p-value for dataset \mathbf{X}, assuming its P features are independent.

Usage

indLargeP(X, p = 2)

Arguments

X

The binary or real matrix on which to perform test of exchangeability

p

The power p of l_p^p, i.e., ||x||_p^p = (x_1^p+...x_n^p)

Details

This is the large P asymptotics of the permutation test.

Dependencies: getBinVStat, getRealVStat, getChi2Weights, weightedChi2P, getCov

Value

The asymptotic p-value


flintyR documentation built on March 31, 2023, 8:19 p.m.