Statalist The Stata Listserver


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

Re: st: Dropping/Keeping observations


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Dropping/Keeping observations
Date   Sat, 22 Apr 2006 16:50:59 +0100 (BST)

I was not exactly sure about what Gauri wanted to do with these observations sso I thought to give
her multiple options to choose from. 
 
--- Michael Blasnik <[email protected]> wrote:
> This approach will also drop the multiple observations for all of the other 
> farmerIDs.  Why not just:
> 
> bysort farmerID: drop if _N==1


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


		
___________________________________________________________ 
Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. http://uk.mail.yahoo.com
*
*   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