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

st: RE: repeated time unbalanced panel data


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: repeated time unbalanced panel data
Date   Sun, 3 Oct 2004 18:36:13 +0100

I think you need to tell us how multiple observations with 
the same year and id are to be collapsed into one. 

Nick 
n.j.cox@durham.ac.uk 

Paulo Loureiro
> 
> Applying this same syntax (sort variables -very small data 
> base) on a bigger 
> data base, does not have effect. For example: I have about 
> 4157 repeated 
> time unbalanced panel data (pooled data). N=4157 and T=18. 
> Years: 1981-2001, 
> excepts 1991,1994,2001).
> 
> 
> This data base represents only 5% of the sample.
> 
> I apologize for sending in this data base
> 
> 
> 
> 
> 
> year	id	son06	age2	age	educ	lnwage	     
> ageeduc	hrs 
> 1992	1	0	26	26	16	11.30713	
> 416	80
> 1992	1	1	31	31	16	10.73493	
> 496	160
> 1992	1	0	31	31	12	9.846724	
> 372	160
> 1992	1	0	25	25	16	11.6638	400	160
> 1992	1	0	31	31	16	11.6638	496	24
> 1992	1	0	27	27	16	11.37612	
> 432	232
> 1992	1	0	32	32	16	11.1938	512	180
> 1992	1	0	30	30	15	11.37612	
> 450	120
> 1992	1	0	26	26	5	9.989824	
> 130	240
> 1992	1	0	23	23	16	11.55844	
> 368	144
> 1992	1	1	22	22	10	9.989824	
> 220	104
> 1992	1	0	31	31	12	10.45983	
> 372	160
> 1992	1	0	24	24	16	11.92616	
> 384	144
> 1992	1	0	22	22	16	12.10189	
> 352	120

< snip > 

> in the form of repeated time unbalanced panel data in series of time.
> Data should be in long format:
> 
> 
> year	id	son06	age2	age	educ	lnwage	     
> ageeduc	hrs 
> 1992	1	0	22	22	16	12.10189	
> 352	120

< snip > 

*
*   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