Don't know
To define a Don't know response, place the following line in the question’s response list in the metadata section of the interview script:
<response_name> "<response_text>" dk
For example:
WhenLastEatOut "When was the last time you went out for a meal?"
categorical [1..1]
{
Yesterday,
ThisWeek "Another weekday during this week",
LastWeekend "Last weekend",
WeeksAgo "A couple of weeks ago",
MonthAgo "About a month ago",
MoreThanMonth "More than a month ago",
LastEatOutDK "Can't remember" dk
};
Respondents can choose one of the listed political parties or Can't remember.
To allow Don't know as a response to a numeric, text, or date question, define the question as follows:
<question_name> "<text>" <type> [<size>] codes (
{
<response_name> "<response_text>" dk
}
);
For example:
TimeLeft "And roughly what time did you leave the restaurant?"date ["07:00pm".."11:59pm"] codes (
{
TimeLeftDK "Can't remember" dk
}
);
When the interviewing program reaches this question, it displays an input box with a “Can't remember” checkbox under it. Respondents can either type a time in the input box or select the checkbox.
mrScriptMetadata accepts a dash or hyphen (–) as the response name for special responses, and will generate a response whose name matches the special response keyword (“dk” in this instance). Although this is acceptable scriptwriting, it is better to choose unique names for all categorical responses, including special responses.
If you need to test for Don't know responses in the routing section of the script, use
<question_name>.Response.Coded as described in
Checking for special responses to non-categorical questions.
See also