Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: String to Numeric

From   "Nick Cox" <>
To   <>
Subject   st: RE: String to Numeric
Date   Thu, 31 Jul 2003 13:17:17 +0100


> My question is, how do I change a string variable to a 
> numeric variable. I am using STATA version 7.

Consider whether you really want -encode-; otherwise 
it is a choice between 

	-real()- function (brutal, stupid) 


	-destring- (gentle, smart) 


*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index