Page 1 of 1

Eviews Usage

Posted: Mon Aug 08, 2011 1:39 am
by michelleli
Hi :
I have a question regarding the Eviews usage.
The first regression I run is : y= a0 + a1 X1 + a2 X2 + error
where X1 and X2 comprise of a number of variables that contribute to y, but falls into different categories.

The second regression I want to run is

U = c0 + c1 (a1X1) + c2 (a2X2) + c3 h1 + error
where a1X1 and a2X2 are from the first equation.

My question is how can I get a1X1 and a2X2 from the first regression output.

Thanks!

Re: Eviews Usage

Posted: Mon Aug 08, 2011 7:51 am
by EViews Gareth
Assuming that your first equation is called eq1:

Code: Select all

series a1x1 = eq1.@coef(2)*x1 series a2x2 = eq1.@coef(3)*x2