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:
twosamples_2.0.1.tar.gz
twosamples_2.0.1.zip(r-4.7)twosamples_2.0.1.zip(r-4.6)twosamples_2.0.1.zip(r-4.5)
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✨
card.svg |card.png
twosamples/json (API)
NEWS
| # 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
Last updated from:b06cef27f5. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 135 | ||
| linux-devel-x86_64 | OK | 153 | ||
| source / vignettes | OK | 152 | ||
| linux-release-arm64 | OK | 103 | ||
| linux-release-x86_64 | OK | 153 | ||
| macos-release-arm64 | OK | 160 | ||
| macos-release-x86_64 | OK | 320 | ||
| macos-oldrel-arm64 | OK | 163 | ||
| macos-oldrel-x86_64 | OK | 333 | ||
| windows-devel | OK | 96 | ||
| windows-release | OK | 113 | ||
| windows-oldrel | OK | 83 | ||
| wasm-release | OK | 94 |
Exports:ad_statad_testcombine.twosamplescvm_statcvm_testdts_statdts_testks_statks_testkuiper_statkuiper_testtwo_samplewass_statwass_test
Dependencies:cpp11
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Anderson-Darling Test | ad_stat ad_test |
| Combine two objects of class 'twosamples' | combine.twosamples |
| Cramer-von Mises Test | cvm_stat cvm_test |
| Kolmogorov-Smirnov Test | ks_stat ks_test |
| Kuiper Test | kuiper_stat kuiper_test |
| Permutation Test Builder | permutation_test_builder |
| Default plots for 'twosamples' objects | plot.twosamples |
| twosamples_class | print.twosamples summary.twosamples twosamples_class |
| DTS Test | dts_stat dts_test two_sample |
| Wasserstein Distance Test | wass_stat wass_test |