GENERAL COMMENTARY article

Front. Psychol., 02 October 2013

Sec. Quantitative Psychology and Measurement

Volume 4 - 2013 | https://doi.org/10.3389/fpsyg.2013.00700

Good things peak in pairs: a note on the bimodality coefficient

  • RP

    Roland Pfister 1*

  • KA

    Katharina A. Schwarz 2

  • MJ

    Markus Janczyk 1

  • RD

    Rick Dale 3

  • JB

    Jonathan B. Freeman 4

  • 1. Department of Psychology III, Institute of Psychology, Julius Maximilians University of Würzburg Würzburg, Germany

  • 2. University Medical Center Hamburg-Eppendorf Hamburg, Germany

  • 3. Cognitive and Information Sciences, University of California, Merced Merced, CA, USA

  • 4. Department of Psychological & Brain Sciences, Dartmouth College Hanover, NH, USA

Article metrics

View details

244

Citations

27k

Views

4,6k

Downloads

Distribution analyses and bimodality

Distribution analyses are becoming increasingly popular in the psychological literature as they promise invaluable information about hidden cognitive processes (e.g., Ratcliff and Rouder, 1998; Ratcliff et al., 1999; Wagenmakers et al., 2005; Miller, 2006; Freeman and Dale, 2013). One particular approach probes distributions for uni- vs. bi-modality, because bimodality often results from the contribution of dual processes underlying the observed data (Larkin, 1979; Freeman and Dale, 2013; see Knapp, 2007, for a historical overview). Although several statistical tools for this purpose exist, it remains unclear which one can be considered as a gold standard for assessing bimodality in practice.

Freeman and Dale (2013) have recently shed some light on the utility of three different measures of bimodality known as the bimodality coefficient (BC; SAS Institute Inc, 1990), Hartigan's dip statistic (HDS; Hartigan and Hartigan, 1985), and Akaike's information criterion (AIC; Akaike, 1974) as applied to one-component and two-component Gaussian mixture distribution models (McLachlan and Peel, 2000). Overall, their analyses favored the HDS but also credited the BC with considerable utility. Notably, however, rather different formulas for the BC can be found in the literature (SAS Institute Inc, 1990, 2012; Knapp, 2007; Bimodal distribution, 2013; Freeman and Dale, 2013)—certainly a potential source of confusion among researchers using the BC.1 Additionally, the Appendix of Freeman and Dale (2013) gives a slightly ambiguous formula for the BC because their approach used non-standard MATLAB functions that are not widely accessible. The present article aims at clarifying and correcting these issues in an attempt to prevent misunderstanding and confusion. Further, methodological issues in using this measure are sketched to provide an intuition about its behavior. Note that the current paper does not intend to argue in favor of the BC as compared to other measures (see Freeman and Dale, 2013, for a thorough comparison). Rather, we want to point out pitfalls and limitations of this measure that can easily be overlooked.

The BC and its caveats

The computation of the BC is easy and straightforward as it only requires three numbers: the sample size n, the skewness of the distribution of interest, and its excess kurtosis2 (see DeCarlo, 1997, and Joanes and Gill, 1998, for a detailed description of the latter two statistics). First appearing as part of the SAS procedure CLUSTER under the headline “Miscellaneous Formulas” of the SAS User's Guide (SAS Institute Inc, 1990, p. 561), the original formulation of the BC is

with m3 referring to the skewness of the distribution and m4 referring to its excess kurtosis (see Knapp, 2007, for critical remarks about this notation), with both moments being corrected for sample bias (cf. Joanes and Gill, 1998). The BC of a given empirical distribution is then compared to a benchmark value of BCcrit = 5/9 ≈ 0.555 that would be expected for a uniform distribution; higher numbers point toward bimodality whereas lower numbers point toward unimodality.

Freeman and Dale (2013) gave information about computation of the BC with Matlab, but unfortunately two problems likely arise from using their code (for more information and examples of calculation with different software packages, see the online material): First, the call

likely results in an error, as skew() is not a native Matlab function. The correct call should be

where the second input parameter 0 prompts the necessary correction for sample bias. Secondly, kurtosis() computes Pearson's original kurtosis (The MathWorks Inc., 2012). To obtain the correct and sample-bias corrected value, the call should be

Irrespective of these computational issues, the above-mentioned formula reveals that the BC is directly influenced by both, skewness and kurtosis: Higher BCs result from high absolute values of skewness and low or negative values of kurtosis. Especially the influence of skewness can result in undesired behavior of the BC. As an illustration, four hypothetical distributions of 100 values each (range 1–11) are plotted in Figure 1, including their skewness, kurtosis, and the resulting BC (see Appendix for the raw data).

Figure 1

Comparing distribution A and B reveals the expected behavior of the BC: The two obvious modes in distribution B decrease kurtosis and increase the BC. Distribution C, however, is clearly unimodal when inspected by eye but its heavy skew also leads to a large BC. In terms of the BC, distribution C is even more bimodal than distribution D even though distribution D clearly has two modes, but otherwise both are very similar. The additional mode, however, decreases skewness thereby lowering the BC as long as it is not compensated by (negative) kurtosis.

Conclusions

As described above, empirical values of BC > 0.555 are taken to indicate bimodality. A probability density function for the BC, however, cannot be derived (Knapp, 2007). This is a major drawback because it precludes a thorough null-hypothesis significance test.

A suitable alternative test for bimodality is the dip test (Hartigan and Hartigan, 1985) that probes for deviations from unimodality (see also Freeman and Dale, 2013, for a more detailed description). An algorithm for this test was proposed after its publication (Hartigan, 1985) and this algorithm has meanwhile been adopted for MATLAB (Mechler, 2002). Additionally, an up-to-date, bug-corrected version was recently published as an R package (diptest, Maechler, 2012).

A direct comparison of the BC and the dip test (Freeman and Dale, 2013) revealed that both measures have merit for assessing bimodality but neither statistic is perfectly sensitive and specific at the same time. Accordingly, one may assess empirical distributions with both measures and diagnose bimodality especially in case of convergent results. Should the results not converge, it seems the best strategy to investigate distributions for other measures, such as skewness and kurtosis individually (as well as their appearance when inspected by eye), to determine whether the result of the BC might be biased in one or the other direction.

Statements

Acknowledgments

We are grateful to Ed Huddleston of the SAS Institute Inc. for providing detailed information about the evolution of the BC.

Supplementary material

The Supplementary Material for this article can be found online at: http://www.frontiersin.org/Quantitative_Psychology_and_Measurement/10.3389/fpsyg.2013.00700/full

Footnotes

1.^The corresponding Wikipedia article (Bimodal distribution, 2013) used a wrong formula throughout, but has been corrected as part of preparing this article.

2.^Excess kurtosis and Pearson's original kurtosis differ only as to whether the distribution's fourth scaled moment is normalised to a value of 0 for normal distributions or not (with “excess” indicating that a value of three has been subtracted for normalisation). The present article assumes all statistics to represent excess kurtosis if not explicitly indicated otherwise.

References

  • 1

    AkaikeH. (1974). A new look at the statistical model identification. IEEE Trans. Autom. Control19, 716723. 10.1109/TAC.1974.1100705

  • 2

    Bimodal distribution. (2013). In Wikipedia. Available online at: http://en.wikipedia.org/wiki/Bimodal_distribution. [A correction to the listed formula for the BC has been submitted on February, 12, 2013 as part of writing this article, Retrieved: January 4, 2013].

  • 3

    DeCarloL. T. (1997). On the meaning and use of kurtosis. Psychol. Methods2, 292307. 10.1037/1082-989X.2.3.292

  • 4

    FreemanJ. B.DaleR. (2013). Assessing bimodality to detect the presence of a dual cognitive process. Behav. Res. Methods45, 8397. 10.3758/s13428-012-0225-x

  • 5

    HartiganJ. A.HartiganP. M. (1985). The dip test of unimodality. Ann. Stat. 13, 7084. 10.1214/aos/1176346577

  • 6

    HartiganP. M. (1985). Computation of the dip statistic to test for unimodality. J. R. Stat. Soc. Ser. C (Applied Statistics)34, 320325. 10.2307/2347485

  • 7

    JoanesD. N.GillC. A. (1998). Comparing measures of sample skewness and kurtosis. Statistician47, 183189. 10.1111/1467-9884.00122

  • 8

    KnappT. R. (2007). Bimodality revisited. J. Mod. Appl. Stat. Methods6, 820.

  • 9

    LarkinR. P. (1979). An algorithm for assessing bimodality vs. unimodality in a univariate distribution. Behav. Res. Methods Instrum. 11, 467468. 10.3758/BF03205709

  • 10

    MaechlerM. (2012). diptest: Hartigan's dip test statistic for unimodality – corrected code. R package version 0.75-74. Available online at: http://CRAN.R-project.org/package=diptest. [Retrieved: January 4, 2013].

  • 11

    McLachlanG.PeelD. (2000). Finite Mixture Models. Hoboken, NJ: Wiley.

  • 12

    MechlerF. (2002). Hartigan's dip Statistic. Available online at: http://nicprice.net/diptest/. [Retrieved: January 4, 2013].

  • 13

    MillerJ. (2006). A likelihood ratio test for mixture effects. Behav. Res. Methods38, 92106. 10.3758/BF03192754

  • 14

    RatcliffR.RouderJ. N. (1998). Modeling response times for two-choice decisions. Psychol. Sci. 9, 347356. 10.1111/1467-9280.00067

  • 15

    RatcliffR.Van ZandtT.McKoonR. (1999). Connectionist and diffusion models of reaction time. Psychol. Rev. 106, 261300. 10.1037/0033-295X.106.2.261

  • 16

    SAS Institute Inc. (1990). SAS/STAT User's Guide, Version 6, 4th Edn. Cary, NC: Author. [The often-found date of 1989 does not seem to be valid. The BC was not implemented in the preceding release in 1988, Version 6, 3rd Edn.].

  • 17

    SAS Institute Inc. (2012). SAS/STAT 12.1 User's Guide. Cary, NC: Author.

  • 18

    The MathWorks Inc. (2012). Kurtosis. Available online at: http://www.mathworks.de/de/help/stats/kurtosis.html. [Retrieved: February 11 2013].

  • 19

    WagenmakersE.-J.GrasmanR. P. P. P.MolenaarP. C. M. (2005). On the relation between the mean and the variance of a diffusion model response time distribution. J. Math. Psychol. 49, 195204. 10.1016/j.jmp.2005.02.003

Appendix

Table A1

Data Set
ValueABCD
13222
252633
351436
4106317
517233
620044
717255
81061112
95142114
105264130
113244
m30.000.00−1.55−0.59
m4−0.12−1.831.55−1.08
BC0.340.790.730.67

Frequency data of four hypothetical distributions of 100 values each, with corresponding estimates of skewness (m3), kurtosis (m4), and the BC.

Data set C is adapted from Knapp (2007) (Figure 7).

Summary

Keywords

distribution analysis, bimodality

Citation

Pfister R, Schwarz KA, Janczyk M, Dale R and Freeman JB (2013) Good things peak in pairs: a note on the bimodality coefficient. Front. Psychol. 4:700. doi: 10.3389/fpsyg.2013.00700

Received

02 September 2013

Accepted

14 September 2013

Published

02 October 2013

Volume

4 - 2013

Edited by

Holmes Finch, Ball State University, USA

Copyright

*Correspondence:

This article was submitted to Quantitative Psychology and Measurement, a section of the journal Frontiers in Psychology.

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics