Statalist


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

Re: st: STATA cannot read a vlue of dataXY=.z_


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: STATA cannot read a vlue of dataXY=.z_
Date   Tue, 25 Nov 2008 15:58:59 -0500

Read the variable in as string, convert the ".z_" to whatever missing value code you wish (not zero!); "gen newvar =real(oldvar)" to convert to numeric; and drop the original version.


On Nov 25, 2008, at 1:29 PM, [email protected] wrote:

STATA cannot read a vlue of dataXY=.z_

hello folks,

STATA cannot read some entries in a numeric variable with the value
.z_, which are recording errors in Compustat. Trying to convert them
to 0 was not possible as STATA somehow does not recognize these
entries. Any idea what that could be ?

Kind regards

Pascal

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

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