Archives for the Date April 2nd, 2009

Logical operators

This really should go under "more gems from the User's Guide". If you come to Stata like I did, with minimal previous experience with any kind of computer programming, you might not know this: When you combine !, & and | (the logical operators NOT, AND and OR) in an expression you will want to [...]