GMM in cross-sectional regressions

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

selin1000
Posts: 40
Joined: Tue Mar 06, 2012 1:56 pm

GMM in cross-sectional regressions

Postby selin1000 » Fri Aug 03, 2012 3:09 am

Good morning,

How can i run *cross-sectional* regressions using a GMM framework in Eviews? I have pooled my variables but the only methods I see available are LS and TSLS. How do I perform a GMM? I also would like to compute Standard Errors using the Newey and West method.

Thank you very much! :)

Selin

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

Re: GMM in cross-sectional regressions

Postby EViews Gareth » Fri Aug 03, 2012 6:29 am

Slightly confused by your question. If you want to do cross-sectional estimation, why have you pooled your data? Do you actually want to do panel estimation?

selin1000
Posts: 40
Joined: Tue Mar 06, 2012 1:56 pm

Re: GMM in cross-sectional regressions

Postby selin1000 » Fri Aug 03, 2012 8:53 am

Hey Gareth, thanks a lot for your prompt reply. I have time-series data for 100 stocks. For each stock there is a series like return, volume, etc for the same time period. I am running cross-sectional regressions for different groups of stocks, so I need to transform my series into *panel* data? (I am actually new at cross-sectional regressions in Eviews. I thought I should pool my series to run cross-sectional regressions easily)
If I transform my data into panel data, how do I perform GMM?

Thanks a lot again! :)

Selin

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

Re: GMM in cross-sectional regressions

Postby EViews Gareth » Fri Aug 03, 2012 9:18 am

I'm confused by your use of the word "cross-sectional". Cross-sectional data doesn't have time periods. Do you want to estimate using a single time period?

Or do you want to estimate using both your time dimension and the cross-section dimension at the same time?

selin1000
Posts: 40
Joined: Tue Mar 06, 2012 1:56 pm

Re: GMM in cross-sectional regressions

Postby selin1000 » Fri Aug 03, 2012 11:07 am

I have a *single* time period (my time-series are given for the same dates and for the exact same period). I want to estimate using the cross-section dimension.
(I form 10 portfolios with the 100 stocks in my data set. Each portfolio consists of ten stocks. For example, I want to estimate how volume affects returns using these ten portfolios with GMM method.)

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

Re: GMM in cross-sectional regressions

Postby EViews Gareth » Fri Aug 03, 2012 11:50 am

Given the current state of your data, this might be a little tricky. Essentially you'll have to convert from a pool workfile into a panel workfile, and then create a cross-section workfile and copy the data from the panel workfile to the cross-section workfile for the given date.

http://forums.eviews.com/viewtopic.php?f=7&t=74

selin1000
Posts: 40
Joined: Tue Mar 06, 2012 1:56 pm

Re: GMM in cross-sectional regressions

Postby selin1000 » Fri Aug 03, 2012 1:01 pm

Thank you so much! I will try it now. :) Have a great day!


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests