Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | st: using -drop if- with weights |
Date | Mon, 6 Sep 2010 09:32:43 +0100 |
Luis Armando Galvis writes: I have a question I am stuck with. I need to drop observations that are beyond 3 standard errors from the mean of one of the variables. The problem is that using -drop if- will eliminate observations without taking into account the weights and will eliminate more observations than needed. I cannot expand the dataset to 8 million records because of memory issues. My question is if there is a way to do this procedure in a more manageable way. * * 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/