I don't understand your question:
sage: stats.TimeSeries([1..100])
[1.0000, 2.0000, 3.0000, 4.0000, 5.0000 ... 96.0000, 97.0000, 98.0000,
99.0000, 100.0000].
> I found
> somewhere that finance.TimeSeries seems to calculate mean as well. Is
> that ok to use? If not, how do we use stats.TimeSeries?
They are exactly the same thing:
sage: finance.TimeSeries is stats.TimeSeries
True
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
You should just indicate in this case that TimeSeries does not support median.
Sorry for not realizing this when writing the question.
William
> Thanks,
> Nasim
> --
> Nasim Shomali
> Depts. of Bioengineering & Mathematics
> University of Washington
> nsho...@u.washington.edu