The QuadratiK Package: Kernel-Based Quadratic Distance Methods for Multivariate Data Analysis
Open Access
- 12 June 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 52 (3) , 1-32
Abstract
We introduce the QuadratiK package that incorporates innovative data analysis methodologies. The presented software, implemented in both R and Python , offers a comprehensive set of goodness-of-fit tests and clustering techniques using kernel-based quadratic distances, thereby bridging the gap between the statistical and machine learning literature. Our software implements one, two and \(k\) -sample tests for goodness-of-fit, providing an efficient and mathematically sound way to assess the fit of probability distributions. Expanded capabilities of our software include supporting tests for uniformity on the \(d\) -dimensional sphere based on Poisson kernel densities. Particularly noteworthy is the incorporation of a unique clustering algorithm specifically tailored for spherical data that leverages a mixture of Poisson kernel-based densities on the \(d\) -dimensional sphere. Alongside this, our software includes additional graphical functions, aiding the users in validating, as well as visualizing and representing clustering results. This enhances interpretability and usability of the analysis. In summary, our R and Python packages provide a powerful suite of tools, offering researchers and practitioners the means to delve deeper into their data, draw robust inference, and conduct potentially impactful analyses and inference across a wide array of disciplines.
Keywords
Funding Information
- Kaleida Health Foundation (82114)
- U.S. Food and Drug Administration (75F40120C00159)
This publication has 32 references indexed in Scilit:
- QuadratiK: A Python and R package for clustering on the sphere and goodness-of-fit testsSoftwareX, 2025
- StaTDS library: Statistical tests for Data ScienceNeurocomputing, 2024
- A k-Sample Test for Functional Data Based on Generalized Maximum Mean DiscrepancyLithuanian Mathematical Journal, 2022
- Improving spherical k-means for document clustering: Fast initialization, sparse centroid projection, and efficient cluster labelingExpert Systems with Applications, 2020
- Statistical Distances and Their Role in Robustness2017
- Searching for exotic particles in high-energy physics with deep learningNature Communications, 2014
- Kernels, Degrees of Freedom, and Power Properties of Quadratic Distance Goodness-of-Fit TestsJournal of the American Statistical Association, 2014
- Robust principal component analysis for functional dataTEST, 1999
- Silhouettes: A graphical aid to the interpretation and validation of cluster analysisJournal of Computational and Applied Mathematics, 1987
- K-Sample Anderson–Darling TestsJournal of the American Statistical Association, 1987