dot-wassersteinTestSp: .wassersteinTestSp

Description Usage Arguments Details Value References

Description

Two-sample test to check for differences between two distributions (conditions) using the 2-Wasserstein distance: Semi-parametric implementation using a permutation test with a generalized Pareto distribution (GPD) approximation to estimate small p-values accurately

Usage

1
.wassersteinTestSp(x, y, permnum = 10000)

Arguments

x

univariate sample (vector) representing the distribution of condition A

y

univariate sample (vector) representing the distribution of condition B

permnum

number of permutations used in the permutation testing procedure

Details

This is the semi-parametric version of wasserstein.test, for the asymptotic procedure see .wassersteinTestAsy

Details concerning the permutation testing procedure with GPD approximation to estimate small p-values accurately can be found in Schefzik and Goncalves (2019).

Value

A vector concerning the testing results, precisely (see Schefzik and Goncalves (2019) for details)

References

Schefzik, R. and Goncalves, A. (2019).


waddR documentation built on Nov. 8, 2020, 8:32 p.m.