Bimodality Coefficient Calculation with Matlab

版本 1.1.0 (2.3 KB) 作者: Hristo Zhivomirov
Estimation of the bimodality of data via the bimodality coefficient.
433.0 次下载
更新时间 2021/4/29

查看许可证

The present code is a Matlab function that provides calculation of the Warren Sarle’s bimodality coefficient (BC) of a data, which is in relation with the data skewness and kurtosis. BC has a range of 0 to 1 where values greater than 5/9 (~0.555 – the value for the uniform distribution) indicate bimodal or multimodal data distributions. Consequently, the BC could be used as a test for bimodality of the data. The function computes:
- the bimodality flag (whether the data are bimodal/multimodal or not);
- the bimodality coefficient itself.

An example is given in order to clarify the usage of the function. For convenience, the input and output arguments are given in the beginning of the function.

The code is based on the theory described in:

[1] R. Pfister, K. Schwarz, M. Janczyk, R. Dale, J. Freeman. Good things peak in pairs: a note on the bimodality coefficient. Frontiers in Psychology, Vol. 4, Art. 700, Oct. 2013.

引用格式

Hristo Zhivomirov (2024). Bimodality Coefficient Calculation with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/84933-bimodality-coefficient-calculation-with-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0

A new version of the code has been uploaded.

1.0.0