Page 1 of 1

Looping estimation to generate a new series

Posted: Sat Apr 11, 2015 11:42 pm
by marat101
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.

Re: Looping estimation to generate a new series

Posted: Sat Apr 11, 2015 11:48 pm
by EViews Gareth
Do a search for rolling regression here on the forum.

Re: Looping estimation to generate a new series

Posted: Sun Apr 12, 2015 12:01 am
by marat101
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.

Re: Looping estimation to generate a new series

Posted: Wed Apr 15, 2015 9:16 pm
by marat101
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

Re: Looping estimation to generate a new series

Posted: Thu Apr 16, 2015 7:55 am
by EViews Gareth
It should not be too difficult to modify existing rolling regression code to handle panels.