Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Transforming panel data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Transforming panel data
Date   Mon, 18 Nov 2002 13:27:37 -0000

Laurence Rambert

> Can anyone help me to transform my data?
> I have panel data with:
> iis firm number as identification number
> tis year
> some variables like employment...
> 
> I would like first to transform my data in the following way:
> iis Region
> tis year
> For this purpose I need to sum up employment in firms 
> belonging to each region
> 
> I would like to transform at least  my data in the following way:
> iis (Region and Industry)
> tis year
> For this purpose I need to sum up employment in firms 
> belonging to each industry in each region
> 

Check out 

-collapse- (type -help collapse-) 

-tscollap- (type -findit tscollap-) 

Nick 
n.j.cox@durham.ac.uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index