Hello,
Can anyone tell me how to use Eviews generating a series defined by the D.G.P.,yt=yt-4 + εt , where εt is IID(0,1). I tried the following code, but it seems not to work because it generates a lot of NA.
smpl 1 1
genr y=0
smpl 2 80
series y = y(-4) + nrnd
Thanks,
Alan Yu
how to use Eviews generating a series defined by the D.G.P.,
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: how to use Eviews generating a series defined by the D.G.P.,
You've got the right idea, but rather than starting at the 2nd observation, you need to start at the 5th, since you have a 4 period lag in the process rather than a 1.
Re: how to use Eviews generating a series defined by the D.G.P.,
Yes,it work. Thanks a lot!You've got the right idea, but rather than starting at the 2nd observation, you need to start at the 5th, since you have a 4 period lag in the process rather than a 1.
Alan Yu
Who is online
Users browsing this forum: No registered users and 2 guests
