# 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 low power tests,[1] however concerns have been raised regarding reduced statistical power in detecting some associations in settings with low sample size when compared to powerful methods such as distance correlation and Heller–Heller–Gorfine (HHG).[2] Comparisons with these methods, in which MIC was outperformed, were made in Simon and Tibshirani[3] and in Gorfine, Heller, and Heller.[4] It is claimed[1] that MIC approximately satisfies a property called equitability which is illustrated by selected simulation studies.[1] It was later proved that no non-trivial coefficient can exactly satisfy the equitability property as defined by Reshef et al.,[1][5] although this result has been challenged.[6] Some criticisms of MIC are addressed by Reshef et al. in further studies published on arXiv.[7]

## 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 ${\displaystyle \mathrm {H} \left(X_{b}\right)=\mathrm {H} \left(Y_{b}\right)=\mathrm {H} \left(X_{b},Y_{b}\right)}$.[Note 1] 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 ${\displaystyle \mathrm {H} (X_{b})}$ and ${\displaystyle \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 real numbers, 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 ${\displaystyle n_{x}}$ for X and ${\displaystyle n_{y}}$ whose product is relatively small compared with the size N of the data sample. Concretely, they propose:

${\displaystyle n_{x}\times n_{y}\leq \mathrm {N} ^{0.6}}$

In some cases it is possible to achieve a good correspondence between ${\displaystyle X_{b}}$ and ${\displaystyle Y_{b}}$ with numbers as low as ${\displaystyle n_{x}=2}$ and ${\displaystyle n_{y}=2}$, while in other cases the number of bins required may be higher. The maximum for ${\displaystyle \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. It is worth noting that a similar adaptive binning procedure for estimating mutual information had been proposed previously.[8] 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 ${\displaystyle 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 ${\displaystyle n_{x},n_{y}}$ of bin counts is ${\displaystyle \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 ${\displaystyle n_{x}}$ and ${\displaystyle n_{y}}$ is tabulated, and the maximum value in the table selected as the value of the statistic.

It is important to note that trying all possible binning schemes that satisfy ${\displaystyle n_{x}\times n_{y}\leq \mathrm {N} ^{0.6}}$ is computationally unfeasible even for small n. Therefore, in practice the authors apply a heuristic which may or may not find the true maximum.

## Notes

1. ^ The "b" subscripts have been used to emphasize that the mutual information is calculated using the bins

## 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. Bibcode:2011Sci...334.1518R. doi:10.1126/science.1205438. PMC 3325791. PMID 22174245.
2. ^ Heller, R.; Heller, Y.; Gorfine, M. (2012). "A consistent multivariate test of association based on ranks of distances". Biometrika. 100 (2): 503–510. arXiv:1201.3522. doi:10.1093/biomet/ass070.
3. ^ Noah Simon and Robert Tibshirani, Comment on “Detecting Novel Associations in Large Data Sets” by Reshef et al., Science Dec. 16, 2011
4. ^ "Comment on "Detecting Novel Associations in Large Data Sets"" (PDF). Archived from the original (PDF) on 2017-08-08.
5. ^ Equitability, mutual information, and the maximal information coefficient by Justin B. Kinney, Gurinder S. Atwal, arXiv Jan. 31, 2013
6. ^ Murrell, Ben; Murrell, Daniel; Murrell, Hugh (2014). "R2-equitability is satisfiable". Proceedings of the National Academy of Sciences. 111 (21): E2160. Bibcode:2014PNAS..111E2160M. doi:10.1073/pnas.1403623111. PMC 4040619. PMID 24782547.
7. ^ Equitability Analysis of the Maximal Information Coefficient, with Comparisons by David Reshef, Yakir Reshef, Michael Mitzenmacher, Pardis Sabeti, arXiv Jan. 27, 2013
8. ^ Fraser, Andrew M.; Swinney, Harry L. (1986-02-01). "Independent coordinates for strange attractors from mutual information". Physical Review A. 33 (2): 1134–1140. Bibcode:1986PhRvA..33.1134F. doi:10.1103/PhysRevA.33.1134. PMID 9896728.