Hello,
I am working with survey data and I want to be able to analyze at which points in the survey respondents are abandoning the survey. My idea was to designate certain missing values as "stop points" if all of the variables ahead of it are also missing. So, say my data looks like this below. For observation 2, for instance, I would like to signal variable AJ as the place where the respondent stopped answering the survey (and recode it to be .a, or something like that).
Array I'm wondering if someone can help me code a loop to apply this to all of my variables. How do I tell Stata to look for missing values in all of the variables AHEAD of a variable?
Thanks in advance for any help!
P.S. I'm so sorry for the screenshot, I can't get the formatting right on the data example I'm trying to post.
Related Posts with Loop for determining where a respondent abandoned the survey
Reshaping data from wide to long panel-dataGood day, I recently reshaped my dataset from wide to long into balanced panel dataset. Clyde Schec…
Recoding Values of A Variable based on conditionsHello, I am stuck with a problem. I hope someone can help me to find the answer. The first part of t…
randomly choosing a sub-group of itemsI would like to generate a random 10 variables from a set of 42 variables and I wonder how i could d…
no room to add more variablesHi, I am using PSID data set. I believe it is a very large data set. Stata tells me: no room to add…
Multiple industry variablesHello, I'm using STATA 15, SE. I'm facing an issue, trying to come up with a way to control for in…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for determining where a respondent abandoned the survey
Post a Comment