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: variable algorithm


From   Marcello Pagano <[email protected]>
To   [email protected]
Subject   Re: st: variable algorithm
Date   Sun, 13 Feb 2011 11:19:47 -0500

Dear Jet,

Please do your homework by yourself.

m.p.


On 2/13/2011 11:12 AM, Jet wrote:
Dear Statalisters:

       I am to convert nine variables into a new variable with three
categories ( X1 X2 .... X9, each variable coded 0, 1, 2 3, thus
ranging from 0-27). The rules of converting into into three categories
are as follows:

       Category 1: MDD if X1 or X2>=2 AND 5 or more other variables>=2;
       Category 2: OTHER if X1 or X2>=2 AND 2, 3, 4 variables>=2;
       Category 3: NEITHER if neither of the above conditions are met.

    thank you very much.

   Jet

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


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