Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: using -drop if- with weights


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index