tlstyer/dominionstats — comment on commit 281b1ccc7bc191f8eaf3196b19bad0fe69289a03
File: optimal_card_ratios.py line 25
By rrenaud:

If you keep a stats.MeanVarStat instead of (essentially a) frequency and sum of win points, then you also track the variance and get nice things like error bars on the estimate.