# 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. In a simulation study, MIC outperformed some selected low power tests, 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). Comparisons with these methods, in which MIC was outperformed, were made in Simon and Tibshirani and in Gorfine, Heller, and Heller. It is claimed that MIC approximately satisfies a property called equitability which is illustrated by selected simulation studies. It was later proved that no non-trivial coefficient can exactly satisfy the equitability property as defined by Reshef et al., although this result has been challenged. Some criticisms of MIC are addressed by Reshef et al. in further studies published on arXiv.

## 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)$. 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 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 $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 achievable value for the given partition size. It is worth noting that a similar adaptive binning procedure for estimating mutual information had been proposed previously. 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 achievable 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.
It is important to note that trying all possible binning schemes that satisfy $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.