Page 1 of 1

Syntax in Eviews

Posted: Sat Oct 15, 2016 7:30 am
by bayu_sutikno
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

Re: Syntax in Eviews

Posted: Tue Oct 18, 2016 12:52 pm
by confusedguy
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

Re: Syntax in Eviews

Posted: Tue Oct 18, 2016 1:18 pm
by EViews Gareth
Above poster is correct, although it looks like this particular snippet of code is referring to a pool, not an equation.

Re: Syntax in Eviews

Posted: Fri Oct 21, 2016 3:11 am
by bayu_sutikno
Yes, right the output above using panel data regression. I wanna calculate the Hausman test

Re: Syntax in Eviews

Posted: Fri Oct 21, 2016 3:31 am
by bayu_sutikno
Help me please. explain to me about the part of Run Program in eviews. Please see my attachment below