def estimate_mean(samples):
    (n, mean, stddev) = stats.gauss_suff_stats(samples)
    return (n, mean, stddev / math.sqrt(n))
If work happens after L{Team.quit} sets its C{Quit} flag, but before
dataset/ETHPy150Open probcomp/bayeslite/src/geweke_testing.py/estimate_mean--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/_threads/test/test_team.py/TeamTests.test_quitConcurrentWithWorkHappening