Skip to main content
. 2014 Feb 19;9(2):e87357. doi: 10.1371/journal.pone.0087357

Figure 1. Procedures for estimating MI.

Figure 1

(A) An example joint probability density Inline graphic where Inline graphic is a real-valued scalar and Inline graphic can take one of three values, indicated red, blue and green. For each value of Inline graphic the probability density in Inline graphic is shown as plot of that color, whose area is proportional to Inline graphic. (B) A set of Inline graphic data pairs sampled from this distribution, where Inline graphic is represented by the color of each point and Inline graphic by its position on the Inline graphic-axis. (C) The computation of Inline graphic in our nearest-neighbor method. Data point Inline graphic is the red dot indicated by a vertical arrow. The full data set is on the upper line, and the subset of all red data points is on the lower line. We find that the data point which is the 3rd-closest neighbor to Inline graphic on the bottom line is the 6th-closest neighbor on the top line. Dashed lines show the distance Inline graphic from point Inline graphic out to the 3rd neighbor. Inline graphic, Inline graphic, and for this point Inline graphic and Inline graphic. (D) A binning of the data into equal bins containing Inline graphic data points. MI can be estimated from the numbers of points of each color in each bin.