Skip to main content

Overview

Every Gaussia metric supports two statistical computation modes. You pass a StatisticalMode instance when running a metric to control how scores are aggregated.

Frequentist mode (default)

Returns a single value — the weighted mean of all interaction scores.

Primitives

Bayesian mode

Returns a mean with a credible interval, computed via bootstrap resampling.

Configuration

Primitives

When to use which

Use FrequentistMode when...

  • You need fast, simple results
  • You’re building dashboards or CI pipelines
  • Sample sizes are large enough for stable estimates

Use BayesianMode when...

  • You need uncertainty quantification
  • Sample sizes are small
  • You’re comparing metrics across experiments
  • You’re writing research papers

Custom modes

You can implement your own StatisticalMode by subclassing the abstract base class: