# Maximal information coefficient

In statistics, the maximal information coefficient (MIC) is a measure of the strength of the linear or non-linear association between two variables X and Y.

The MIC belongs to the maximal information-based nonparametric exploration (MINE) class of statistics.[1] In a simulation study, MIC outperformed some selected functions,[2] however concerns have been raised regarding reduced statistical power in detecting some associations in settings with low sample size.[3] It is claimed[2] that MIC approximately satisfies a property called equitability which is illustrated by selected simulation studies.[2] It was later proved that no non-trivial coefficient can exactly satisfy the equitability property as defined by Reshef et al.[2][4] Some criticims of MIC are addressed by Reshef et al. in further studies published on arXiv.[5]

## Overview

The maximal information coefficient uses binning as a means to apply mutual information on continuous random variables. Binning has been used for some time as a way of applying mutual information to continuous distributions; what MIC contributes in addition is a methodology for selecting the number of bins and picking a maximum over many possible grids.

The rationale is that the bins for both variables should be chosen in such a way that the mutual information between the variables be maximal. That is achieved whenever $\mathrm{H}\left(X_b\right)=\mathrm{H}\left(Y_b\right)=\mathrm{H}\left(X_b,Y_b\right)$.[6] Thus, when the mutual information is maximal over a binning of the data, we should expect that the following two properties hold, as much as made possible by the own nature of the data. First, the bins would have roughly the same size, because the entropies $\mathrm{H}(X_b)$ and $\mathrm{H}(Y_b)$ are maximized by equal-sized binning. And second, each bin of X will roughly correspond to a bin in Y.

Because the variables X and Y are reals, it is almost always possible to create exactly one bin for each (x,y) datapoint, and that would yield a very high value of the MI. To avoid forming this kind of trivial partitioning, the authors of the paper propose taking a number of bins $n_x$ for X and $n_y$ whose product is relatively small compared with the size N of the data sample. Concretely, they propose:

$n_x\times n_y \leq \mathrm{N}^{0.6}$

In some cases it is possible to achieve a good correspondence between $X_b$ and $Y_b$ with numbers as low as $n_x=2$ and $n_y=2$, while in other cases the number of bins required may be higher. The maximum for $\mathrm{I}(X_b;Y_b)$ is determined by H(X), which is in turn determined by the number of bins in each axis, therefore, the mutual information value will be dependent on the number of bins selected for each variable. In order to compare mutual information values obtained with partitions of different sizes, the mutual information value is normalized by dividing by the maximum achieveable value for the given partition size. Entropy is maximized by uniform probability distributions, or in this case, bins with the same number of elements. Also, joint entropy is minimized by having a one-to-one correspondence between bins. If we substitute such values in the formula $I(X;Y)=H(X)+H(Y)-H(X,Y)$, we can see that the maximum value achieveable by the MI for a given pair $n_x,n_y$ of bin counts is $\log\min\left(n_x,n_y\right)$. Thus, this value is used as a normalizing divisor for each pair of bin counts.

Last, the normalized maximal mutual information value for different combinations of $n_x$ and $n_y$ is tabulated, and the maximum value in the table selected as the value of the statistic.

## References

1. ^ Reshef, D. N.; Reshef, Y. A.; Finucane, H. K.; Grossman, S. R.; McVean, G.; Turnbaugh, P. J.; Lander, E. S.; Mitzenmacher, M.; Sabeti, P. C. (2011). "Detecting Novel Associations in Large Data Sets". Science 334 (6062): 1518–1524. doi:10.1126/science.1205438. PMC 3325791. PMID 22174245.
2. ^ a b c d Reshef et al. 2011
3. ^ Comment on “Detecting Novel Associations in Large Data Sets” by Reshef et al., Science Dec. 16, 2011
4. ^ Equitability, mutual information, and the maximal information coefficient by Justin B. Kinney, Gurinder S. Atwal, arXiv Jan. 31, 2013
5. ^ Equitability Analysis of the Maximal Information Coefficient, with Comparisons by David Reshef, Yakir Reshef, Michael Mitzenmacher, Pardis Sabeti, arXiv Jan. 27, 2013
6. ^ The "b" subscripts have been used to emphasize that the mutual information is calculated using the bins