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
Defining varlists for temporary variablesI'm stumped on how to create a varlist vt that contains the temporary variables Code: `_ty1' `_ty2'…
Assigning Values of Variable for All PanelsHi all, I have tried finding a post already discussing this issue but have not found any; apologies…
Putexcel with row and column name labelsI am trying to export tables from stata to word using putexcel, where the row and column variables h…
"No observations" problemHello, I have a problem when generating new variables out of existing one. I have a variable "pclas…
analyzes of companies accountsI am trying to make an analysis of all danish companies accounting for some years. Do any one have m…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for determining where a respondent abandoned the survey
Post a Comment