of
fun of(weights: DoubleArray, components: List<ContinuousDistributionIfc>, types: List<RVParametersTypeIfc>, sampleSize: Int): CountAdequacy?(source)
Assesses whether a sample can support the component count of a fitted mixture.
Returns null when the question does not arise — a single-component fit has no count to settle — or when the separability could not be computed, which is reported as absent rather than as an adequate or inadequate verdict.
Parameters
weights
the fitted mixing weights
components
the fitted components
types
the fitted component families
sample Size
the number of observations fitted