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

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.

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

In the second row, type marital.

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.

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.

In the age column, type 55.

In the marital column, type 1.

In the income column, type 72000.

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

In the age column, type 53.

In the marital column, type 0.

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...

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

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

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