Entering "help operators" at the command prompt shows that Stata
understand "or" to be represented as "|".
Best,
Alan
On 10/8/07, Ziad El-Khatib <[email protected]> wrote:
> Hi again
> i created new variable for weight, called weightcat and wants to replace is as
> replace weightcat = 1 if weight <= 90 or weight >= 80
>
> STATA gives 'invalid or', any kind tips about how to make such condition?
>
>
> Thank you in advance and best regards
> ziad
> *
> * 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/
>
*
* 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/