CRAN/E | twosamples

twosamples

Fast Permutation Based Two Sample Tests

Installation

About

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 or 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.

twosampletest.com
github.com/cdowd/twosamples
Bug report File report

Key Metrics

Version 2.0.1
Published 2023-06-23 309 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks twosamples results

Downloads

Yesterday 229 0%
Last 7 days 1.118 -26%
Last 30 days 5.485 -17%
Last 90 days 16.929 -12%
Last 365 days 73.185 +133%

Maintainer

Maintainer

Connor Dowd

cd@codowd.com

Authors

Connor Dowd

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

twosamples archive

Suggests

testthat ≥ 3.0.0

LinkingTo

cpp11

Reverse Imports

opdisDownsampling
SeedMatchR

Reverse Suggests

CAST
FRESA.CAD
MARVEL