CRAN
twosamples 1.0.0
Fast Permutation Based Two Sample Tests
Released Dec 3, 2018 by Connor Dowd
Dependencies
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, and Anderson-Darling. There is also a very efficient test based on the Wasserstein Distance. The default test 'two_sample' builds on the Wasserstein distance by using a weighting scheme like that of Anderson-Darling. We also include the permutation scheme to make test building simple for others.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>twosamples</artifactId> <version>1.0.0-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:twosamples')
Test Results
This package was last tested against Renjin 0.9.2716 on Dec 19, 2018.