Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: dropping all years of id


From   "Thomas Erdmann" <[email protected]>
To   <[email protected]>
Subject   st: dropping all years of id
Date   Wed, 17 Jan 2007 22:48:29 +0100

As I have sent this 2 hours ago and it didn't arrive at the list I give it
another shot: 
 

Hi-

I have tsset my data (15 years). For one indicator (independence) I have
only data for the last 4 years. I'd like to drop each company where the
indicator is below some bound (e.g. 0.2) in the fours years I have data
available.

But
Drop if freefloat<=0.2 & year==2005 

Doesn't work because if the condition is true for all of the four years I'd
like to remove the company completely from the data (for ALL years).

Thanks for your feedback.
- Tom



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index