Assigning Data to Roles

To run the Summary Statistics task, you must select an input data source and assign a column to the Analysis variables role.
Role
Description
Roles
Analysis variables
specifies the numeric variables for which you want statistics. You must assign at least one variable to this role.
Classification variables
specifies the character or discrete numeric variables that are used to divide the input data into categories or subgroups. The statistics are calculated on all selected analysis variables for each unique combination of classification variables.
Additional Roles
Group analysis by
enables you to obtain separate analyses of observations for each unique group.
Frequency count
lists a numeric variable whose value represents the frequency of the observation. If you assign a variable to this role, the task assumes that each observation represents n observations, where n is the value of the frequency variable. If n is not an integer, SAS truncates it. If n is less than 1 or is missing, the observation is excluded from the analysis. The sum of the frequency variable represents the total number of observations.
Weight variable
If you assign a variable to this role, the value of the variable for each observation is used to calculate weighted means, variances, and sums. You can assign a maximum of one variable to this role.