Analyze multiple response field from google doc form

情到浓时终转凉″ 提交于 2019-12-01 12:20:21

You could also try to use the index function when creating a new variable in SPSS.

For example if the answers to be processed are in the ANSWER variable, you can choose Transform / Compute variable..., and make a new numeric variable named FOO, using this function:

CHAR.INDEX(UPCASE(ANSWER),'FOO') > 0

This will result a 1 if foo is found in the ANSWER variable, and 0 if not. Then do the same with the other possible answers.

Or you can simply run this syntax:

COMPUTE FOO=CHAR.INDEX(UPCASE(ANSWER),'FOO') > 0.
EXECUTE.

I do not have SPSS to test it, but this solution could help you http://www.spsstools.net/Syntax/MultipleResp/ParseCommaSeparatedLetters.txt

To split this string into three variables:

Create the three variables, copy the strings, paste in Excel and use the special text option, choose delimiter = comma. This will split the text of the string into three Excel cells. Then you copy and paste into SPSS, all three variables at once.

Dealing with text/data, SPSS splits by variables whenever it meets tabulation (paste into Excel adds the tabulation character where there was a comma). Alternatively plain text editors (free: TextPad, Notepad++) can be used to alter the text.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!