Package: energy 1.7-12

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.

Authors:Maria Rizzo [aut, cre], Gabor Szekely [aut]

energy_1.7-12.tar.gz
energy_1.7-12.zip(r-4.5)energy_1.7-12.zip(r-4.4)energy_1.7-12.zip(r-4.3)
energy_1.7-12.tgz(r-4.4-x86_64)energy_1.7-12.tgz(r-4.4-arm64)energy_1.7-12.tgz(r-4.3-x86_64)energy_1.7-12.tgz(r-4.3-arm64)
energy_1.7-12.tar.gz(r-4.5-noble)energy_1.7-12.tar.gz(r-4.4-noble)
energy_1.7-12.tgz(r-4.4-emscripten)energy_1.7-12.tgz(r-4.3-emscripten)
energy.pdf |energy.html
energy/json (API)
NEWS

# Install 'energy' in R:
install.packages('energy', repos = c('https://mariarizzo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mariarizzo/energy/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • EVnormal - Eigenvalues for the energy Test of Univariate Normality

On CRAN:

distance-correlationenergymultivariate-analysisstatistics

10.69 score 43 stars 48 packages 544 scripts 15k downloads 11 mentions 46 exports 3 dependencies

Last updated 2 months agofrom:ffc3d056b2. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-win-x86_64OKOct 26 2024
R-4.5-linux-x86_64OKOct 26 2024
R-4.4-win-x86_64OKOct 26 2024
R-4.4-mac-x86_64OKOct 26 2024
R-4.4-mac-aarch64OKOct 26 2024
R-4.3-win-x86_64OKOct 26 2024
R-4.3-mac-x86_64OKOct 26 2024
R-4.3-mac-aarch64OKOct 26 2024

Exports:bcdcorcalc_distD_centerDcenterdcorDCORdcor.testdcor2ddcorTdcorT.testdcovdcov.testdcov2ddcovUdcovU_statsdiscodisco.betweenedistenergy.hclusteqdist.eeqdist.etestindep.testis.dmatrixkgroupsksample.emutualIndep.testmvImvI.testmvnorm.emvnorm.etestmvnorm.testnormal.enormal.testpdcorpdcor.testpdcovpdcov.testpoisson.epoisson.etestpoisson.mpoisson.mtestpoisson.testssortrankU_centerU_productUcenter

Dependencies:bootgslRcpp

Readme and manuals

Help Manual

Help pageTopics
E-statistics: Multivariate Inference via the Energy of Dataenergy-package energy
Double centering and U-centeringDcenter D_center Ucenter U_center
Distance Correlation t-test for High Dimensionsdcor.t dcor.ttest
Distance Correlation t-TestdcorT dcorT.test
Distance Covariance Test and Distance Correlation testdcor.test dcov.test distance covariance
Fast dCor and dCov for bivariate data onlydcor2d dcov2d
Unbiased distance covariance statisticsdcovU_stats
distance components (DISCO)disco disco.between print.disco
Distance Correlation and Covariance Statisticsdcor dcov
Distance Matricescalc_dist is.dmatrix
E-distanceedist
Deprecated FunctionsDCOR
Hierarchical Clustering by Minimum (Energy) E-distanceenergy.hclust
Multisample E-statistic (Energy) Test of Equal Distributionseqdist.e eqdist.etest ksample.e
Eigenvalues for the energy Test of Univariate Normalityeigenvalues EVnormal
Energy-tests of Independenceindep.test
K-Groups Clusteringkgroups
Energy Test of Mutual IndependencemutualIndep.test
Independence Coefficient and TestmvI mvI.test
E-statistic (Energy) Test of Multivariate Normalitymvnorm.e mvnorm.etest mvnorm.test
Energy Test of Univariate Normalitynormal.e normal.test
Partial distance correlation and covariancepdcor pdcor.test pdcov pdcov.test
Goodness-of-Fit Tests for Poisson Distributionpoisson.e poisson.etest poisson.m poisson.mtest poisson.tests
Sort, order and rank a vectorsortrank
Inner product in the Hilbert space of U-centered distance matricesU_product
Unbiased dcov and bias-corrected dcor statisticsbcdcor dcovU