intervalSize property

double intervalSize

Returns the optimal interval according to the Freedman-Diaconis rule taking into account the inter-quartile range and the sample size.

Implementation

double get intervalSize =>
    2 * (quartile3 - quartile1) / (_sortedSample().length.root(3));