On Dec 13, 11:27 pm, William Stein <wst...@gmail.com> wrote:
> At least since we're mathematically savvy, we know that there's a lot
> more to statistics than the normal distribution.
>
> Having never seen any timing distributions (since they are hidden by
> timeit), I don't even know anything about how timings are distributed
> in practice.  I wouldn't mind seeing a frequency histogram or trying
> tests like  Kolmogorov–Smirnov to decide for myself...

You made timeit hide that data! A simple refactoring makes it
available again. See
http://trac.sagemath.org/sage_trac/ticket/12153

With the patch there you can do:

sage:
T=sage.misc.sage_timeit.sage_timeit("factorial(100)",globals(),repeat=20)
sage: stats.median(T.series)
9.8094940185546871e-07
sage: stats.variance(T.series)
9.7986974709017813e-13

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to