See also: Stratified Summary Statistics
Computes sums of variables, possible over strata defined by one or more categorical variables. Only records in the current active subset are included in the sums. For an unweighted sum, the number of records summed is given. For a weighted sum, the sum of the weights is indicated. The output also includes information about the range for each sum computed.

Related script commands