I am trying to re-allocate my data, here is my HW question..
Generate two time trends TIMEt = t and TIMENt = t - 1. That is, TIME = 1 and TIMEN = 0 in 1960Q1, TIME = 2 and TIMEN = 1 in 1960Q2. and so on.
Run a regression of yt on TIMEt and TIMENt.
I am stuck in generating new variable, re-allocating data of 1960Q1 to 1960Q0, 1960Q2 to 1960Q1, 1960Q3 to 1960Q2, and so on..
re-allocating data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Re: re-allocating data
Here's the Eviews file with rGDP data that i am dealing with, just in case..
- Attachments
-
- HW1Q3.wf1
- rGDP
- (11.77 KiB) Downloaded 165 times
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: re-allocating data
Code: Select all
series time = @trend+1
series timen = @trendCode: Select all
series time = @trend+1
series timen = time(-1)Who is online
Users browsing this forum: No registered users and 2 guests
