Common distribution formatting utilities for viewer implementations.
This namespace provides shared functions used by all viewers for formatting distribution fit results in tables and text output.
Common distribution formatting utilities for viewer implementations. This namespace provides shared functions used by all viewers for formatting distribution fit results in tables and text output.
Human-readable labels for distributions.
Human-readable labels for distributions.
(format-distribution-table-row dist result best-model)Format a distribution fit result as a table row.
Returns a map suitable for table display with keys:
Format a distribution fit result as a table row. Returns a map suitable for table display with keys: - :distribution - human-readable distribution name - :status - "fitted", "error", or skip reason - :aic, :delta-aic, :bic - information criteria - :ks-stat, :ks-pvalue - Kolmogorov-Smirnov test results - :cvm-stat, :cvm-pvalue - Cramér-von Mises test results - :best? - true if this is the best model
(format-parameter-ci-rows best-model parameter-cis)Format parameter CIs as table rows.
Returns a vector of maps for table display, or nil if no CIs available. Each map has keys:
Format parameter CIs as table rows. Returns a vector of maps for table display, or nil if no CIs available. Each map has keys: - :distribution - distribution name - :parameter - parameter name - :estimate - point estimate - :ci-lower, :ci-upper - confidence interval bounds
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |