-tabstat id, stat(N) by(id)-
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Shuaizhang Feng
> Sent: Thursday, July 28, 2005 1:43 PM
> To: [email protected]
> Subject: st: a question about panel data
>
> Dear Stata Users:
>
> I have a panel data with i is id (person) and t is
> year. Suppose I have only three years. Since I have a
> unbalanced panel, I want to find how many persons (i)
> have only 1 year's data, and how many have only 2
> years' data, and how many have 3 years data.
>
> Is there a convenient way to do this in Stata? Thanks
> for your help in advance.
>
> Shuaizhang
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
> *
> * 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/
*
* 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/