Looping estimation to generate a new series
Posted: 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.
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.