Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: AW: RE: AW: recode 9, 99, 999,..., into missing


From   Amanda Fu <[email protected]>
To   [email protected]
Subject   Re: st: RE: AW: RE: AW: recode 9, 99, 999,..., into missing
Date   Sun, 16 May 2010 20:33:10 -0400

Dear Mr. Weiss and Lachenbruch,

I am sorry that I should be more clear when describing my question. In
my opinion, I need to be careful about this problem : for example, for
a variable  that has 10 scales, the 9 value means a real scale and 99
in that case means "not answered".

The pattern is like this:
(1) if the maximum value  of a variable is smaller than 9 , then the
"not answered" takes the value 9;
(2) if the maximum value  of a variable is smaller than 99 but greater
than 10, then the "not answered"   takes the value 99;
(3) if the maximum value  of a variable is smaller than 999 but
greater than 100, then the "not answered"  takes the value 999;
and so on.

(And you are absolutely right for the reminder that there are values
such as 7,8, 98, or 97 to indicate "refused to answer" "invalid
answer". Here I would like to keep focus on one example of "not
answered" , because the other values could be dealt with using the
same way.)

Thanks for help from both of you!

Best regards,
Amanda
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index