Hi There,
This is something that can easily be done in Excel, but I couldn't figure how to do it in Eview.
Assume I have a series y and I generate another series dy = y - y(-1). The question is if I only know the initial value of y, how I can reconstruct y from the dy series?
Thanks,
Ali.
Obtaining Original Data from diff series
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Non-normality and collinearity are NOT problems!
- Posts: 3775
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Obtaining Original Data from diff series
alirezan321 wrote:Hi There,
This is something that can easily be done in Excel, but I couldn't figure how to do it in Eview.
Assume I have a series y and I generate another series dy = y - y(-1). The question is if I only know the initial value of y, how I can reconstruct y from the dy series?
Thanks,
Ali.
enter the initial value of y. Then
Code: Select all
smpl 2 @last
y = dy + y(-1)
-
- Posts: 13
- Joined: Tue Feb 17, 2009 9:28 pm
Re: Obtaining Original Data from diff series
Thanks a lot.
Is it possible to write this as a link object, so it would automatically update itself if dy changes?
Is it possible to write this as a link object, so it would automatically update itself if dy changes?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Obtaining Original Data from diff series
Unfortunately since you need an initial value for Y, you can not express Y as an automatically updating formula.
Follow us on Twitter @IHSEViews
-
- Posts: 13
- Joined: Tue Feb 17, 2009 9:28 pm
Re: Obtaining Original Data from diff series
Is it possible to define a sequence of commands as a Macro? And then run the Macro with new parameters.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Obtaining Original Data from diff series
You can write a program...
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 21 guests