Companion

Properties

Link copied to clipboard

The default least number of distinct values permitted in a group. Two is the smallest value that guarantees a positive sample variance, and therefore the smallest value that admits a finite normal or lognormal maximum likelihood estimate.

Link copied to clipboard

The default least number of observations permitted in a group. Small groups produce unstable estimates regardless of which family is fitted.

Functions

Link copied to clipboard
fun fromUnsorted(data: DoubleArray, minimumGroupSize: Int = defaultMinimumGroupSize, minimumDistinctValues: Int = defaultMinimumDistinctValues): AdmissibilityCertificate

Builds a certificate from data that is not known to be sorted. The data is copied and sorted; the caller's array is not modified.