Data Editor

Data can be typed into the Data Editor, which may be useful for small data files or making minor edits to larger data files.

step Click the Variable View tab at the bottom of the Data Editor window.

Define the variables that are going to be used. In this case, only three variables are needed: age, marital status, and income.

step In the first row of the first column, type age.

step In the second row, type marital.

step In the third row, type income.

New variables are automatically given a numeric data type.

If you don't enter variable names, unique names are automatically created. However, these names are not descriptive and are not recommended for large data files.

step Click the Data View tab to continue entering the data.

The names you entered in the Variable View are now the headings for the first three columns of the Data View.

Begin entering data in the first row, starting at the first column.

step In the age column, type 55.

step In the marital column, type 1.

step In the income column, type 72000.

step Move the cursor to the first column of the second row to add the next subject's data.

step In the age column, type 53.

step In the marital column, type 0.

step In the income column, type 153000.

Currently, the age and marital columns display decimal points, even though their values are intended to be integers. To hide the decimal points in these variables...

step Click the Variable View tab at the bottom of the Data Editor window.

step Select the Decimals column in the age row and type 0 to hide the decimal.

step Select the Decimals column in the marital row and type 0 to hide the decimal.