distDataLargeP: Asymptotic p-value of Exchangeability Using Distance Data

View source: R/auxiliary.R

distDataLargePR Documentation

Asymptotic p-value of Exchangeability Using Distance Data

Description

Generates an asymptotic p-value.

Usage

distDataLargeP(dist_list)

Arguments

dist_list

The list (length B) of pairwise distance data. Each element in list should be either a distance matrix or a table recording pairwise distances.

Details

Generates a weighted convolution of chi-squares distribution of V statistic by storing the provided list of distance data as an {N\choose2} \times B array, and then using large-P theory to generate the asymptotic null distribution against which the p-value of observed V statistic is computed.

Each element of dist_list should be a N\times N distance matrix.

Dependencies: buildReverse, getChi2Weights, weightedChi2P

Value

The asymptotic p-value obtained from the weighted convolution of chi-squares distribution.


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