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

st: RE: Re:

From   "Nick Cox" <>
To   <>
Subject   st: RE: Re:
Date   Wed, 28 Sep 2005 17:50:28 +0100

The safer option here is -destring-. -real()- 
is dangerous if your ids are not all what you think 
they should be. 

> one suggestion:  the variables need to be consistent in terms of
> characater vs. numeric.  i suggest you make both variables 
> numeric; you
> can change the character one to numeric via -destring- or the string
> function -real- (see appropriate help files).  of course, if you have
> leading zeros in your character variable, you may need to do some
> additional manipulation.  

*   For searches and help try:

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