store information in excel

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

store information in excel

Postby Nau2306 » Tue Jul 31, 2012 6:51 am

Hello,

Given the following output after ARCH estimation, I would like to know if there is a way to store only the likelihood value, AIC, SC and HQ criteria in an excel spreadsheet so that after many such estimations, a comparison can be made?


Dependent Variable: RETURNS
Method: ML - ARCH
Date: 07/11/12 Time: 10:14
Sample (adjusted): 1/02/2000 6/30/2012
Included observations: 4564 after adjustments
Convergence achieved after 7 iterations
Presample variance: backcast (parameter = 0.7)
GARCH = C(2) + C(3)*RESID(-1)^2

Variable Coefficient Std. Error z-Statistic Prob.

C 9.857087299728363e-06 5.584581620299582e-05 0.1765053851822759 0.8598969183342954

Variance Equation

C 1.789775245293455e-05 1.34856074245402e-07 132.7174363712043 0
RESID(-1)^2 0.2915317251382015 0.01230128545687956 23.69928948971433 3.66702739465484e-124

R-squared -4.714004302885932e-05 Mean dependent var 4.342946425606374e-05
Adjusted R-squared -0.0004856610428283226 S.D. dependent var 0.004890290821214563
S.E. of regression 0.004891478188937484 Akaike info criterion -7.898069541094645
Sum squared resid 0.109129035019074 Schwarz criterion -7.893845644483571
Log likelihood 18026.39469277798 Hannan-Quinn criter. -7.896582270995657
Durbin-Watson stat 2.342273833789646


Thanks

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

Re: store information in excel

Postby EViews Gareth » Tue Jul 31, 2012 8:54 am

Put those things into a matrix object in your workfile, as outlined in numerous examples on the forum, or in the guide:
http://forums.eviews.com/viewtopic.php?f=5&t=1638

Once you have them in a matrix, use matrix.write to save it as an Excel file.

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

Re: store information in excel

Postby Nau2306 » Tue Jul 31, 2012 10:09 pm

Hello

Thanks a lot for the answer. It has been very helpful. But I still cannot access the p value of the coefficients. Is there a function for it?

Thanks

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

Re: store information in excel

Postby Nau2306 » Wed Aug 01, 2012 12:02 am

I think I have got the answer, I just need to freeze the estimation result table and then access the p value :)

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

store information in excel

Postby EViews Gareth » Wed Aug 01, 2012 4:44 am

Probably easier to just calculate the p-values from the stored t-stats and DF.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest