
To specify the number of decimal places for a numeric variable, click inside the cell corresponding to the “Decimals” column for that variable. Note that this changes how the numbers are displayed, but does not change the values in the dataset. The number of digits to display after a decimal point for values of that variable. Then click the "up" or "down" arrow icons to increase or decrease the number width. To set a variable's width, click inside the cell corresponding to the “Width” column for that variable. The number of digits displayed for numerical values or the length of a string variable. Click the option that best matches the type of variable. A square "." button will appear click on it to open the Variable Type window. To change a variable's type, click inside the cell corresponding to the “Type” column for that variable. (See the Variable Types tutorial for descriptions of the variable types in SPSS.) To change a variable's name, double-click on the name of the variable that you wish to re-name. For example, we may want to rename a variable called Sex to Gender. Renaming a variable simply changes the name of that variable while leaving everything else the same. Note that when you change the name of a variable, it does not change the data all values associated with the variable stay the same. The name of the variable, which is used to refer to that variable in syntax. The Variable View tab displays the following information, in columns, about each variable in your data: Name This method has the advantage of taking you to the specific variable you clicked. In the Data Editor window, in the Data View tab, double-click a variable name at the top of the column.In the Data Editor window, click the Variable View tab at the bottom.You can get to the Variable View window in two ways: The Variable View tab displays information about the variables in your data. You can define information about your variables by accessing the Variable View tab (at the bottom of the Data Editor window).
