Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Winning and losing


From   dr kardos lászló <kardosl@delfin.unideb.hu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Winning and losing
Date   Fri, 21 Nov 2003 12:54:43 +0100

clive,

stata reads

-g conwin=0 if conpc > labpc & ldmpc & natpc & othpc-

as

-g conwin=0 if conpc > labpc & ldmpc>0 & natpc>0 & othpc>0-

so what u need is
-g conwin=0 if conpc > labpc & conpc>ldmpc & conpc>natpc & conpc>othpc-

but i dont get it, if conpc is greater than any of the rest percentages,
should conwin be set to 1 straight away?

it is hard to vote lab these days anyway, so better be careful with that ;-)

laszlo

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index