Page 1 of 1

Cumulated Sum

Posted: Wed Oct 28, 2015 1:33 am
by RDS
I have a time series of flows: flows(t) = [flow(0),flow(1),....flow(T)]
where [flow(0),flow(1),....flow(T)] are the observations at time 0,1,...T, respectively.

I would like to generate a stock variable (S(t)), which is simply the cumulated sum of flows:
S(t) = [S(0),S(1),....S(T)]

where

S(0) = f(0)
S(1) = f(0) + f(1)
...
S(T) = f(0) + f(1) +,..., + S(T).

Is there a simple procedure in eviews?

Re: Cumulated Sum

Posted: Wed Oct 28, 2015 6:03 am
by startz
@cumsum