Page 1 of 1

How to input equations in 2sls with 4 equations?

Posted: Thu Mar 28, 2019 2:02 am
by elliask
Hello,
I need to do 2sls analysis with these equations :
gdp = ce + ge + i + x +kgdp
ce = ce(-1) + gdp
i = r + gdp
x = ex + ce + kgdp
Anyone can explain to me how to input the equations and instrument variables? I know that I need to put the 1st equation in the equation box and the rest in the instrument but I can't seem to enter more than 1 line of equation in the instrument box. Any help and advice is appreciated. Thank you.

Re: How to input equations in 2sls with 4 equations?

Posted: Thu Mar 28, 2019 7:50 am
by EViews Gareth
You need to use a System object, not an Equation object.

Re: How to input equations in 2sls with 4 equations?

Posted: Fri Mar 29, 2019 8:02 am
by startz
Or, since TSLS is a single equation estimator, just run four estimates.

Re: How to input equations in 2sls with 4 equations?

Posted: Sat Mar 30, 2019 6:46 am
by elliask
EViews Gareth wrote:You need to use a System object, not an Equation object.

It gives me syntax error or that the first equation is incomplete everytime I use system

Re: How to input equations in 2sls with 4 equations?

Posted: Sat Mar 30, 2019 6:47 am
by elliask
startz wrote:Or, since TSLS is a single equation estimator, just run four estimates.

4 estimates? Can you explain it in more detail?

Re: How to input equations in 2sls with 4 equations?

Posted: Sat Mar 30, 2019 7:02 am
by startz
elliask wrote:
startz wrote:Or, since TSLS is a single equation estimator, just run four estimates.

4 estimates? Can you explain it in more detail?

tsls y1 c x1 @ c z1
tsls y2 c x2 @ z1
tsls y3 x x3 @ z1
tsls y4 c x4 @z1