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!
Eviews Usage
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Eviews Usage
Assuming that your first equation is called eq1:
Code: Select all
series a1x1 = eq1.@coef(2)*x1
series a2x2 = eq1.@coef(3)*x2
Who is online
Users browsing this forum: No registered users and 2 guests
