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 22 Dec. 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

dmlalg  
Double Machine Learning Algorithms
Implementation of double machine learning (DML) algorithms in R, based on Emmenegger and Buehlmann ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
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  
Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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