Try destring.
F.B.
At 18.23 30/07/2003 -0400, you wrote:
Hello Statlisters!
My question is, how do I change a string variable to a numeric variable. I am
using STATA version 7.
Thanks for your help
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
Fabio Berton
LABORatorio Riccardo Revelli - Center for Employment Studies
via Real Collegio, 30
10024 Moncalieri (TO)
em: [email protected]
web: www.labor-torino.it
Phone: +39 011 640 2659/2660
Fax: +39 011 647 9643
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/