Multi-View Aggregated Two Sample Tests

Implements the Multi-view Aggregated Two-Sample (MATES) test, a powerful nonparametric method for testing equality of two multivariate distributions. The method constructs multiple graph-based statistics from various perspectives (views) including different distance metrics, graph types (nearest neighbor graphs, minimum spanning trees, and robust nearest neighbor graphs), and weighting schemes. These statistics are then aggregated through a quadratic form to achieve improved statistical power. The package provides both asymptotic closed-form inference and permutation-based testing procedures. For methodological details, see Cai and others (2026+) .


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("MATES")

0.1 by Zexi Cai, 8 months ago


https://github.com/ZexiCAI/MATES


Report a bug at https://github.com/ZexiCAI/MATES/issues


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


Authors: Zexi Cai [aut, cre] , Mingshuo Liu [aut, ctb] (ORCID: , Wenbo Fei [aut, ctb] , Doudou Zhou [aut, ctb]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports Rcpp, ade4, MASS, magrittr

Linking to Rcpp


See at CRAN