This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Numeric expressions are used to specify calculations, which give a numeric result, and are used in a number of key areas:
Expression type |
Example |
Explanation |
|---|---|---|
The valid value of a derived quantity variable |
SPEND * SHOPPING |
To multiply the amount spent on a shopping trip by the number of shopping trips per week. |
Weighting factors for analysis tables |
Q1 * 1.076 |
To multiply the value in variable Q1 by a constant value of 1.076. |
The source of question, pre-coded and numeric variables |
Q1+Q2 |
To specify that the source of a new variable is the result of adding the responses to two other variables. |
|
|
To convert a positive or negative value into a positive value |
|
In this section |
|