Use SPSS to transpose and organize data

Today we are going to demonstrate a very practical function of data transposition and data sorting in SPSS. When entering data, we novices often do not understand the format of data entry clearly. It is not uncommon to enter data horizontally, and wait until the end of the entry. It is found that the format is wrong, and the statistical software cannot recognize it, which is very difficult. As shown in the figure below, the statistical software of this format cannot
Insert picture description here
be recognized. It should be converted to the following format
Insert picture description here
. Today we will demonstrate how to use SPSS to convert the data format. First copy the data in the wrong format into SPSS, as shown in the figure below.
Insert picture description here
Enter the data. If the statistical software does not need to enter the name, we delete the name
Insert picture description here
and then click Data-Transfer set
Insert picture description here
all the options in the variable, and then identified
Insert picture description here
and then obtained as shown below, 001 is a label signed variable, we do not need, delete it
Insert picture description here
and obtain the data shown below
Insert picture description here
and the data before and after comparison, changes again The label is enough.
Insert picture description here
Delete the first item, and finally get the complete data after transposition and analysis. Isn’t it simple?
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/dege857/article/details/108575465
Recommended