Package-level declarations
Types
One failed entry in a batch: the entry's name and a human-readable message. Captured so a batch completes even when some datasets fail (bad import, non-integer discrete data, numerical failure).
Wire-safe aggregate result for a FitSpec.Batch: the successful per-dataset results in submission order, plus any per-dataset failures. Each FitResultData.datasetName identifies its entry.
Wire-safe bootstrap summary for one estimated parameter. The engine performs the resampling and returns only these summaries — never the raw replicate arrays. Three confidence intervals are reported (normal, basic, percentile), each as an explicit lower/upper pair.
Wire-safe summary of the data series that was fit: the full StatisticIfc summary (statistics) plus the sign/zero counts the fitting EDA needs (which StatisticData does not carry). The dataset-level left shift is reported separately in ShiftAnalysisDTO (continuous) — it is not a statistic.
Wire-safe, dataset-level dispersion analysis for a discrete data series — the content of the standard report's "Dispersion Analysis" section. The index of dispersion is Var/Mean and the test statistic is T = (n−1)·Var/Mean, referred to a chi-squared distribution with degreesOfFreedom = n−1. The three p-values let a data/AI client read the dispersion conclusion without the chi-squared math.
Wire-safe, asymmetry-aware result for one (estimator, distribution-family) outcome. family + parameters + shift is everything a distribution-capable client needs to reconstruct the fitted distribution and build any fit-quality plot from its own raw data.
Serializable mirror of the engine's empirical-probability plotting-position convention (ksl.utilities.statistic.EmpDistType). Carried on the result so a client can reproduce the engine's Q-Q / P-P plots exactly rather than choosing its own plotting-position formula.
Wire-safe result of the family-frequency bootstrap — a standalone (continuous) analysis that resamples a dataset numSamples times, re-runs the full fit + evaluation on each resample, and tallies how often each family is recommended.
Wire-safe machine result for one distribution-fitting job over one dataset — the contract a CLI / REST / MCP client consumes, and the payload carried by a completed async fit. The payload is bounded and independent of sample size: it carries estimated parameters, goodness-of-fit, full MODA scoring, bootstrap summaries, and a data summary, but no plot-data series (a client reconstructs plots from its own raw data plus the returned fitted distribution — see the design plan).
Wire-safe goodness-of-fit results for one fitted distribution.
Wire-safe mirror of one histogram bin, sourced from the engine's HistogramBinData. Lets a client render the same binning the engine used.
Wire-safe histogram: the ordered bins plus the under/overflow counts. Populated from HistogramIfc.histogramData() by the result extractor.
Wire-safe mirror of one integer-frequency cell, sourced from the engine's ksl.utilities.statistic.FrequencyData. Lets a client render the same frequency distribution the engine computed for the discrete data.
Wire-safe integer-frequency distribution for a discrete data series — the discrete-path counterpart to HistogramDTO. Populated from IntegerFrequency.frequencyData() by the result extractor; null on the continuous path.
Mirrors ksl.utilities.moda.MetricData (definition + swing weight of one metric).
Wire-safe MODA scoring result for a continuous fit, capturing the FULL multi-objective decision analysis (metrics, raw scores, transformed values, ranks, rank frequencies).
Mirrors ksl.utilities.moda.ScoreData (one raw metric score for one alternative).
Mirrors ksl.utilities.moda.ValueData (transformed value + rank for one metric/alternative).
Mirrors ksl.utilities.moda.AlternativeRankFrequencyData (how often an alternative achieved a given rank). rankValue mirrors that class's value field, renamed for clarity.
Wire-safe, complete left-shift analysis for a continuous fit — the full content of the standard report's "Shift Parameter Analysis" section. Carries the estimated left shift, whether the data has zeros/negatives, the zero tolerance used, and the bootstrap confidence interval for the data minimum that drives the shift recommendation.
Wire-safe, field-for-field mirror of ksl.utilities.statistic.StatisticData — the full StatisticIfc summary at a chosen confidence level, exactly as produced by StatisticIfc.statisticData(level). Keeping the DTO consistent with StatisticData means a client receives the engine's complete statistical view (including the confidence interval, autocorrelation, and von Neumann lag-1 statistic) rather than an ad-hoc subset.
Functions
Maps a live IntegerFrequency to its wire-safe IntegerFrequencyDTO.