SPSS: Data Entry

When we are creating a new data set, it is typical to start by defining the names and other properties of the variables first and then entering the specific values into each variable for each independent source of data. Recall that there is one row for each independent source of data and one column for each characteristic (i.e., variable) that we have measured from each data source. There are times, however, when we decide to add additional variables after we have entered some of the data. Adding variables after the fact does not present any special challenges; we simply go to the variable view, click in an empty row, and start defining our new variables as we do below. The first step to defining variable names and properties is to select the variable view tab in the data window. Then we can create (or edit) each of the properties below.

Entering the Data

The first step for entering the actual data is to click on the Data View tab.

To enter new data, click in an empty cell in the first empty row. The "Tab" key will enter the value and jump to the next cell to the right. You may also use the Up, Down, Left, and Right arrow keys to enter values and move to another cell for data input.

To edit existing data points (i.e., the change a specific data value), click in the cell, type in the new value, and press the Tab, Enter, Up, Down, Right, or Left arrow keys.

Lab Activities

  1. Open a new data set in SPSS
  2. Create a nominal variable called gender that has a width of 8 with 0 decimal places. The label should be "Gender of the respondent". The values should be 1 for males and 2 for females (or vice versa). Do not worry about missing data codes.
  3. Create a scale variable called score that has a width of 8 with 2 decimal places. The label should be "Student Academic Performance-GPA". There will be no value labels.
  4. Enter data for the following cases
    • case 1 is a male and has a score of 3.50
    • case 2 is a female and has a score of 3.90
    • case 3 is a male and has a score of 2.50
    • case 4 is a female and has a score of 1.80
    • case 5 is a male and has a score of 2.80
    • case 6 is a female and has a score of 4.00
    • case 7 is a male and has a score of 3.30
    • case 8 is a female and has a score of 3.50
    • case 9 is a male and has a score of 2.90
    • case 10 is a female and has a score of 1.50
  5. Change the score of the second case from 3.90 to 3.80, like you would if you discovered a data entry error.
  6. Save your data set

 

Top | Home | SPSS