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

RE: st: STATA equivalent to SAS subsetting "else if" statements?

From   "Sayer, Bryan" <>
To   "'Joseph Coveney '" <>, "'Statalist '" <>
Subject   RE: st: STATA equivalent to SAS subsetting "else if" statements?
Date   Wed, 9 Jul 2003 08:48:18 -0400

I'm not aware of any such list, though it sounds like something AAPOR should
develop.  At the beginning of a project, we generally create a set of coding
rules to make sure variables across datasets are consistent with regard to
values, size, labels, etc.  For missing, we generally use system missing to
represent NIU, as that is the only true legitimate missing, and then .R for
refused, .D for Don't Know and whatever other neumonics we can think of.  Of
course, that's in English and speakers of other languages might think

Bryan Sayer
Statistician, SSS Inc.

-----Original Message-----
From: Joseph Coveney
To: Statalist
Sent: 7/8/03 10:12 PM
Subject: Re: st: STATA equivalent to SAS subsetting "else if" statements?

Bryan Sayer, responding to a question from Nick Cox, posted:

.N is a special missing, to distinguish NIU, from don't know, refused,
invalid, etc.


Is there a convention for special missing values to distinguish the
reason for 
missing values, such as .N reserved for not-in-universe (NIU)?  

If so, is there a reference for an agreed-upon list of special missing
of this nature?  In a quick Google search, I could only find a limited
list in 
a couple of documents by Stephen Blumberg from the U.S. Centers for
Control.  If there's a formal convention among survey researchers, or
even a 
widespread informal standard, I'd rather use it than something ad hoc.

Joseph Coveney

*   For searches and help try:
*   For searches and help try:

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