storing coefficients and errors for panel data
Posted: Thu Jun 08, 2017 5:27 am
Hello,
I just went through the introduction to EViews programming and I am aware of the extensive examples about storing coefficients and statistics of multiple regressions. However I want to store coefficients of multiple runs of the same regressions with different companies over different timespans.
So I have data availible and am able to create a matrix to store the coefficients in, however I cannot figure out how to run equations with panal data.
I have a few questions.
The first is how can I run seperate regressions for different series in a panel. The panel is structured as follows for 600 companies over 5 years within the variable. So the price variable has all the prices for different companies on different time (which is the definition of a panel data set)
CopanyID_dd/mm/yyyy
I want to run the following regression and store the coefficients and standard error of the regression for every individual company per year.
What code can I use to distinguish between companies and different years?
My second question what the code is for storing standard errors
I know for coefficients it would be
colplace(coefs, eq.@coefs,)
what would be the @ code for the standard error of the regression. would it be @se?
Thanks in advance
Jorrit van der Windt
I just went through the introduction to EViews programming and I am aware of the extensive examples about storing coefficients and statistics of multiple regressions. However I want to store coefficients of multiple runs of the same regressions with different companies over different timespans.
So I have data availible and am able to create a matrix to store the coefficients in, however I cannot figure out how to run equations with panal data.
I have a few questions.
The first is how can I run seperate regressions for different series in a panel. The panel is structured as follows for 600 companies over 5 years within the variable. So the price variable has all the prices for different companies on different time (which is the definition of a panel data set)
CopanyID_dd/mm/yyyy
I want to run the following regression and store the coefficients and standard error of the regression for every individual company per year.
What code can I use to distinguish between companies and different years?
My second question what the code is for storing standard errors
I know for coefficients it would be
colplace(coefs, eq.@coefs,)
what would be the @ code for the standard error of the regression. would it be @se?
Thanks in advance
Jorrit van der Windt