energy: E-Statistics: Multivariate Inference via the Energy of Data

E-statistics (energy) tests and statistics for multivariate and univariate inference, including distance correlation, one-sample, two-sample, and multi-sample tests for comparing multivariate distributions, are implemented. Measuring and testing multivariate independence based on distance correlation, partial distance correlation, multivariate goodness-of-fit tests, k-groups and hierarchical clustering based on energy distance, testing for multivariate normality, distance components (disco) for non-parametric analysis of structured data, and other energy statistics/methods are implemented.

Version: 1.7-11
Depends: R (≥ 3.1)
Imports: Rcpp (≥ 0.12.6), stats, boot, gsl
LinkingTo: Rcpp
Suggests: MASS, CompQuadForm
Published: 2022-12-22
DOI: 10.32614/
Author: Maria Rizzo [aut, cre], Gabor Szekely [aut]
Maintainer: Maria Rizzo <mrizzo at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: energy results


Reference manual: energy.pdf


Package source: energy_1.7-11.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): energy_1.7-11.tgz, r-oldrel (arm64): energy_1.7-11.tgz, r-release (x86_64): energy_1.7-11.tgz, r-oldrel (x86_64): energy_1.7-11.tgz
Old sources: energy archive

Reverse dependencies:

Reverse depends: EnergyOnlineCPM, HellCor, MBC
Reverse imports: ANCOMBC, biosensors.usc, cassowaryr, CircMLE, Compositional, EDMeasure, etree, fAssets, GiniDistance, hySAINT, itdr, kpcalg, linkspotter, metrica, mgc, miRLAB, miRSM, MVN, MXM, nda, pgraph, PhyloProfile, scperturbR, semidist, Statsomat, stops, TDAkit, VariableScreening
Reverse suggests: compositions, copulaSim, correlation, dimRed, FAfA, FCPS, Pigengene, shotGroups, steadyICA, tourr


Please use the canonical form to link to this page.