Data - Variable Specs

Ribbon bar. Select the Data tab. In the Variables group, click Specs to display the Variable specifications dialog box...

Classic menus. From the Data menu, select Variable Specs to display the Variable specifications dialog box...

...which displays detailed information about the first selected variable. Use this dialog to enter specifications for the variable.

Several formatting tools, which apply to both the variable name and the long name, are available at the top of the dialog box. The Name box contains the variable name, which is displayed in the column header in the spreadsheet. Type a new name here if you want to change the variable name. The Type box contains the variable data type (see Variable Types). The MD code box is used to specify a missing data code for blank cells or specific values that you intend to ignore in calculations. Note that the missing data code for a text data type is always an empty string. The Length box, which is only available if you have selected Text as the data Type for the variable, is used to specify the number of characters allowed for the variable.

The Display format group shows the display format that accompanies the variable. When certain Display formats are chosen, a box to the right lists additional formats that are compatible with the selected display format. For example, if Time is selected as the Display format, the box to the right shows possible time formats (such as date and time combinations, military time options, etc.). The Decimal places box (which is only active when Number, Scientific, Currency, or Percentage is chosen as the Display Format) is used to specify the number of decimal places to be displayed.

Use the Long name box to type a more detailed name or a formula as part of the variable's definition. Begin the Long name box with an equal sign to signify if you are entering a formula instead of a name. Click the Functions button to display the Function Browser, which is used to enter predefined functions into the formula. Select the Function guide check box for guidance when you are entering a formula into the Long name field. Every time you type a letter to begin a new word (i.e. type a letter after the equal sign or after a space), the list of available Statistica functions that start with that letter will be displayed. You can then select from this list (by double-clicking on the function name) to enter the selected function into the Long name field.

Click the arrow buttons to browse the list of variables in the active spreadsheet; hence, you can switch between variables in the spreadsheet without closing this dialog box. Click the All Specs button to display the Variable Specifications Editor. Click the Text Labels button to display the Text Labels Editor. Finally, click the Values/Stats button to display the Values/Stats dialog box, which shows more detailed information about the selected variable, including all values in the variable and descriptive statistics.