Mathematica > Data Manipulation > Statistical Data Analysis > Descriptive Statistics > Entropy >
Mathematica > Mathematics and Algorithms > Statistical Data Analysis > Descriptive Statistics > Entropy >

Entropy

Entropy[list]
gives the base information entropy of the values in list.
Entropy
gives the base k information entropy.
  • Entropy[string] computes the information entropy of the characters in string.
  • With the option setting SameTest->f, Entropy applies f to pairs of elements in list to determine whether they should be considered equivalent.
Entropy of a list of data:
Entropy of a symbolic list:
Entropy of a string:
Entropy of a random list of zeros and ones:
Entropy of a list of data:
In[1]:=
Click for copyable input
Out[1]=
 
Entropy of a symbolic list:
In[1]:=
Click for copyable input
Out[1]=
 
Entropy of a string:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Entropy of a random list of zeros and ones:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Entropy of a text:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF