Various Methods for the Two Sample Problem in D>1 Dimensions
Count Events in Bins
This function calculates the test statistics
Create case studies
Change Marginals of 2D Data
This function does the chi square two sample test for continuous data ...
This function does the chi square two sample test for continuous data ...
Chi-square test for continuous data, example of user supplied function
Chi-square test for discrete data, example of user supplied function
This function does the tests by Chen and Friedman
find pairwise Euclidean distances
Friedman-Rafsky (FR) test
simulate continuous data
simulate new discrete data
simulate new data
MD2sample: Various Methods for the Two Sample Problem in D>1 Dimension...
Finds the empirical distribution function
equivalent to R command order
This function finds the power for tests that find their own p values
Find the power of various continuous tests via simutation or permutati...
equivalent to R command rank
This function creates data for Dalitz plot
Benchmarking for Multivariate Two-Sample Tests
This function does some rounding to nice numbers
Helper function to find test statistics of simulated data.
Helper function to find test statistics of simulated data.
This function checks whether the correct methods have been requested
run tests using either simulation or permutation.
test function
transform data to interval (0,1).
This function runs a number of two sample tests which find their own p...
Find test statistics for continuous data
Find test statistics for discrete data
Power Estimation for Multivariate Two-Sample Tests
Adjusted p values
Multivariate Two-Sample Tests
sort vector y by values in vector x
The routine twosample_test() in this package runs the two-sample test using various test statistic for multivariate data. The user can also run several tests and then find a p value adjusted for simultaneous inference. The p values are found via permutation or via the parametric bootstrap. The routine twosample_power() allows the estimation of the power of the tests. The routine run.studies() allows a user to quickly study the power of a new method and how it compares to those included in the package. For details of the methods and references see the included vignettes.