Hi!
I wonder how to generate a time-varying constant series such as
y=1, if 1999M1--2009M1
y=2, if 2009M2--2013M3
y=3, if 2013M4--2018M1
......
Thanks
Time Varying constant
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: Time Varying constant
kpr wrote:I wonder how to generate a time-varying constant series such as
y=1, if 1999M1--2009M1
y=2, if 2009M2--2013M3
y=3, if 2013M4--2018M1
Code: Select all
smpl 1999M1 2009M1
series y = 1
smpl 2009M2 2013M3
y = 2
smpl 2013M4 2018M1
y = 3
smpl @all
Re: Time Varying constant
So it seems not possible to avoid using SMPL so many times. Thanks for the reply.
Who is online
Users browsing this forum: No registered users and 7 guests