I want to have calculate a cummulative series from the existing one.
In a simplified example, let's say there's a series:
ts = TimeSeries[{{{2016, 1, 14}, 0}, {{2016, 2, 1}, 10}, {{2016, 4, 6}, 0},
{{2016, 5, 10}, 10}, {{2016, 8, 18}, 10}}]
which has 5 observations.
However, the following:
Accumulate[ts]
has only 4 observations and the Accumulate[ts]["Values"] are not what could be expected, i.e. {0, 10, 10, 20, 30}, but {0, 10, 98029/3978, 8353/221}.
What is the logic behind this? Why do we loose one observation? What are these numbers in the results mean?
Accumulate[ts["Values"]]– corey979 Jan 09 '17 at 11:09