Various Methods for the Two Sample Problem in D>1 Dimensions

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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("MD2sample")

1.4.0 by Wolfgang Rolke, 24 days ago


Browse source code at https://github.com/cran/MD2sample


Authors: Wolfgang Rolke [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 2) license


Imports Rcpp, parallel, stats, FNN, copula, ade4, gTests, igraph, lsa, microbenchmark, mvtnorm, Ball

Suggests rmarkdown, knitr, ggplot2, egg, testthat

Linking to Rcpp


Imported by MDgof.


See at CRAN