This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Weighting more than one variable
If you want to weight more than one variable you will need to use the Rim Weight program, which is accessible from the start menu on the taskbar: .
You would also do this if you wished to produce an analysis in which the proportion of respondents in your sample are adjusted to match more closely to the proportion in the target population
(Rim-weighting is also known as "iterative proportional fitting".)
Rim-weighting uses a mathematical algorithm to help you provide an even distribution of results across the entire dataset while balancing certain categories such as age or gender to pre-determined totals. It weights the specified characteristics simultaneously and disturbs each variable as little as possible.
For example, if you wished to weight your samples so that they were 50% male and 50% female, and also 20% in each of five age brackets, the algorithm would calculate the correct weighting that needed to be applied to each table entry (combining age and gender).
It is not a good idea to use rim-weighting if:
- Your variables are related to each other (for example, income bracket and dwelling size).
- The values vary enormously (for example, you have 96 males and four females, and you are attempting to balance it to 50:50).
You are applying a very large number of weights.
The example is based on the Crocodile Restaurant Survey, using "Age" (Q9 with 6 codes) and "Gender" (Q10 with 2 codes).
Open the survey in Snap and display the .
- Select
- Specify the details:
- Format: Select
- File: Enter the destination file name and path (Snap supplies a default name and directory).
- Content: Enter a comma-separated list of the single-response source variables. For example in Crocodile you could enter "Q9,Q10" for age and gender.
and click.
- Encoding: Select
- Case Data: Select

- Snap reports how many variables will be exported and displays the dialog to export the data associated with the variables.
- Confirm the details and click.
Close the survey in Snap.
- Selecting.
- Browse for the exported variable file and click . (The Rim Weight program automatically selects the associated ASC data file. If it does not find it, you will need to browse for it yourself.)

- Browse for the Snap RDF file for the survey.

- The Rim Weight program automatically displays the corresponding SIF file if it exists. If not, enter a new filename.
Click .
- Select a code and click . You can:
- set the code target to be absolute or proportional by clearing or checking the Target values for question are proportions box.
- set all codes for a variable to have the same value by checking the Apply target to all codes in question box

- Set the value for the code and click . It appears in the column. Proportional target values are shown as "value/total". For example for you would enter the target as , and as you apply it to the other codes, the tool will automatically work out the total.
If you are using absolute values, ensure that you use the same absolute total for all questions.
You can specify the name of the weight, the number of decimal places that it is calculated to and how often the algorithm is performed by clicking the [Options] button. The default name is .
- Click to calculate the weightings. Then click .

- Start Snap and open the survey. Snap will display a warning message when you re-open the survey.

- Open the Variables window and select .
- Set the Format to Snap Interchange Format (SnIF).

- Select as the .
- Browse for the weight variable and click. Snap will close the questionnaire window if it has been left open.
- Snap displays a message when it has completed the import process. Click .
- You can now use the weight variable in the same way as a normal Snap weight.

- Select the Results Table button (
) and type in the appropriate break and analysis fields. - Type the name of the imported weight variable into the Weight field.

- Select to build the rim-weighted table.

Multiple Response variables cannot be weighted and you cannot use more than one weight in a table.