Statalist


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

st: How to label the value 999999999999


From   "Friedrich Huebler" <fhuebler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to label the value 999999999999
Date   Tue, 7 Oct 2008 17:49:04 -0400

I work with data from a household survey. Several variables have the
value 999999999999 for "missing data", for example a variable with
data on the monthly rent paid. When I try to define a label for this
value I get an error message. What can I do? I would like to keep the
original data and do not want to replace 999999999999 by some other
value. The reason is that the codebook and other documentation all
refer to 999999999999.

. clear
. set obs 1
. gen double var = 999999999999
. lab def var 999999999999 "No data"
may not label 1.00000e+12
r(198);

Thanks,

Friedrich
*
*   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   |   What's new   |   Site index