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

st: Panel data sorting


From   "Bradley, Steven W" <swb@indiana.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Panel data sorting
Date   Fri, 19 Aug 2005 00:21:03 -0500

I have a large company data base in which I have the following 
variables among others:  Company ID (ID), Age (age), Year (Year).  

I have data from 1992-2002 and would like to keep a cohort of data for 
companies that were started in 1994.  Therefore, I generated a new 
variable that combines Age and Year (ageyear) to identify those 
companies started in that year.  However,I cannot seem to devise a way 
to keep data for those companies for subsequent years. Any help would 
be appreciated!

Regards,

Steve Bradley
Indiana University




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