Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: FW: How to keep only firms that have at least two consecutive years of data


From   umut senalp <[email protected]>
To   <[email protected]>
Subject   st: FW: How to keep only firms that have at least two consecutive years of data
Date   Thu, 5 Jul 2012 17:04:59 +0300

Dear Statalist,
I have a panel of 1250 units (firms) and five variables (with missing values), for the time period of  2003 to 2011. I would like to keep only firms that have a minimum of 2 consecutive annual observations for all variables together. I would be glad if you could help me to write a code for it.
Regards
Umut 		 	   		   		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index