Quantifying Similarity of Datasets and Multivariate Two- And k-Sample Testing

A collection of methods for quantifying the similarity of two or more datasets, many of which can be used for two- or k-sample testing. It provides newly implemented methods as well as wrapper functions for existing methods that enable calling many different methods in a unified framework. The methods were selected from the review and comparison of Stolte et al. (2024) . An empirical comparison of the methods was performed in Stolte et al. (2026) for categorical data and in Stolte et al. (2026) for numeric data.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("DataSimilarity")

0.4.0 by Marieke Stolte, 5 months ago


Browse source code at https://github.com/cran/DataSimilarity


Authors: Marieke Stolte [aut, cre, cph] (ORCID: , Luca Sauer [aut] , David Alvarez-Melis [ctb] (Original python implementation of OTDD , <https://github.com/microsoft/otdd.git>) , Nabarun Deb [ctb] (Original implementation of rank-based Energy test (DS) , <https://github.com/NabarunD/MultiDistFree.git>) , Bodhisattva Sen [ctb] (Original implementation of rank-based Energy test (DS) , <https://github.com/NabarunD/MultiDistFree.git>)


Documentation:   PDF Manual  


GPL (>= 3) license


Imports boot, stats

Suggests ade4, approxOT, Ball, caret, clue, cramer, crossmatch, dbscan, densratio, DWDLargeR, e1071, Ecume, energy, expm, FNN, GraphRankTest, gTests, gTestsMulti, HDLSSkST, hypoRF, kernlab, kerTests, KMD, knitr, LPKsample, Matrix, mvtnorm, nbpMatching, pROC, purrr, randtoolbox, rlemon, rpart, rpart.plot, testthat, nnet, synthpop, igraph, cluster


See at CRAN