Package: entropy 1.3.1

Korbinian Strimmer

entropy: Estimation of Entropy, Mutual Information and Related Quantities

Implements various estimators of entropy for discrete random variables, including the shrinkage estimator by Hausser and Strimmer (2009), the maximum likelihood and the Millow-Madow estimator, various Bayesian estimators, and the Chao-Shen estimator. It also offers an R interface to the NSB estimator. Furthermore, the package provides functions for estimating the Kullback-Leibler divergence, the chi-squared divergence, mutual information, and the chi-squared divergence of independence. It also computes the G statistic and the chi-squared statistic and corresponding p-values. Furthermore, there are functions for discretizing continuous random variables.

Authors:Jean Hausser and Korbinian Strimmer

entropy_1.3.1.tar.gz
entropy_1.3.1.tar.gz(r-4.5-noble)entropy_1.3.1.tar.gz(r-4.4-noble)
entropy_1.3.1.tgz(r-4.4-emscripten)entropy_1.3.1.tgz(r-4.3-emscripten)
entropy.pdf |entropy.html
entropy/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/strimmerlab/software/issues

7.44 score 3 stars 65 packages 772 scripts 6.1k downloads 14 mentions 34 exports 0 dependencies

Last updated 3 years agofrom:96b1d189c9. Checks:OK: 1 NOTE: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 12 2024
R-4.5-linuxNOTEOct 12 2024

Exports:chi2.Dirichletchi2.empiricalchi2.pluginchi2.shrinkchi2indep.Dirichletchi2indep.empiricalchi2indep.pluginchi2indep.shrinkchi2statchi2statindepdiscretizediscretize2dentropyentropy.ChaoShenentropy.Dirichletentropy.empiricalentropy.MillerMadowentropy.NSBentropy.pluginentropy.shrinkfreqsfreqs.Dirichletfreqs.empiricalfreqs.shrinkGstatGstatindepKL.DirichletKL.empiricalKL.pluginKL.shrinkmi.Dirichletmi.empiricalmi.pluginmi.shrink

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
The entropy Packageentropy-package
Discretize Continuous Random Variablesdiscretize discretize2d
Estimating Entropy From Observed Countsentropy freqs
Chao-Shen Entropy Estimatorentropy.ChaoShen
Dirichlet Prior Bayesian Estimators of Entropy, Mutual Information and Other Related Quantitieschi2.Dirichlet chi2indep.Dirichlet entropy.Dirichlet freqs.Dirichlet KL.Dirichlet mi.Dirichlet
Empirical Estimators of Entropy and Mutual Information and Related Quantitieschi2.empirical chi2indep.empirical entropy.empirical freqs.empirical KL.empirical mi.empirical
Miller-Madow Entropy Estimatorentropy.MillerMadow
R Interface to NSB Entropy Estimatorentropy.NSB
Plug-In Entropy Estimatorentropy.plugin
Shrinkage Estimators of Entropy, Mutual Information and Related Quantitieschi2.shrink chi2indep.shrink entropy.shrink freqs.shrink KL.shrink mi.shrink
G Statistic and Chi-Squared Statisticchi2stat chi2statindep Gstat Gstatindep
Plug-In Estimator of the Kullback-Leibler divergence and of the Chi-Squared Divergencechi2.plugin KL.plugin
Plug-In Estimator of Mutual Information and of the Chi-Squared Statistic of Independencechi2indep.plugin mi.plugin