What does var represent? Are your data currently arranged tall, or wide?
(It's preferable not to use plain text on the list).
Jeremy
On 13/04/07, [email protected] <[email protected]> wrote:
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
[email protected]
--
Jeremy Miles
Learning statistics blog: www.jeremymiles.co.uk/learningstats
*
* 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/