binWDTest {otinference} | R Documentation |
Two-sample test for multivariate data based on binning.
Description
Two-sample test for multivariate data based on binning.
Usage
binWDTest(x, y, L = 5, B = 100)
Arguments
x , y |
The two samples, rows are realizations. |
L |
Number of bins in each dimension. |
B |
Number of realizations of limiting distribution to simulate. |
Value
p-value.
Examples
## Not run:
x <- MASS::mvrnorm(n = 100, mean = c(0, 0), Sigma = diag(1, 2))
y <- MASS::mvrnorm(n = 100, mean = c(0, 0), Sigma = diag(2, 2))
pVal <- binWDTest(x, y)
## End(Not run)
[Package otinference version 0.1.0 Index]