Hi all,
I have a time series from 1960-2014. I would like to split the series in 4 parts (1960-1972, 1972-1984,1984-1996,1996-2008) and estimate the same equation (I=y+irl) for all of the periods.
does anybody knows a loop or a program that does all these steps? I have just no idea where to start.
thx
YK
Split a time series and estimate the same equation
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Split a time series and estimate the same equation
For just four samples like that, I wouldn't bother with a loop.
Code: Select all
smpl 1960 1972
equation eq1.ls l y irl c
smpl 1972 1984
equation eq2.ls l y irl c
smpl 1984 1996
equation eq3.ls l y irl c
smpl 1996 2008
equation eq4.ls l y irl c
smpl @all
show eq1
show eq2
show eq3
show eq4
Who is online
Users browsing this forum: No registered users and 1 guest
