Formatted Multiple Equation Output Table

For posting your own programs to share with others

Moderators: EViews Gareth, EViews Moderator

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

Formatted Multiple Equation Output Table

Postby EViews Gareth » Mon Dec 07, 2009 12:24 pm

This program takes the output from the equations in your workfile and formats them into a single table.

Note this program requires EViews 7 or above!
Attachments
single dependent grid.prg
(10.34 KiB) Downloaded 1539 times
Follow us on Twitter @IHSEViews

Alfred
Posts: 4
Joined: Tue Mar 31, 2009 7:10 am

Re: Formatted Multiple Equation Output Table

Postby Alfred » Wed Dec 09, 2009 7:20 am

Very nice !!!

JimForest
Posts: 78
Joined: Thu Oct 16, 2008 7:53 pm
Location: MA

Re: Formatted Multiple Equation Output Table

Postby JimForest » Sat Feb 20, 2010 7:08 pm

Nice program! Very Helpful.

I will get a lot of use out of it. Thanks for posting. Very helpful for us novice programmers to learn from your work.

Is there any way to get it to also give the results for the variance equation in a Garch model?

Other suggested modifications:
options for adding AIC, SIC, Durbin Watson,
Also maybe put estimation type, sample range, and estimation options (Newey/West, White, Bollerslev/Wooldridge) in bottom left corner)

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

Re: Formatted Multiple Equation Output Table

Postby EViews Gareth » Sat Feb 20, 2010 8:35 pm

I believe it does give equation method, as an option.

The others should be fairly easy for you to add yourself - it was posted as an example of EViews programming after all! If you have a go and get stuck, I'm sure I can help out.
Follow us on Twitter @IHSEViews

RobHayward
Posts: 11
Joined: Fri Feb 19, 2010 3:21 am

Re: Formatted Multiple Equation Output Table

Postby RobHayward » Sun Feb 21, 2010 12:01 am

I have UK date format and the code does not like that. Is there a way that I can deal with that without changing my default options? I cannot see anything obvious in the code.

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

Re: Formatted Multiple Equation Output Table

Postby EViews Gareth » Sun Feb 21, 2010 12:20 am

I can't think of any reason why your date format will affect the program. Could you be more specific than "the code does not like that"?
Follow us on Twitter @IHSEViews

RobHayward
Posts: 11
Joined: Fri Feb 19, 2010 3:21 am

Re: Formatted Multiple Equation Output Table

Postby RobHayward » Sun Feb 21, 2010 4:18 am

You're right - I'm sorry.

JimForest
Posts: 78
Joined: Thu Oct 16, 2008 7:53 pm
Location: MA

Re: Formatted Multiple Equation Output Table

Postby JimForest » Tue Feb 23, 2010 2:38 pm

QMS Gareth wrote:I believe it does give equation method, as an option.

The others should be fairly easy for you to add yourself - it was posted as an example of EViews programming after all! If you have a go and get stuck, I'm sure I can help out.


Hi,

I think I can add the other indicators but I can't figure out how to get the GARCH variance equation output to be in the output table. Any advice??

JF

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

Re: Formatted Multiple Equation Output Table

Postby EViews Gareth » Tue Feb 23, 2010 3:02 pm

Well the values you're after are stored in the same place - i.e. the coefficients from the variance equation are stored in @coefs, in the same way the coefficients from the mean equation are. The problem is that the names of the coefficients, which are in %allregs, and are being pulled from the @varlist data member of an equation aren't getting stored, since the @varlist member does not include the variance terms.

I can't think of a general way around that issue. I'll give some thought to adding a new data member that contains the names of the variance equation terms for an update to EViews.
Follow us on Twitter @IHSEViews

crd152
Posts: 1
Joined: Fri Mar 12, 2010 1:04 pm

Re: Formatted Multiple Equation Output Table

Postby crd152 » Fri Mar 12, 2010 1:14 pm

QMS Gareth,

This is a great code. I'm new to programming eViews, but have done much other programming before. I'm currently using eViews 6 instead of 7 -- what pieces of this code depend on functionality specific to version 7? Does it seem reasonable to try to implement this same process in version 6?

Any tips you provide as a place to start would be much appreciated!

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

Re: Formatted Multiple Equation Output Table

Postby EViews Gareth » Fri Mar 12, 2010 1:36 pm

Too much of the code requires the new data members, and workfile lookup functions available in EViews 7. The code would not be possible in EViews 6.
Follow us on Twitter @IHSEViews

wuruonan
Posts: 6
Joined: Tue Jun 01, 2010 2:18 am

Re: Formatted Multiple Equation Output Table

Postby wuruonan » Wed Jun 16, 2010 2:16 am

I have downloaded, I want to thank you for the great effort
I have looked the details, what can I say, unbelievable hard to write
cheers

Cranky-9
Posts: 1
Joined: Mon Sep 05, 2011 2:37 am

Re: Formatted Multiple Equation Output Table

Postby Cranky-9 » Mon Sep 05, 2011 2:39 am

Nice program! Very Helpful.

I will get a lot of use out of it. Thanks for posting. Very helpful for us novice programmers to learn from your work.forest City HS Class of 1975
Last edited by Cranky-9 on Wed Jun 05, 2013 4:51 am, edited 1 time in total.

Girl From Ipanema
Posts: 18
Joined: Fri Mar 04, 2011 7:33 am

Re: Formatted Multiple Equation Output Table

Postby Girl From Ipanema » Fri Jan 25, 2013 3:55 am

Dear, the .prg is not available anymore. Could you see into it? Or possibly provide a link to similar program which creates an output table. This is such a trivial thing, yet very helpful and somehow ignored here on the Forum. Thanks and best wishes!

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

Re: Formatted Multiple Equation Output Table

Postby EViews Gareth » Fri Jan 25, 2013 9:00 am

Download the EqTabs add-in instead. http://www.eviews.com/Addins/addins.shtml It has the same code, but packaged as an add-in. You can always look at the source code, if you want to modify it.
Follow us on Twitter @IHSEViews


Return to “Program Repository”

Who is online

Users browsing this forum: No registered users and 2 guests