Statistics
Summarize observed returns and combine their mean with a critic prediction.
RunningStats
Section titled “RunningStats”Maintain the count, mean, and sample variance of observed returns without retaining every observation. Calibration models read this record to compare outcomes with the critic prediction.
The three outcomes are summarized by a count, mean, and squared-deviation accumulator. variance returns the sample variance and is zero until two observations are available.
Definition
Fields
RunningStats.add
Section titled “RunningStats.add”Incorporate one return into the count, mean, and squared-deviation accumulator.
RunningStats.of
Section titled “RunningStats.of”Summarize a sequence of observed returns using the same incremental update as add().
RunningStats.variance
Section titled “RunningStats.variance”Return the sample variance, or zero with fewer than two observations.