MeanArm
Single-moment arm; tracks the running mean but not variance. The right pick when the likelihood's sufficient statistic is one running sum (or equivalently a running mean × count):
Poisson reward (count data): pair with PoissonGammaPosterior.
Exponential reward (inter-arrival time): pair with ExponentialGammaPosterior.
The prior is a pseudo-observation of value priorMean with weight priorWeight. Tiny priorWeight (default 0.01) makes the prior a soft suggestion that gets washed out in the first few real observations.
Functions
createStat
Allocate a fresh per-arm accumulator already seeded with this arm's prior pseudo-counts, with the given concurrency. Merging another snapshot of this arm removes the duplicate prior it carries, and reset reseeds the prior.
Map a raw observation onto the scale the stat accumulates. Identity by default; LogNormalArm overrides with ln so the underlying stat tracks the log-reward and the Normal-Gamma posterior fits the log-normal generative model.