Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: labelling extended missing values


From   NBER Test <[email protected]>
To   [email protected]
Subject   st: Re: labelling extended missing values
Date   Wed, 10 Dec 2003 07:42:56 -0800 (PST)

Thank you for the helpful responses.  I am still
unsure on how to display the labels "unsure" and
"wont tell" for the extended missing values:

. tab q1, missing

 Question 1 |      Freq.     Percent        Cum.
------------+-----------------------------------
         a1 |          1       25.00       25.00
         a2 |          1       25.00       50.00
          . |          2       50.00      100.00
------------+-----------------------------------
      Total |          4      100.00

. list q1

     +----+
     | q1 |
     |----|
  1. | a1 |
  2. |  . |
  3. |  . |
  4. | a2 |
     +----+

Thanks! 

> I am trying to label extended missing values from a
> dataset:
> 1
> .a
> .b
> 2
> with 
> label define q1 1 "a1" 2 "a2" .a "unsure" .b "won't
> tell"
> The data infiles without error.  However,
> . tab q1 if q1 < .
> 
>  Question 1 |      Freq.     Percent        Cum.
> ------------+-----------------------------------
>          a1 |          1       50.00       50.00
>          a2 |          1       50.00      100.00
> ------------+-----------------------------------
>       Total |          2      100.00
> 
> does not display "unsure" and "won't tell".  What
> needs to be done to display these values?


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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