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?
Cumulated Sum
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3798
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Cumulated Sum
@cumsum
Who is online
Users browsing this forum: No registered users and 2 guests
