Advanced tables and statistics > Weighting > Defining weights in a weighting matrix > Multidimensional weight matrices
 
Multidimensional weight matrices
A Quantum run can contain up to nine weighting matrices (wm1 to wm9), each of which can name up to nine axes defining the conditions of that matrix.
Do not be put off by the prospect of multidimensional weight matrices: they are exactly the same as multidimensional tables. The last two axes named on the wm statement are the rows and columns of the table, and weights are entered with reference to the last axis.
For example, you might have:
wm3 work age sex;target;1200;2400;1400;2300; ....
where 1,200 is the target for working men aged 18-24, 2,400 is the target for working women of the same age, 1,400 is the target for working men in the age group 25-34, and so on. Not until all weights have been defined for people who work do you come onto those for people who do not work. Base-creating elements are ignored.
See also
Defining weights in a weighting matrix