[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: RE: from string to nummeric
In addition, a fairly strung-out discussion is given
in "On numbers and strings" Stata Journal 2(3):314--329
(2002). That needs updating on the detail that -tostring-
is now part of official Stata.
The main story there is to think of methods as coming
-encode- and -decode- for strings vs numeric variables
with value labels;
-tostring- and -destring- for when the present variable
type is essentially a mistake (perhaps yours, perhaps
-real()- and -string()- as the brute force conversion
> check -destring- of -encode-
> Typing -findit string numeric- gives you a range of options
> including some
> > i need some help with recoding a 'string'
> > variable to a 'nummeric' varible.
* For searches and help try: