recommendedU01BreakPoints

fun recommendedU01BreakPoints(sampleSize: Int, confidenceLevel: Double = 0.95): DoubleArray

Recommends break points over the range (0,1) based on the recommended number of intervals for a chi-squared goodness of fit test.

Adjusts the result of Williams approximation to ensure at least 5 or more expected within the intervals and a minimum of at least 3 intervals.

On the Choice of the Number and Width of Classes for the Chi-Square Test of Goodness of Fit Author(s): C. Arthur Williams, Jr. Source: Journal of the American Statistical Association , Mar., 1950, Vol. 45, No. 249 (Mar., 1950), pp. 77-86 Published by: Taylor & Francis, Ltd. on behalf of the American Statistical Association Stable URL: http://www.jstor.com/stable/2280429