Package: twosamples 2.0.1

Connor Dowd

twosamples: Fast Permutation Based Two Sample Tests

Fast randomization based two sample tests. Testing the hypothesis that two samples come from the same distribution using randomization to create p-values. Included tests are: Kolmogorov-Smirnov, Kuiper, Cramer-von Mises, Anderson-Darling, Wasserstein, and DTS. The default test (two_sample) is based on the DTS test statistic, as it is the most powerful, and thus most useful to most users. The DTS test statistic builds on the Wasserstein distance by using a weighting scheme like that of Anderson-Darling. See the companion paper at <arxiv:2007.01360> or <https://codowd.com/public/DTS.pdf> for details of that test statistic, and non-standard uses of the package (parallel for big N, weighted observations, one sample tests, etc). We also include the permutation scheme to make test building simple for others.

Authors:Connor Dowd [aut, cre]

twosamples_2.0.1.tar.gz
twosamples_2.0.1.zip(r-4.7-x86_64)twosamples_2.0.1.zip(r-4.7-arm64)twosamples_2.0.1.zip(r-4.6-x86_64)twosamples_2.0.1.zip(r-4.6-arm64)twosamples_2.0.1.zip(r-4.5-x86_64)
twosamples_2.0.1.tgz(r-4.6-x86_64)twosamples_2.0.1.tgz(r-4.6-arm64)twosamples_2.0.1.tgz(r-4.5-x86_64)twosamples_2.0.1.tgz(r-4.5-arm64)
twosamples_2.0.1.tar.gz(r-4.7-arm64)twosamples_2.0.1.tar.gz(r-4.7-x86_64)twosamples_2.0.1.tar.gz(r-4.6-arm64)twosamples_2.0.1.tar.gz(r-4.6-x86_64)
twosamples_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
twosamples/json (API)

# Install 'twosamples' in R:
install.packages('twosamples', repos = c('https://cdowd.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cdowd/twosamples/issues

Pkgdown/docs site:https://twosampletest.com

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

distance-metricecdfcpp

7.58 score 17 stars 16 packages 101 scripts 9.3k downloads 14 exports 1 dependencies

Last updated from:b06cef27f5. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK116
linux-devel-x86_64OK116
source / vignettesOK154
linux-release-arm64OK77
linux-release-x86_64OK99
macos-release-arm64OK79
macos-release-x86_64OK230
macos-oldrel-arm64OK181
macos-oldrel-x86_64OK208
windows-devel-arm64OK316
windows-devel-x86_64OK110
windows-release-arm64OK320
windows-release-x86_64OK53
windows-oldrel-x86_64OK88
wasm-releaseOK88

Exports:ad_statad_testcombine.twosamplescvm_statcvm_testdts_statdts_testks_statks_testkuiper_statkuiper_testtwo_samplewass_statwass_test

Dependencies:cpp11

Readme and manuals

Help Manual

Help pageTopics
Anderson-Darling Testad_stat ad_test
Combine two objects of class 'twosamples'combine.twosamples
Cramer-von Mises Testcvm_stat cvm_test
Kolmogorov-Smirnov Testks_stat ks_test
Kuiper Testkuiper_stat kuiper_test
Permutation Test Builderpermutation_test_builder
Default plots for 'twosamples' objectsplot.twosamples
twosamples_classprint.twosamples summary.twosamples twosamples_class
DTS Testdts_stat dts_test two_sample
Wasserstein Distance Testwass_stat wass_test