Entropy

Entropy[list]

gives the base information entropy of the values in list.

Entropy[k,list]

gives the base k information entropy.

Details and Options

  • Entropy[string] computes the information entropy of the characters in string.
  • Entropy can handle symbolic data.
  • With the option setting SameTest->f, Entropy[list,] applies f to pairs of elements in list to determine whether they should be considered equivalent.
  • The default setting for SameTest is SameQ.

Examples

open allclose all

Basic Examples  (4)

Entropy of a list of data:

Entropy of a symbolic list:

Entropy of a string:

Entropy of a random list of zeros and ones:

Scope  (1)

Calculate the entropy of an EventSeries:

Applications  (1)

Calculate the entropy for a path of a TelegraphProcess:

Neat Examples  (1)

Entropy of a text:

Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.

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_2023_entropy, author="Wolfram Research", title="{Entropy}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Entropy.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_entropy, organization={Wolfram Research}, title={Entropy}, year={2008}, url={https://reference.wolfram.com/language/ref/Entropy.html}, note=[Accessed: 19-March-2024 ]}