[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: data management help
On Oct 4, 2004, at 2:33, Mindy wrote:
piece of cake:
I have a data set with 131,000 firm observations over 14 years.
Individual firms may be in the data set between 1 and 14 times. I want
to keep only those firms that have observations for the entire 14 year
bysort firm: keep if _N==14
A harder problem is to impose a condition like 'companies must have at
least four consecutive years of earnings data.' I have dealt with that
successfully (with a little help from Nick and -tsspell-).
Kit Baum, Boston College Economics email@example.com
* For searches and help try: