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 <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.
License: GPL (>= 2)
Encoding: UTF-8
LinkingTo: cpp11
RoxygenNote: 7.2.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
NeedsCompilation: yes
Packaged: 2023-06-23 18:50:48 UTC; cdowd
Author: Connor Dowd [aut, cre] (<https://orcid.org/0000-0002-9782-0931>)
Maintainer: Connor Dowd <cd@codowd.com>
Repository: CRAN
Date/Publication: 2023-06-23 19:30:02 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-26 11:09:47 UTC; unix
Archs: twosamples.so.dSYM
