Bookmark and Share

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

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

Re: st: Keep/Drop Observations for Top/Bottom X%

From   Maarten Buis <>
Subject   Re: st: Keep/Drop Observations for Top/Bottom X%
Date   Thu, 11 Oct 2012 12:07:43 +0200

On Thu, Oct 11, 2012 at 11:54 AM, Justina Fischer  wrote:
> in principle you might be right.
> However, for reasons of practicability it is sometimes recommendable for subset analysis to simply upload the full data and drop a part rather than working with an 'if' restriction throughout all regressions.

It is largely a matter of style. I like the principle of keeping your
data as much as possible intact, and I thus prefer the -if- route over
the -keep- route. Using if selections throughout my analysis has
become natural for me, and even desirable as a constant reminder of
which sub-sample I am working on. The main reason why I sometimes
deviate from that default is when the data is so large (e.g. Census
data) that it becomes unmanageable.

-- Maarten

Maarten L. Buis
Reichpietschufer 50
10785 Berlin
*   For searches and help try:

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