Page 1 of 1

Naming pool equations

Posted: Thu Nov 13, 2014 9:00 am
by ivo
I am trying to use the "eqtabs" conmmand for pool equations.
I could use it for time series but not for pool yet.
It seems that the main reason is because I could not save the results of the pool estimations in “equation” format, but only in “table” format using the command “freeze”.
Any advice? Many thanks.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:02 am
by EViews Gareth
Pool objects are pool objects. They are not equation objects. Thus you can't use the eqtabs addin on them. It only works with equations. Not pools.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:11 am
by ivo
Thanks for the quick response. Is there another way to combine in one table results from a few pool estimations?

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:16 am
by EViews Gareth
You'll have to build up the table yourself. You could look through the eqtabs addin to see how it does it with equations, then apply the same idea to pools.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:26 am
by ivo
Not sure I understand. Do you have any codes you can share.
Alternatively, can we extract p-values, R2 and number of observations from a pool estimation results? I could extract the coefficient estimates using @coefs() and placed them in a table I created myself.
That said, a command equivalent to "eqtabs" or codes that lead to the same results for pool estimations would be very helpful.
Thanks.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:28 am
by EViews Gareth
You can look at the eqtabs code by opening the program up in EViews.

The list of data members available for a pool is available in the Object Reference (at the start of the Pool section).

Re: Naming pool equations

Posted: Thu Nov 13, 2014 9:56 am
by ivo
Thanks for the quick response.
How can I open the codes for "eqtabs"?
I could not find a reference to p-values in the data pool members. By chance do you have the codes to derive the p-values from @tstats(i).

Re: Naming pool equations

Posted: Thu Nov 13, 2014 10:13 am
by EViews Gareth
File->Open->Program, then navigate to the location where you installed the add-in and select the file to open.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 12:16 pm
by ivo
I am trying to solve the problem in a different.
I will try to extract the coefficients and and t-stats and place them on a table that I will create myself.
To extract the coefficient, I am using
!cffl1=pool1.@coefs(2)
but it does not work. (pool1 is the pool name.
Could you please let me know how to extract coefficients from a pool-based estimated equation?
For the p-values, is the following command correct? !pval = 2*(1-@cnorm(@abs(!tstat)))
Many thanks.

Re: Naming pool equations

Posted: Thu Nov 13, 2014 12:20 pm
by EViews Gareth
Your syntax for grabbing the coefficient is correct.

The easiest way to check whether your pvalue calculation is correct is to check it against the pvalues reported in the pool. If you're getting the same numbers as reported in the pool output, chances are you're doing the correct calculation :D

Re: Naming pool equations

Posted: Thu Nov 13, 2014 12:46 pm
by ivo
Thanks