Yes, there's some stuff in the finance.time_series for doing simple stats over the reals. (This really needs to be put somewhere more obvious, along with histogram, etc.)
sage: sage.finance.time_series.TimeSeries([1,2,5]) [1.0000, 2.0000, 5.0000] sage: t = sage.finance.time_series.TimeSeries([1,2,5]) sage: t.[tab] t.abs t.fft t.prod t.add_entries t.histogram t.randomize t.add_scalar t.hurst_exponent t.range_statistic t.autocorrelation t.ifft t.reversed t.autocovariance t.list t.scale t.autoregressive_fit t.log t.scale_time t.autoregressive_forecast t.max t.show t.central_moment t.mean t.simple_moving_average t.clip_remove t.min t.standard_deviation t.correlation t.moment t.sum t.covariance t.numpy t.sums t.diffs t.plot t.variance t.exp t.plot_candlestick t.vector t.exponential_moving_average t.plot_histogram t.extend t.pow For more complicated things, we also ship R, though the interface could be greatly improved. On Sep 25, 2009, at 11:56 PM, ablondin wrote: > > Hello, everybody ! > Do you know how we can compute standard statistics on lists in sage ? > For instance, if I have a list of 100 reals, how can I compute the > mean of this list, the standard deviation, the variance, the median, > the mode, etc. Are there predefined functions in sage or do I need to > write them ? > Thank you ! > Alexandre Blondin Massé > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
