[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Re: dropping cases in hetgrot
Richard A. Williams 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.
Kit Baum replied:
> Modifying the routine to do a preserve at the top and restore at the
> bottom would be a cleaner solution.
Unfortunately, Kit's solution didn't work. I tried it with my own dataset,
running an -xtgls- model of Nationalist voting in Scotland and Wales.
Naturally enough, calling -hetgrot- knocked out the English cases!
I think I'll admit defeat here and simply use -clear-.
CLIVE NICHOLAS |t: 0(44)191 222 5969
Politics Building |e: firstname.lastname@example.org
School of Geography, |f: 0(44)870 126 2421
Politics & Sociology |
University of |
NE1 7RU |
United Kingdom |http://www.ncl.ac.uk/geps
* For searches and help try: