MixtureBootstrapResults

class MixtureBootstrapResults(val componentCountFrequency: IntegerFrequency, val familyByPosition: Map<Int, Map<String, Int>>, val modalComponentCount: Int?, val numSamples: Int, val numFitted: Int, val distinctValues: Statistic, val isParametric: Boolean, val originalDistinctValues: Int = 0)(source)

What repeated refitting on resampled data said about a recommendation.

Parameters

componentCountFrequency

how often each number of components was recommended

familyByPosition

for each component position, how often each family was chosen, counted only over resamples that recommended the modal number of components

modalComponentCount

the most frequently recommended number of components

numSamples

the resamples attempted

numFitted

the resamples that produced a recommendation

distinctValues

the number of distinct values in each resample, which matters here because cuts may not split tied observations

isParametric

whether resamples were drawn from the fitted mixture rather than from the data

originalDistinctValues

how many distinct values the original data holds, so that the resamples' reduction can be seen rather than inferred

Constructors

Link copied to clipboard
constructor(componentCountFrequency: IntegerFrequency, familyByPosition: Map<Int, Map<String, Int>>, modalComponentCount: Int?, numSamples: Int, numFitted: Int, distinctValues: Statistic, isParametric: Boolean, originalDistinctValues: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The share of successful resamples that recommended the modal number of components.

Functions

Link copied to clipboard
open override fun toString(): String