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

RE: st: destring


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: destring
Date   Sun, 20 Nov 2005 16:07:51 -0000

The manual entry at [D] destring makes clearer than 
the on-line help that -destring- is essentially 
for variables that should be numeric, but have 
ended up as string, usually through some 
misunderstanding (or MicroSoftunderstanding). 

Perhaps the on-line help should be tweaked to 
make this clearer, as the point is often 
misunderstood by those who don't read the manual. 

Nick 
n.j.cox@durham.ac.uk 

David Airey
 
> see the help page at:
> 
> http://www.ats.ucla.edu/stat/stata/faq/destring.htm
> 
> Destring converts string numbers to numbers; it leaves string 
> letters alone.
> 
> You want to use encode if all you variables are the latter.

*
*   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/



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