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.
Geometric reward (trials until success): pair with GeometricBetaPosterior.
Exponential reward (inter-arrival time): pair with ExponentialGammaPosterior.
Gamma reward with known shape: pair with GammaScalePosterior.
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.
Constructors
Types
Functions
Allocate a fresh per-arm accumulator already seeded with this arm's prior pseudo-counts.
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.
MeanArm
createStat
Allocate a fresh per-arm accumulator already seeded with this arm's prior pseudo-counts.
priorMean
priorWeight
Pseudo-weight of the prior seed; smaller = weaker prior.