|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
The statistical layer consumes the observables registered in ObservableInterface. It can propagate nuisance uncertainties, build a likelihood, fit one or more physics parameters and produce likelihood scans or confidence contours.
The default StatisticConfig uses StatisticLikelihoodMode::CHI2_MC_COVARIANCE. Nuisance parameters are sampled through the observable calculator to estimate a theory covariance matrix, which is added to the experimental covariance:
![\[
\Sigma = \Sigma_{\mathrm{exp}} + \Sigma_{\mathrm{th}}^{\mathrm{MC}}.
\]](form_84.png)
For residual vector 
![\[
\chi^2(p) = r(p)^T\,\Sigma^{-1}\,r(p).
\]](form_86.png)
The alternative PROFILED_NUISANCE mode retains explicit nuisance coordinates and profiles them during the fit. It is more flexible but can be substantially more expensive.
Frequently adjusted options are intentionally kept at the top level:
| Option | Default | Purpose |
|---|---|---|
MC_draws | 100 | Accepted Monte-Carlo draws. |
MC_threads | 1 | Parallel Monte-Carlo workers. |
MC_seed | 123456 | Reproducible random seed. |
print_mc_progress | true | Progress and ETA reporting. |
fit_parameter_bounds | empty | Optional explicit minimizer bounds. |
Expert fit, covariance, pruning and likelihood settings are grouped under StatisticConfig::advanced / StatisticConfig.advanced.
Before fitting, HyperIso probes each requested physics parameter (p_spec) and recomputes the selected observables around the central point. If no selected observable changes beyond the configured absolute and relative thresholds, the fit is rejected.
This protects users from:
The check is enabled by default through advanced.fit_parameter_sensitivity_check. Its probe fraction and numerical cutoffs are expert settings. A failure to execute the probe can be configured to retain the parameter with a warning, but a confirmed absence of sensitivity is treated as an invalid fit request.
Nuisance dependencies are collected from the selected observable graph and can be pruned by numerical relevance. Correlations and marginal distributions are then assembled consistently for the retained nuisance set.
The physics parameters selected for fitting are detached from nuisance coordinates so the same quantity is not varied twice.
MC_threads only when the machine has enough physical cores and memory bandwidth.A successful numerical minimization does not by itself establish a statistically valid result. Users remain responsible for checking observable selection, parameter bounds, experimental correlations, covariance conditioning and the applicability of asymptotic confidence-level approximations.