全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
2830 1
2006-03-27

Hi, Everybody:

I have a SPSS file in which I have input the data for some multiple choice math tests. In each cell I have put the option number that the test-takers have chosen. That is, in each raw in front of each case number there are option numbers 1,2,3,4.

l How can I compute total scores for each student with this data entry?

l Can syntax help?

l Can I give the test key to the syntax so that if the number in each cell matches the key then it considers it a one?

Thanks a lot.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2006-3-27 23:49:00

You should compute new "binary" variables that hold whether an answer is correct or not:

COMPUTE mc1_c = (mc1=3).
COMPUTE mc2_c = (mc2=4).
COMPUTE mc3_c = (mc1=1).
EXECUTE.

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群