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

st: How to label the value 999999999999

From   "Friedrich Huebler" <[email protected]>
To   [email protected]
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


*   For searches and help try:

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