MD2sample: 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.

Version: 1.0.0
Depends: R (≥ 3.5)
Imports: Rcpp, parallel, stats, FNN, copula, ade4, gTests, igraph, lsa, microbenchmark, mvtnorm, Ball
LinkingTo: Rcpp
Suggests: rmarkdown, knitr, ggplot2, egg, testthat (≥ 3.0.0)
Published: 2025-07-22
DOI: 10.32614/CRAN.package.MD2sample
Author: Wolfgang Rolke ORCID iD [aut, cre]
Maintainer: Wolfgang Rolke <wolfgang.rolke at upr.edu>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: NEWS
CRAN checks: MD2sample results

Documentation:

Reference manual: MD2sample.html , MD2sample.pdf
Vignettes: Case Studies (source, R code)
MD2sample (source, R code)

Downloads:

Package source: MD2sample_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): MD2sample_1.0.0.tgz, r-oldrel (x86_64): MD2sample_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MD2sample to link to this page.