Other packages > Find by keyword >

twosamples  

Fast Permutation Based Two Sample Tests
View on CRAN: Click here


Download and install twosamples package within the R console
Install from CRAN:
install.packages("twosamples")

Install from Github:
library("remotes")
install_github("cran/twosamples")

Install by package version:
library("remotes")
install_version("twosamples", "2.0.1")



Attach the package and use:
library("twosamples")
Maintained by
Connor Dowd
[Scholar Profile | Author Map]
First Published: 2018-12-03
Latest Update: 2023-06-23
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 <doi:10.48550/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.
How to cite:
Connor Dowd (2018). twosamples: Fast Permutation Based Two Sample Tests. R package version 2.0.1, https://cran.r-project.org/web/packages/twosamples. Accessed 07 May. 2025.
Previous versions and publish date:
1.0.0 (2018-12-03 10:30), 1.1.0 (2020-07-14 09:40), 1.1.1 (2020-07-19 16:10), 1.2.0 (2022-06-07 01:20), 2.0.0 (2022-07-12 05:20)
Other packages that cited twosamples R package
View twosamples citation profile
Other R packages that twosamples depends, imports, suggests or enhances
Complete documentation for twosamples
Functions, R codes and Examples using the twosamples R package
Some associated functions: ad_test . combine.twosamples . cvm_test . ks_test . kuiper_test . permutation_test_builder . plot.twosamples . two_sample . twosamples_class . wass_test . 
Some associated R codes: class.R . cpp11.R . documentation.R . misc.R . two_samples.R .  Full twosamples package functions and examples
Downloads during the last 30 days
04/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/0405/05Downloads for twosamples80100120140160180200220240260280300TrendBars

Today's Hot Picks in Authors and Packages

aroma.affymetrix  
Analysis of Large Affymetrix Microarray Data Sets
A cross-platform R framework that facilitates processing of any number of Affymetrix microarray samp ...
Download / Learn more Package Citations See dependency  
MLDS  
Maximum Likelihood Difference Scaling
Difference scaling is a method for scaling perceived supra-threshold differences. The package cont ...
Download / Learn more Package Citations See dependency  
humanize  
Create Values for Human Consumption
An almost direct port of the 'python' 'humanize' package . Thi ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
funLBM  
Model-Based Co-Clustering of Functional Data
The funLBM algorithm allows to simultaneously cluster the rows and the columns of a data matrix wher ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA