Package: twosamples Type: Package Title: Fast Permutation Based Two Sample Tests Version: 2.0.1 Authors@R: person("Connor", "Dowd", , "cd@codowd.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9782-0931")) Description: 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. License: GPL (>= 2) Encoding: UTF-8 LinkingTo: cpp11 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 URL: https://twosampletest.com, https://github.com/cdowd/twosamples BugReports: https://github.com/cdowd/twosamples/issues Suggests: testthat (>= 3.0.0) Config/testthat/edition: 3 Repository: https://cdowd.r-universe.dev Date/Publication: 2026-03-11 15:52:18 UTC RemoteUrl: https://github.com/cdowd/twosamples RemoteRef: HEAD RemoteSha: b06cef27f51d758e6b0722a661c427b8aaa9c0cc NeedsCompilation: yes Packaged: 2026-07-12 06:07:16 UTC; root Author: Connor Dowd [aut, cre] (ORCID: ) Maintainer: Connor Dowd