Hi, I'm wondering how to create a series with the following equation in EViews.
X(t) = X(t-1) * (200+Y(t))/(200-Y(t)), setting the intital value of X(1) = 100.
Dan
computing the index
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: computing the index
First create the series X.
Then open it in a spreadsheet view and type 100 as the first entry. Then give the commands
Code: Select all
series x
Then open it in a spreadsheet view and type 100 as the first entry. Then give the commands
Code: Select all
smpl 2 @last
x = x(-1)*(200+y)/(200-y)
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Re: computing the index
alternatively, just type the following commands
Code: Select all
series x=100
smpl 2 @last
series x = x(-1)*(200+y)/(200-y)
smpl @all
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 14 guests