These rules allow you to apply a weight to either a single column or a specified column span in a table or visualization. Both rules work by generating a new table in the background, applying the selected weight to that table, and then copying the column of weighted numbers into the original table or visualization.
For example, you can go from a standard crosstab...
...to a crosstab or visualization with a weight applied to a specific column, such as the Male column:
Or from a crosstab with spans...
...to a crosstab or visualization with a weight applied to a specific column span, such as the Under 35 span:
Requirements
- A crosstab without spans if you want to apply a weight to a single column.
- A crosstab with spans if you want to apply a weight to a specified column span.
- A weight variable.
Note: You must apply the rule directly to the input table if you see a table icon in the Data > Data Source > Data field in the Properties of a visualization.
You will also see a warning in the Rules section of Properties if you have applied a rule directly to a non-compatible visualization, and you will need to apply it to the input table instead. For example:
Method: Apply Weight to a Specified Column
- Select your table.
- Go to Data > Rules in Properties
.
- Select Plus (+) > Calculation > Apply Weight to Specified Column.
- Select Column to weight.
- Select your Weight variable.
- Press OK.
Method: Apply Weight to a Specified Column Span
- Select your table.
- Go to Data > Rules in Properties
.
- Select Plus (+) > Calculation > Apply Weight to Specified Column Span.
- Select Column span to weight.
- Select your Weight variable.
- Press OK.
Technical Details
Any significance testing results for the weighted columns are taken from the weighted table only, and no attempt is made to reconcile tests between the weighted and unweighted portions of the table. This means that the results in a column with the rule applied are highly unlikely to be comparable to any columns without the rule.
UPCOMING WEBINAR: Run Research Your Way With AI Skills