I have a panel data in eviews, i.e. I have the pooled file with say GDP_AUS, GDP_USA etc. and then I can even stack them into a new page to perform panel data estimation etc.
but what I also want to do is that, for each year of the panel I want to run a cross-section OLS. Say, if I have 20 years, for each of these 20 years, I want to run an cross-country OLS regression. Is there an easy way of doing that from the panel data?
From Panel to Cross-Section
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13608
- Joined: Tue Sep 16, 2008 5:38 pm
Re: From Panel to Cross-Section
In your panel workfile (you said you have both a panel and a pool - for this working with the panel is easiest), simply create an equation and estimate it in the normal way, but set the sample to be 1982 only.
- Attachments
-
- panel.png (74.55 KiB) Viewed 3810 times
Re: From Panel to Cross-Section
now it is done, thank you very much
Who is online
Users browsing this forum: No registered users and 2 guests
