pastas.stats.signatures.bimodality_coefficient ============================================== .. py:function:: pastas.stats.signatures.bimodality_coefficient(series: pandas.Series, normalize: bool = True) -> float Bimodality coefficient after :cite:t:`ellison_effect_1987`. :param series: Pandas Series with DatetimeIndex and head values. :type series: pandas.Series :param normalize: normalize the time series to values between zero and one. :type normalize: bool, optional :returns: Bimodality coefficient. :rtype: float .. rubric:: Notes Squared product moment skewness (s) plus one, divided by product moment kurtosis (k): ..math:: b = (s^2 + 1 ) / k Adapted from the R 'modes' package. The higher the bimodality coefficient, the more bimodal the head distribution is, and vice versa. .. !! processed by numpydoc !!