Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: separation of nonresponders from occasional responders in repeated survey administration


From   kdlop1@comcast.net
To   statalist@hsphsun2.harvard.edu
Subject   st: separation of nonresponders from occasional responders in repeated survey administration
Date   Fri, 13 Apr 2007 20:43:25 +0000

I am doing an analysis of a monthly survey.  Some of the respondents answered the dependent variable question every time it was administered, others answered some of the months and others never answered.  I would like to compare the group that answered the question at least once with the group that never answered. 
 
If I use the syntax:
drop if var==q.
 I am left with all of the unique IDs who answered the question at least once. 
 
If i use the syntax:
keep if var==q.
I get all of the unique IDs who never answered and those that occasionally answered. 
 
How can I get the group that never answered without the group of occasional responders "leaking into" the group?
 
Thank you,
Karen Dunn Lopez, RN, PhD(c)
The University of Iowa
College of Nursing
karen-lopez@uiowa.edu
 



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