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
How very odd. :( Oh well, at least Scott's routine produces what I want,
so I'll run with his (as well as reading up on the attached).
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/