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]

st: factor variables may not contain negative values


From   malay biswas <[email protected]>
To   [email protected]
Subject   st: factor variables may not contain negative values
Date   Fri, 16 Aug 2013 16:22:41 +0530

Dear All,
Could please tell meas to how stata operates in the following situation.

I have data set containing codes for missing data and other contingencies.

Yes= 1
No = 2
Do Not Know = -9 (Minus)
Still in Progress= -6(Minus)

When conducting interaction with other variables having similar coding
arrangements, I get stata notification that "factor variables may not
contain negative values."

Could you please tell me what is happening?

Thank you for your continued support.
Regards
Malay
*
*   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