string showing the "Estimation Equation"

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

string showing the "Estimation Equation"

Postby tvonbrasch » Mon Apr 13, 2015 10:56 am

Hi

Is there a command I can use to get a string showing the "Estimation Equation" (i.e., the equation estimated with coefficients c(1), c(2), etc)?

In the attached workfile the equation object holds an equation estimated with least squares with breaks. Neither the command @varlist nor @spec gives the estimation equation, which i can see from View-Representations:

Estimation Equation:
=========================
DLOG(K6025/K4025) = @BEFORE("2004Q4")*(C(1) + C(2)*(LOG(K6025(-1)/K4025(-1))-LOG(PBK60(-1)/PBK40(-1))) + C(3)*DLOG(PBK40(-2)) + C(4)*DLOG(PBK40(-1))) + @AFTER("2004Q4")*(C(5) + C(6)*(LOG(K6025(-1)/K4025(-1))-LOG(PBK60(-1)/PBK40(-1))) + C(7)*DLOG(PBK40(-2)) + C(8)*DLOG(PBK40(-1)))

Thomas
Attachments
estimation_equation.WF1
(14.05 KiB) Downloaded 235 times

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

Re: string showing the "Estimation Equation"

Postby EViews Gareth » Mon Apr 13, 2015 11:13 am

I don't believe that is accessible, other than by freezing the representations view.

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Re: string showing the "Estimation Equation"

Postby tvonbrasch » Mon Apr 13, 2015 11:15 am

this works,

freeze(auxtest) adl604025.representations
%s=auxtest.@line(7)

but is the "Estimation Equation" always on line 7 for all different possible estimation techniques ?
Thomas

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

Re: string showing the "Estimation Equation"

Postby EViews Gareth » Mon Apr 13, 2015 11:19 am

My gut says no.

I'll see if we can add it as a data member for an upcoming patch.

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Re: string showing the "Estimation Equation"

Postby tvonbrasch » Mon Apr 13, 2015 11:22 am

excellent, thanks :-)
Thomas

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Re: string showing the "Estimation Equation"

Postby tvonbrasch » Tue Apr 14, 2015 10:44 pm

Hi

In the new Eviews version build april 14 it states on the info page that you have "Added an @eqest data member to equations that returns the string representation of the equation's estimates.". But how do you fetch this string?

the command show adl104045.@eqest does not work...?

Thanks for making this command available
Thomas

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: string showing the "Estimation Equation"

Postby EViews Glenn » Wed Apr 15, 2015 7:12 am

Code: Select all

%s = eq1.@eqest

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

Re: string showing the "Estimation Equation"

Postby EViews Gareth » Wed Apr 15, 2015 7:23 am

Actually, I made a mistake in the documentation. It is @esteq not @eqest

tvonbrasch
Posts: 569
Joined: Fri Apr 15, 2011 5:35 am

Re: string showing the "Estimation Equation"

Postby tvonbrasch » Wed Apr 15, 2015 11:35 am

perfect, thanks again
t


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests