This function approximates the mutual information between two variables based on the given data.
1  | 
data | 
 A categorical dataset.  | 
n | 
 Sample size.  | 
x | 
 A random variable X.  | 
y | 
 A random variable Y.  | 
logBase | 
 The base of logarithm. Default is 2.  | 
smth | 
 A small value to get rid of 0 occurence.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.