![]()  | 
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: replace command
From 
 
[email protected] 
To 
 
[email protected] 
Subject 
 
Re: st: replace command 
Date 
 
Mon, 8 Oct 2007 11:47:04 -0300 (BRT) 
Ziad,
I think you want to use "and", which is represented by &. For example:
. replace weightcat = 1 if  weightcat <= 90&weightcat>80
typing
. replace weightcat = 1 if  weightcat <= 90|weightcat>80
is the same that:
. replace weightcat = 1.
Tiago
*
*   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/
| © Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |