Cross-section specific partial regression estimation

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

ank
Posts: 4
Joined: Tue Jun 09, 2009 8:49 am

Cross-section specific partial regression estimation

Postby ank » Tue Jun 09, 2009 8:59 am

Can anyone please tell me how can I estimate in eviews a panel regression with cross-section specific coefficients?

Thank you!

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

Re: Cross-section specific partial regression estimation

Postby EViews Gareth » Tue Jun 09, 2009 9:07 am

The easiest thing to do is to use a Pool rather than a Panel.

However if you want to stick to a panel workfile, the only way to do it is by creating the cross-section dummies manually and then multiplying them by the regressors.

Something like:

Code: Select all

ls y @expand(@crossid) @expand(@crossid)*x1 @expand(@crossid)*x2

ank
Posts: 4
Joined: Tue Jun 09, 2009 8:49 am

Re: Cross-section specific partial regression estimation

Postby ank » Tue Jun 09, 2009 9:57 am

I know it's a silly question..but how do I create cross-section dummies manually? (i'm sorry to bother with this kind of question but i didn't find it on the net)
Thank you again!

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

Re: Cross-section specific partial regression estimation

Postby EViews Gareth » Tue Jun 09, 2009 10:00 am

Code: Select all

@expand(@crossid)

ank
Posts: 4
Joined: Tue Jun 09, 2009 8:49 am

Re: Cross-section specific partial regression estimation

Postby ank » Tue Jun 09, 2009 10:07 am

Thank you very much! I was trying to do that in eviews 5 and it gave me an error, but I see that in eviews 6 it worked.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests