Descriptive statistics for stacked panel data

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

btretter
Posts: 2
Joined: Sun Apr 07, 2013 5:18 pm

Descriptive statistics for stacked panel data

Postby btretter » Sun Apr 07, 2013 5:25 pm

How do you find the descriptive statistics for individual cross sections when the observations are sequential stacked format.
Therefore each country, for instance, is id'ed by the number before the year. Therefore 1-95, 1-96, 1-97, 1-98, 2-95,2-96 and so on. How can i limit the sample to 1-95 - 1-99?

Thank you

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

Re: Descriptive statistics for stacked panel data

Postby EViews Gareth » Sun Apr 07, 2013 6:04 pm

If you're just interested in a single cross-section, you can do:

Code: Select all

Smpl if @crossid=1
Etc...

To see statistics by cross-section simultaneously, open the series and use View->Descriptive Statistics->Stats by classification, and use "@crossid" as the "Series/Group for classify".

btretter
Posts: 2
Joined: Sun Apr 07, 2013 5:18 pm

Re: Descriptive statistics for stacked panel data

Postby btretter » Mon Apr 08, 2013 4:53 am

Thank you very much.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests