Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: dropping cases in hetgrot

From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: dropping cases in hetgrot
Date   Wed, 10 Mar 2004 16:09:49 -0500

On Mar 9, 2004, at 2:33 AM, Richard wrote:

This part of the code would seem to be the obvious candidate:

drop if e(sample)==0
If this is the culprit and you don't want the cases dropped, either (a)
rewrite the code using if statements to always select those cases in
e(sample), or (b) just reopen your data set at the end.
Modifying the routine to do a preserve at the top and restore at the bottom would be a cleaner solution.


* For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index