Will you please help me to know that what I am doing is right? To eliminate
outliers, I am trying to drop 1% of the observations with the lowest values.
To do so I use 'bysort entity (rcon1410a): drop if rcon1410a[_N] <=
0.0388193'. Note that 'entity' is id, 'rcon1410a' is the relevant variable,
and 1% of the observations has a value that is lower than 0.0388193 (this
value is obtained from 'sum rcon1410a, detail'). Since I have 415,000
observations, I should be dropping 1%*415,000=4,150. Nevertheless, Stata
informs me that using the abovementioned command I have dropped 400
observations. Is this all right? Thanks in advance.
Miguel Angel.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/