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.5)twosamples_2.0.1.zip(r-4.4)twosamples_2.0.1.zip(r-4.3)
twosamples_2.0.1.tgz(r-4.4-x86_64)twosamples_2.0.1.tgz(r-4.4-arm64)twosamples_2.0.1.tgz(r-4.3-x86_64)twosamples_2.0.1.tgz(r-4.3-arm64)
twosamples_2.0.1.tar.gz(r-4.5-noble)twosamples_2.0.1.tar.gz(r-4.4-noble)
twosamples_2.0.1.tgz(r-4.4-emscripten)twosamples_2.0.1.tgz(r-4.3-emscripten)
twosamples.pdf |twosamples.html✨
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
Last updated 1 years agofrom:6472636591. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-win-x86_64 | OK | Nov 07 2024 |
R-4.5-linux-x86_64 | OK | Nov 07 2024 |
R-4.4-win-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-x86_64 | OK | Nov 07 2024 |
R-4.4-mac-aarch64 | OK | Nov 07 2024 |
R-4.3-win-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-x86_64 | OK | Nov 07 2024 |
R-4.3-mac-aarch64 | OK | Nov 07 2024 |
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 |