Package: MD2sample 1.2.2

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.

Authors:Wolfgang Rolke [aut, cre]

MD2sample_1.2.2.tar.gz
MD2sample_1.2.2.zip(r-4.7)MD2sample_1.2.2.zip(r-4.6)MD2sample_1.2.2.zip(r-4.5)
MD2sample_1.2.2.tgz(r-4.6-x86_64)MD2sample_1.2.2.tgz(r-4.6-arm64)MD2sample_1.2.2.tgz(r-4.5-x86_64)MD2sample_1.2.2.tgz(r-4.5-arm64)
MD2sample_1.2.2.tar.gz(r-4.7-arm64)MD2sample_1.2.2.tar.gz(r-4.7-x86_64)MD2sample_1.2.2.tar.gz(r-4.6-arm64)MD2sample_1.2.2.tar.gz(r-4.6-x86_64)
MD2sample_1.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
MD2sample/json (API)

# Install 'MD2sample' in R:
install.packages('MD2sample', repos = c('https://wolfgangrolke.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

3.56 score 1 packages 505 downloads 17 exports 38 dependencies

Last updated from:66fadafd2f. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK216
linux-devel-x86_64OK188
source / vignettesOK357
linux-release-arm64OK213
linux-release-x86_64OK179
macos-release-arm64OK119
macos-release-x86_64OK263
macos-oldrel-arm64OK110
macos-oldrel-x86_64OK279
windows-develOK159
windows-releaseOK155
windows-oldrelOK133
wasm-releaseOK183

Exports:bincounterRcase.studieschange.marginalschiTS.contchiTS.discFR.testpower_pvalsrDalitzrun.studiessimpvalssimTStest_methodstimecheckTS_cont_pvaltwosample_powertwosample_testtwosample_test_adjusted_pvalue

Dependencies:ade4ADGofTestBallcliclustercodetoolscolorspacecopulacpp11FNNforeachgamgluegslgTestsigraphiteratorslatticelifecyclelsamagrittrMASSMatrixmicrobenchmarkmvtnormnumDerivpcaPPpixmappkgconfigpsplineRcppRcppArmadillorlangSnowballCspstabledistsurvivalvctrs

MD2sample
Continuous Data | Example 1 | New Tests | Adjusted p values | Power Estimation | Example 2 | Discrete Data | Example 3 | User supplied tests | Goodness-of-fit/Two-sample hybrid problem | Benchmarking | Goodness-of-fit / twosample hybrid problem. | Example 5 | Methods included in MD2sample for continuous data | Methods whose p values are found via simulation | Methods based on empirical distribution functions | Methods based on nearest neighbors | Methods based on distances between observations | Methods based on kernel density estimates | Methods whose p values are found using a large sample theory | Methods included in MD2sample for discrete data | References

Last update: 2026-06-25
Started: 2025-07-22

Case Studies
Dim=2, equal marginals | Dim=2, unequal marginals | Dim=5, equal marginals | Dim=5, unequal marginals

Last update: 2026-01-18
Started: 2025-07-22