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

st: RE: survey completion "flag"


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: survey completion "flag"
Date   Thu, 17 Feb 2005 21:12:59 -0000

Have a look at -egen, rlast()-. 

Nick 
n.j.cox@durham.ac.uk 

Marilyn Matevia
 
> I am a very new user of Stata, so I apologize in advance if this is
> a dumb question.  I'm still learning how Stata "thinks" (compared to
> SAS) and can't figure out how to tackle this:
> 
> I have a data set of responses to a very long (170 questions) survey
> with many nested skip patterns, and about 2200 respondents.  After
> working out the skip codes, I still have many "missing" observations
> for some items, and figure these are due to incomplete surveys.  I
> want to create some kind of "completion flag" to see which
> respondents make it to the end of the survey, and - if they don't -
> to see which question is the respondent's last (which is complicated
> by the skip patterns).
> 
> I'm just not coming up with a sensible way to do this in Stata.  Can
> someone point me in the right direction?

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index