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 01 Apr. 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
03/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/31Downloads for twosamples80100120140160180200220240260280300320340TrendBars

Today's Hot Picks in Authors and Packages

simplevis  
Wrappers to Simplify Beautiful "ggplot2" and "leaflet" Visualisation
Wrapper functions around the amazing 'leaflet' package that aims to simplify 'leaflet' visualisatio ...
Download / Learn more Package Citations See dependency  
samplesize  
Sample Size Calculation for Various t-Tests and Wilcoxon-Test
Computes sample size for Student's t-test and for the Wilcoxon-Mann-Whitney test for categorical dat ...
Download / Learn more Package Citations See dependency  
gasmodel  
Generalized Autoregressive Score Models
Estimation, forecasting, and simulation of generalized autoregressive score (GAS) models of Creal, ...
Download / Learn more Package Citations See dependency  
shinyBS  
Twitter Bootstrap Components for Shiny
Adds additional Twitter Bootstrap components to Shiny. ...
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  
eSIR  
Extended State-Space SIR Models
An implementation of extended state-space SIR models developed by Song Lab at UM school of Public H ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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