Hello. It's my first time to use EViews and there are so many difficulties dealing with this program.
I want to make one time series set and it follows AR(1) process.
It means I only have an initial value(i.e. y(0)=0)
and using some equation (i.e. y(t)=3*y(t-1)+24/5)
I want to make whole time series from 2000m01 to 2020m12.
I tried "for" and "if" command but failed to get the result.
If anyone here can help me to solve this problem?
Loop function for AR(1) series
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
startz
- Non-normality and collinearity are NOT problems!
- Posts: 3797
- Joined: Wed Sep 17, 2008 2:25 pm
Re: Loop function for AR(1) series
Code: Select all
smpl 2000m01 2020m12
series y = 0
smpl 2000m02 2020m12
y = 3*y(-1) + 24/5
smpl 2000m01 2020m12
Who is online
Users browsing this forum: No registered users and 2 guests
