Desktop User Guides > Professional > Data management scripting > Working with the Weight component > Factor weighting
 
Factor weighting
You use factor weighting when you already know the weighting factor for the respondents in each population group on which you are basing your weighting. For example, you would use factor weighting when you are basing the weighting on gender and the weights have already been calculated as:
Gender
Weight
Male
0.8
Female
1.2
Similarly, you would use factor weighting when you are basing the weighting on characteristics recorded using two or more variables and the weight for each combination of categories has already been calculated. When using more than one variable, it is generally easiest to visualize this using a table. For example:
Male
Female
Under 25
1.05
0.95
25-44 years
1.20
1.10
45 and over
0.90
0.97
When you represent the weighting requirements in a table in this way, it is known as a weighting matrix.
When three variables are used, the third variable would form layers. Each layer is effectively a separate two-dimensional table filtered on a category of the variable that forms the layers. For example, suppose you want to use three variables--gender and age as in the previous example and the variable status, which has two categories Single and Has live-in partner. The first layer would define the weights for the respondents in the Single category and the second layer would define the weights for the respondents in the Has live-in partner category:
Layer 1: Single
Male
Female
Under 25
0.95
0.75
25-44 years
1.01
1.05
45 and over
0.98
0.97
Layer 2: Has live-in partner
Male
Female
Under 25
1.25
1.05
25-44 years
0.99
0.96
45 and over
1.02
0.97
When you want to define factor and target weighting using three variables, you might sometimes find it easier to create a derived variable that combines the characteristics of two of the variables and use it in a two-dimensional weighting matrix rather than using a three-dimensional weighting matrix.
Male
Female
Under 25 and single
0.95
0.75
Under 25 and has live-in partner
1.25
1.05
25-44 years and single
1.01
1.05
25-44 years and has live-in partner
0.99
0.96
45 and over and single
0.98
0.97
45 and over and has live-in partner
1.02
0.97
See
Working with the Weight component