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

Figure 3. Binning error relative to nearest-neighbors error.

Figure 3

(A) Error from the binning method divided by error from the nearest-neighbor method. Errors in MI were calculated for each of the 100 data sets of the square-wave (light blue) and Gaussian (purple) 10,000-length data sets (see Figure 2). Each line shows the ratio of the median MI for a given number of neighbors Inline graphic estimated using binning, as a function of n, to the median (over all data sets and all values of Inline graphic) of all MI estimates using nearest neighbors. The binning method gives superior results for values of Inline graphic for which this ratio is less than one. Evidently, there is no optimal value of Inline graphic that works for all distributions: Inline graphic works well for the square wave distribution but Inline graphic is better for a Gaussian distribution. (B) MI error using nearest-neigbor method versus binning method for the 400-data point sets.