Reporter > Using variables > Editing variables > Adding summary statistics to a numeric variable
 
Adding summary statistics to a numeric variable
Sometimes you may want to show a summary statistic of the values in a numeric variable (such as the mean, minimum, or maximum) rather than grouping the values into bands. For example, the visits variable in the Museum sample data set is a numeric variable that stores the number of times respondents have visited the museum before. You can show a summary of the values in the variable.
Note UNICOM Intelligence Reporter does not automatically add summary statistics to numeric variables that do not have any bands or other statistics defined. You will need to manually set up these definitions if they do not already exist. The Unable to Add Variable dialog boxdialog displays in cases where variables do not have statistics defined. In practice you might want to mix both approaches, to include bands and also a mean value. In that case you could create bands, as shown in Creating bands, then insert the statistics as described below.
To add summary statistics to a numeric variable
1 In the Variables pane, select the numeric variable.
2 From the menu, choose Variables > Edit Variable.
This opens the Edit Variable window with the Insert Bands dialog box on top.
3 Choose Cancel to close the Insert Bands dialog box.
4 From the menu, choose Categories > Insert Categories.
This opens the Insert Categories dialog box.
5 In the list of Available Items, select the summary statistics you want to use. For example, select Minimum, Maximum, Mean, and Standard Deviation.
6 Click the >> button to add them to the Items to insert list.
7 If required, edit the default description and decimal places for each inserted item.
8 Click OK to close the Insert Categories dialog box.
This inserts the statistics into the list on the Edit Variable window. By default, the statistics are based on the variable to which you are adding the categories.
9 Choose Save and Close from the toolbar.
See also
Editing variables