
上QQ阅读APP看本书,新人免费读10天
设备和账号都新为新人
3.2.2 数据转置的SPSS实现
实例二:针对“data03-02.sav”数据,如图3-6所示,包括五位评委为七位球员的打分情况,现要求将数据文件中的行列变换。


图3-6 “data03-02.sav”数据
(1)打开“data03-02.sav”数据文件,选择“数据”→“转置”,弹出如图3-5所示的“转置”对话框。
(2)选中“球员”变量,单击下面的按钮,将其移至“名称变量”;选中其余变量,单击上面的
按钮,将其移入变量列表中。此时可先选中“评委1”,然后按住键盘上的Shift键,再选中“评委5”,这样,所有评委变量都被快速选中,如图3-7所示。

图3-7 “数据变换”对话框
(3)完成所有设置后,单击“确定”按钮执行命令。