This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
The Analysis and Break fields in the Results Definition dialog box is the key to producing the required results, as it specifies not only the variables to be analysed but also the format of the analysis.
The Analysis and Break fields should contain either:
Examples of the Analysis or Break fields include:
Example |
Meaning |
|---|---|
Q2 |
Analyse Q2 as an individual variable. If no break is specified then a frequency table or chart will be produced. If another variable or variables are specified in the Break field, then a cross-tabulation will be produced. |
Q9 WITH Q10 |
Q9 analysed with Q10 next to it. The specification of Q9:Q10 would achieve the same result. Used for multiple variables in frequency tables and charts and cross-tabulations. |
Q2,Q4,Q6a |
This definition can be used to define a grid table or chart or holecount table of Q2, Q4 and Q6a. |
Q6a TO Q6e |
All questions between Q6a and Q6e, based on the sequence numbers of Q6a and Q6e. All variables with sequence numbers in this range will be included. An alternative form is Q6a~Q6e. |
Q9 PER Q10 |
All permutations of Q9 and Q10. The first row or column would be Q10=1 and Q9=1. The second row or column would be Q10=1 and Q9=2. The number of rows or columns would be the product of the number of codes of each of the variables. If Q9 has 5 codes and Q10 has 2 codes the result of Q9 PER Q10 would be a table of 10 rows or columns. |
Q4(5,1 TO 3) |
Selecting individual codes in a variable to be analysed and specifying the order in which they are to be presented. This allows you to re-order columns or data for a table or chart. In the event of specifying a code that does not exist, Snap will present the code label as ? and show a count of zero. Must be the only item in the analysis or break field. |
GRID |
The presentation of the results will take the form of a grid. It is normally used to analyse a series of questions with exactly the same code list and is specified as the break. If unequal code numbers exist, the labels from the largest variable will be used. |
STATS |
To specify that the results will be in the form of a descriptive statistics table. |
HOLECOUNT (only for tables) |
To specify that the presentation of the results will be in the form of a holecount table. This is commonly used as a check on the validity of the data being analysed. Errors, Not Asked and No Replies are regularly included. The resulting table is functional and should not be used for presentation purposes as the labels of each variable are replaced by defaults of "code1", "code2", "code3", etc. |
In the event of specifying an invalid analysis definition, Snap will display a warning message and will attempt to identify the position of the first character that is wrong.

The most common cause of an error message is the specification of variable names that do not exist, e.g. specifying Q1 when the actual variable name is Q1a.
Other examples of errors include syntax errors. For example, Q6A,Q6B,,Q6C would generate an error message because Snap identified that an extra comma was entered.
Care should be taken when trying to locate errors in the Analysis and Break fields. If Snap locates an error, it attempts to report the first position where an inconsistency has been recognised. It is generally necessary to check the contents of both the Analysis and Break fields prior to the position specified.