This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
The following example assumes that it is regularly required to analyse survey data for the following groups: Males under 45, Males 45 plus, Females under 45, Females 45 plus. A variable can be set up to identify each group as a code thus making specification of the relevant filters quicker and easier.

Name: AgeGender
Label: Age and Gender
Type: Derived (the variable will derive its data from other existing variables.)
Response: Single
Code |
Code Label |
Value |
1 |
Males under 45 |
Q9=(1~4) AND Q10=1 |
2 |
Males 45 plus |
Q9=(5,6) AND Q10=1 |
3 |
Females under 45 |
Q9=(1~4) AND Q10=2 |
4 |
Females 45 plus |
Q9=(5,6) AND Q10=2 |

You can now use the variable to filter data by age/gender groups when browsing or editing data.. For example males aged 45 plus can be identified using the filter AgeGender=2.

|
See Also |