PDFComponentFitter

constructor(estimators: Set<ParameterEstimatorIfc> = PDFModeler.allEstimators, automaticShifting: Boolean = defaultAutomaticShifting, bootstrapStreamNumber: Int = 0, bootstrapStreamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)(source)

Parameters

estimators

the candidate families to fit, defaulting to the modeler's full catalog

automaticShifting

whether the modeler may estimate a left shift for a group. A shift costs one additional estimated parameter, which is counted in the candidate.

bootstrapStreamNumber

the stream the shift check's bootstrap draws from; 0 takes the provider's next stream. Used only when automaticShifting is true.

bootstrapStreamProvider

the provider the shift check's bootstrap draws from, so a study can keep mixture fitting off its own streams. With the default stream number each group takes the provider's next stream; a group answered from the fit cache takes none, so which stream a given group gets can depend on the order the groups are fitted, but a run is reproducible for a given provider.