This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Categorising quantity responses with a derived variable

The following example uses the Crocodile Restaurant Survey. A Derived Variable is set up to allocate the data for Q5 "How much did you spend in total?" into ranges.

  1. Click Variables window button to display the Variables Window.
  2. Click New button to add a new variable.
  3. Specify the Variable Details:

    Name: V4

    Label: Amount spent

    Type: Derived (the variable will derive its data from other existing variables).

    Response: Single (each respondent will only fall into one of the new codes).

  4. Specify the Code Details:

    Code

    Code Label

    Value

    1

    Under £2.50

    Q5<2.5

    2

    £2.50-4.99

    Q5<5

    3

    £5.00-7.49

    Q5<7.5

    4

    £7.50-9.99

    Q5<10

    5

    £10.00 plus

    Q5>=10

  5. Click Save button to save the variable. The variable can then be used in tables and charts in the usual way.

See Also

More about descriptive statistics

Statistical calculations on tables

Categorising quantity responses with a numeric variable (deprecated)