How to convert string variables into numeric types in SPSS - Methods to convert string variables into numeric types
Time: 2022-03-13Source: Game guideAuthor: xzzj
Many people don’t know how to convert string variables into numeric types in SPSS? The article brought to you today is about the method of converting string variables into numeric types in SPSS. If you still don’t know, let’s learn it with the editor.
Step 1: Open spss, enter two columns of data, the second column is a string representing gender (as shown in the picture).
Step 2: Click [Convert]-[Recode to different variables] (as shown in the picture).
Step 3: Select the gender column string variable, set the name and label of the new variable, and click [Old Value and New Value] (as shown in the figure).
Step 4: Set the old value of male to 1 and the new value of female to 0, click [Continue] (as shown in the picture).
Step 5: Click [OK] in the conversion window and return to the chart to see the converted numerical variable (as shown in the figure).
The above is the entire content of how to convert string variables into numerical types in SPSS brought to you by the editor. I hope it can help you.
Popular recommendations
-
AH document management system
Version: 4.31 latest versionSize: 9.1MB
The latest version of AH document management system is a fully functional document management software. The official version of AH document management system can help users manage corporate documents...
-
-
Archives storage and borrowing management system
Version: 1.0 official versionSize: 4.14MB
The official version of the Archives Custody and Lending Management System is a fully functional archive management software. The latest version of the file storage and borrowing management system software has built-in basic information...
-
Fit fitness management system
Version: 3.1.0 latest versionSize: 31.43MB
The latest version of Fit Fitness Management System is a comprehensive management software. The official version of Fit Fitness Management System can provide...
-
CST STUDIO SUITE
Version: 20198.0.100.1040 official versionSize: 38.13MB
CSSTSTUDIOSUITE official version is a comprehensive and practical electromagnetic simulation software. CSTSTUDIO
The official version of SUITE can use system assembly and...