Create a “Mock” SPSS Data File
© 2017 Laureate Education, Inc. Page 1 of 3 SPSS Code Book This week you will get practice in creating an SPSS data file. Specifically, you will create a data file compris ing nine variables (see the following list) . You will submit the SPSS data file you created as your W eek 1 Assignment . The SPSS data file will have a .sav file extension. See Figure 1 as follows, which depicts a screen capture of the “Variable View” for the A ssignment. The “Variable View” for your completed data file should look like Figure 1. The following list depicts the nine variables and the scale of measurement for each variable (see the “ Scales of Measurement” video tutorial located in th e Week 1 Learning Resources ).
Remember to revisit Lessons 1– 11 in the Green and Salkind (2017) text, with emphasis on Lesson 5, “Defining Variables.” 1. Age (scale) 2. Weight (scale) 3. Gender (nominal) 4. Height (scale) 5. Ethnicity (nominal) 6. Education (ordinal) 7. Marital Status (nominal) 8. GPA (scale) 9. Political Affiliation (nominal) © 2017 Laureate Education, Inc. Page 2 of 3 Figure 1. Graphical depiction of the “Week 1 Data File.” Your completed data file should look like this from “Variable View .” C reate each variable and the data properties you note in Figure 1. Table 1 depicts codes and labels for the nominal (categorical) variables in the dataset . You will assign these codes in the “Values” column. Remember, you will right -click in the bottom right corner of the “Values” cell ( for nominal variables) (Figure 1) to get the “Value Labels” dialogue box (Figure 2). Remember, the “Value Label s” dialog box is for nominal variables only and the colored balloons in the “Measure” column (see “Measure” column in Figure 2) should alert you of a nominal variable. You will assign the codes and labels in Table 1 to the nominal variables . All other variables are scale (numerical variables) or ordinal . Although this information is not readily available from the “Variable View,” your Instructor will be able to see if you applied the correct codes and labels to the nominal variables (Table 1) when he or she right -clicks on the “Value” cells. Revisit Lesson 5, “ Defining Variables,” in the Green and Salkind (2017) text.
T able 1. Week 1 Assignment Codes and Labels for Data Set Nominal Variables Value Label Gender 0 Female 1 Male Ethnicity 1 Hispanic 2 African American 3 Caucasian 4 Native American 5 Asian American 6 Other Education 0 Did not finish high school 1 High School Diploma /GED 2 Associate ’s Degree 3 Bachelor ’s Degree 4 Master ’s Degree 5 Doctorate (e.g. , PhD, DBA, EdD, PsyD, etc.) Marital Status 0 Married 1 Single Political Affiliation 0 Republican 1 Democrat 2 Independent © 2017 Laureate Education, Inc. Page 3 of 3 F igure 2. Value Labels dialog box.