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: RE: how to transform a string variable to a numeric variable?


From   "Vassilopoulos Achilleas" <[email protected]>
To   <[email protected]>
Subject   st: RE: how to transform a string variable to a numeric variable?
Date   Mon, 31 Oct 2011 18:45:51 +0200

Hi Qian,

-destring- is what you're looking for.

Hope this helps,
Achilleas

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of econqian
Sent: 31 October, 2011 18:40
To: [email protected]
Subject: st: how to transform a string variable to a numeric variable?

Hi, all
   I wonder how to transform a string variable to a numeric variable in
stata?

Thanks,
Qian

--
View this message in context:
http://statalist.1588530.n2.nabble.com/how-to-transform-a-string-variable-to
-a-numeric-variable-tp6948820p6948820.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/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