Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Data Manipulation Question


From   Phil Schumm <[email protected]>
To   <[email protected]>
Subject   Re: st: Data Manipulation Question
Date   Thu, 19 Sep 2013 21:26:44 -0500

On Sep 19, 2013, at 9:15 PM, Phil Schumm <[email protected]> wrote:

<snip>

>    q2 = q1 + 1 & pswitch1>=float(0.8) & pswitch2>=float(0.8)


Oops -- this should of course be


    (q2==q1 + 1) & pswitch1>=float(0.8) & pswitch2>=float(0.8)


-- Phil

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index