this would be a NOT XOR operator (ignorant on whether Stata has one),
but here their sum should be !=1
On Tue, Mar 18, 2008 at 11:55 AM, Olga Lyashevskaya
<[email protected]> wrote:
> Dear all,
>
> There are two binary variables in my sample, where 1
> is presence and 0 is absence of the particular
> characteristic. I want to identify those cases where I
> get either both 0's or both 1's
>
> Any suggestions?
>
> Thank you in advance,
> Olga
>
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> *
> * 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/