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]
All associated links for this package
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 18 Feb. 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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
MOSS  
Multi-Omic Integration via Sparse Singular Value Decomposition
High dimensionality, noise and heterogeneity among samples and features challenge the omic integrat ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  
clustMixType  
k-Prototypes Clustering for Mixed Variable-Type Data
Functions to perform k-prototypes partitioning clustering for mixed variable-type data according to ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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