Including logic for row/column statistics

For table row statistics:

table row logic can be included in the calculations for row statistics by enclosing the logic you want to include inside the following characters [S] .... [S].

Example 1:

^[S]Q2A (1-99)[S] AND Q3A (1)^SM

would only include Q2A (1-99) in the calculation for row mean

Example 2:

^GENDER (1) AND Q22A (1) AND [S]Q33A (1-10)[S]^SM

would only include Q33A (1-10) in the calculation for row mean

For banner column statistics:

banner column logic can be included in the calculations for banner  statistics by enclosing the logic you want to include inside the following characters [S] .... [S].

Example 1:

^[S]Q2A (1-99)[S] AND Q3A (1)^SM

would only include Q2A (1-99) in the calculation for column mean

Example 2:

^GENDER (1) AND Q22A (1) AND [S]Q33A (1-10)[S]^SM

would only include Q33A (1-10) in the calculation for column mean

Related topics:

Logic

Logic Examples

Row Options