VARIABLES subcommand (RESPONSE RATE command)

The VARIABLES subcommand specifies the variables to use. This subcommand is required and includes three required keywords:

NUMERATOR. The variable used as the numerator to calculate response rates. The variable must be numeric.

DENOMINATOR. The variable used as the denominator to calculate response rates. The variable must be numeric.

GROUP. The grouping variable. Response rates are calculated for each category of the grouping variable. The variable can be string or numeric.

Each keyword must be followed by an equals sign (=) and a variable name.

Response rate is calculated as the NUMERATOR divided by DENOMINATOR for each category of GROUP. Cumulative response rate is calculated as the cumulative sum of NUMERATOR divided by the cumulative sum of DENOMINATOR, where cumulative sum is the sum for the current and all preceding (lower) values of GROUP. Response rates are expressed as percentages.

Example

RESPONSE RATE
  /VARIABLES 
   NUMERATOR=Responses
   DENOMINATOR=Customers
   GROUP=PostalRank.