Nick Cox replied:
>> > I can't reproduce your results here. I get
>> > the same results as Scott. Your logic that
>> >
>> > 0 & 0 & 1 == 1
>> >
>> > is not the same as Stata's (or Boole's).
>> > In other words, my code appears equivalent
>> > to Scott's.
>> >
>> > That's using in this example
>> >
>> > gen nmark = natch < . & ednatch < . & marker != 0
> There's nothing odd about it at all.
No. I meant that it's odd that the two solutions produced differences in
output such as that I displayed a couple of posts ago. If you want
confirmation of what I found, you're more than welcome to have a copy of
my dataset so that you can reproduce it for yourself.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: [email protected]
Newcastle University |http://www.ncl.ac.uk/geps
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/