Weights can be created by specifying the target percentages of a categorical variable. Click on the new variable button left of your screen and select Create Weight. Select the variable or variables that should form the basis of the weight and enter the target percentages for each category. The target percentages must add up to 100%. Finally give the weight a name and click Save to create the new variable and apply the weight to the dataset.
How to create a weight