Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Tostring (string from a numerical variable)


From   carmen gamarra <carmengamarra@hotmail.com>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   st: Tostring (string from a numerical variable)
Date   Wed, 17 Mar 2010 16:36:13 +0000

 Hi people, 
I wanna generate a variable string from a numerical variable that  has negative signe (in front of the number). Is this possible? Because  Stata gives me the following message.

 (tostring  var_1, generate( var_1str)) var_1 cannot be converted reversibly; no generate.

 What must I do? Thanks in advance

carmen
 		 	   		  
_________________________________________________________________


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index