Entropy
Details and Options
- Entropy is a measure of variation (size of information) within the data.
- The data can have the following additional forms and interpretations:
-
{x1,x2,…} list of numeric or symbolic values » » string list of characters in a String string » WeightedData list of values with weights » TimeSeries, TemporalData vector or array of values (the time stamps ignored) » - Entropy[k,{x1, …}] is equivalent to -
piLog[k,pi], where pi is the occurrence fraction of the distinct element xi. » - The following options can be given:
-
SameTest Automatic function to test equality of expressions » - Entropy[data,SameTestf] applies f to pairs of data elements to determine whether they should be considered equivalent.
Examples
open all close allBasic Examples (3)
Scope (4)
Entropy of a random list of zeros and ones:
Entropy of WeightedData:
Compare to the entropy of the data without weights:
Calculate the entropy of a TimeSeries:
Options (1)
Applications (2)
Entropy can be used to compare the levels of variations between datasets:
Calculate the entropy for a path of a TelegraphProcess with rate
:
Properties & Relations (3)
See Also
Related Guides
History
Text
Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.
CMS
Wolfram Language. 2008. "Entropy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Entropy.html.
APA
Wolfram Language. (2008). Entropy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Entropy.html
BibTeX
@misc{reference.wolfram_2025_entropy, author="Wolfram Research", title="{Entropy}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Entropy.html}", note=[Accessed: 16-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_entropy, organization={Wolfram Research}, title={Entropy}, year={2008}, url={https://reference.wolfram.com/language/ref/Entropy.html}, note=[Accessed: 16-November-2025]}