Advanced tables and statistics > Special T statistics > T statistics on weighted tables
 
T statistics on weighted tables
Quick reference
If you are requesting T statistics on weighted tables place the keyword:
nsw
on the a statement.
More information
If the table is weighted, you must weight the base element using the same weighting matrix as the tab statement. Either specify the weighting matrix for the whole axis using wm= on the tab statement or make sure that the base element and the tab statement have identical wm= options.
The T statistics need to know the sum of the squared weights for the axis. Each respondent’s weight is squared and then added into the total for the axis. To create this figure, place the keyword nsw on the a statement. Quantum will then insert a squared weighting statement after each base element in every axis and before every n12 as it compiles your spec. If the spec contains weighting matrices and T statistics but no nsw option on the a statement, Quantum issues a warning message at the end of the compilation stage.
If you want to see the squared weight element in your table, type the nsw statement after the base element:
n10Base
nswSum of squared weights
See
Effective base
See also
Special T statistics