How To Combine Multiple Weights

From Q
Jump to navigation Jump to search

Where a data file contains two distinct Weight variables, such as one weight designed to rectify imbalance in the same (e.g., over- and under-representation by age, gender and geography), and another which represents some aspect of the importance of the respondent (e..g., number of purchases), a new combined weight can be created which combines both weights by:

  1. Creating a new numeric JavaScript Variable, with an expression of weight1 * weight2, where weight1 and weight2 are the names of the two weight variables.
  2. Setting this variable as a Weight.