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 21 Nov. 2024.
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

crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
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  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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