Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: gen a_n = real(a) does not create any values


From   "Fabian Brenner" <[email protected]>
To   [email protected]
Subject   st: gen a_n = real(a) does not create any values
Date   Fri, 19 Sep 2008 20:25:59 +0200

Dear all:

I use Stata 8 and in order to add two variables a+b (a is format str5   %5s, b is format str13  %13s) I want to convert these string variables to numeric variables.

I use: gen a_n = real(a)

Stata generates new values for a_n. But using the browser I see that variable a_n doesn't have any values. What's wrong?

Thanks,
Fabian 

-- 
Psssst! Schon vom neuen GMX MultiMessenger geh�rt? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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