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: Re: converting string to numerals
From
manon <[email protected]>
To
[email protected]
Subject
st: Re: converting string to numerals
Date
Sun, 5 Jan 2014 14:14:47 -0800 (PST)
Hey,
I am new to Stata, so I may be wrong, but I think you could try downloading
the "egenmore" package.
I know the function " ntos(numvar) , from(numlist) to(list of string
values)" would allow you to go from "-2", "-1" etc. to "strongly disagree,
disagree" etc.
You should look at the package in detail, and hopefully you'll find a
function that allows you to do the reverse!
Good luck!
--
View this message in context: http://statalist.1588530.n2.nabble.com/converting-string-to-numerals-tp7580454p7580471.html
Sent from the Statalist mailing list archive at Nabble.com.
*
* 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/