Looping estimation to generate a new series

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

marat101
Posts: 5
Joined: Thu Apr 09, 2015 11:35 pm

Looping estimation to generate a new series

Postby marat101 » Sat Apr 11, 2015 11:42 pm

I am estimating a panel dataset of industry data and one of the elasticity parameter estimates measures of competitive dynamics. I would like to create a new series based on this estimate for each financial year (using quarterly data). My question is two fold.
1) Is there a way to loop the equations estimation across progressive sample periods (estimate perod 1-4, period 5-8 etc) to obtain the estimated elasticity parameter in each period.
2) Copy the relevent estimated elasticity for each of the regressions into a new time series (create a new time series based on the estimates).

Would appreciate your help. Given the number of periods and permutations, it is time prohibitive.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Looping estimation to generate a new series

Postby EViews Gareth » Sat Apr 11, 2015 11:48 pm

Do a search for rolling regression here on the forum.

marat101
Posts: 5
Joined: Thu Apr 09, 2015 11:35 pm

Re: Looping estimation to generate a new series

Postby marat101 » Sun Apr 12, 2015 12:01 am

Thanks, I just found it and wanted to reply I found it. There is an add-in for it as well.
Looking for the word "Looping estimation" in this context was not productive.

Thanks Gareth for the very quick response.

marat101
Posts: 5
Joined: Thu Apr 09, 2015 11:35 pm

Re: Looping estimation to generate a new series

Postby marat101 » Wed Apr 15, 2015 9:16 pm

Gareth,
Noticed that rolling reguression ad-ons did not apply to panel data and this has been an issue for a while according to the forum.

Is there any code available. I looked, but could not find any.

Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Looping estimation to generate a new series

Postby EViews Gareth » Thu Apr 16, 2015 7:55 am

It should not be too difficult to modify existing rolling regression code to handle panels.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests