Syntax in Eviews

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

bayu_sutikno
Posts: 12
Joined: Sat Oct 15, 2016 6:29 am

Syntax in Eviews

Postby bayu_sutikno » Sat Oct 15, 2016 7:30 am

please help me because I'm beginner use Eviews. Could you explain to me what's mean of syntax in eviews ? I give you example below.
FEM.ls(c) y? x1? x2? x3? x4? d2? d3? d4? d5? d6? d7? d8? d9? d10? d11?
d12? d13? d14? d15? d16? d17?
vector beta_fem=fem.@coefs
matrix covar_fem=fem.@cov
vector b_fixed=@subextract(beta_fem,2,1,5,1)
matrix cov_fixed=@subextract(covar_fem,2,2,5,5)
REM.ls(r) y? x1? x2? x3? x4?
vector beta_rem=rem.@coefs

Where's part of eviews that I can write syntax above ?
thanks for your goodness

confusedguy
Posts: 5
Joined: Tue Oct 18, 2016 12:34 pm

Re: Syntax in Eviews

Postby confusedguy » Tue Oct 18, 2016 12:52 pm

Hi,

I'm no expert, but here goes:

Looks like you are trying to start programming in eviews.

Go to "file", "new", "program file"

You can put code in there and run it in eviews.

For example the syntax "equation abc.ls y c x"
would estimate an equation y=c+b(x)+u by OLS and name the equation "abc"

Note, for this to work you would have to have an opened eviews file with the series y and x defined.

Best,
CG

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

Re: Syntax in Eviews

Postby EViews Gareth » Tue Oct 18, 2016 1:18 pm

Above poster is correct, although it looks like this particular snippet of code is referring to a pool, not an equation.

bayu_sutikno
Posts: 12
Joined: Sat Oct 15, 2016 6:29 am

Re: Syntax in Eviews

Postby bayu_sutikno » Fri Oct 21, 2016 3:11 am

Yes, right the output above using panel data regression. I wanna calculate the Hausman test

bayu_sutikno
Posts: 12
Joined: Sat Oct 15, 2016 6:29 am

Re: Syntax in Eviews

Postby bayu_sutikno » Fri Oct 21, 2016 3:31 am

Help me please. explain to me about the part of Run Program in eviews. Please see my attachment below
Attachments
Syntax Run.docx
(219.52 KiB) Downloaded 642 times


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests