Desktop User Guides > Professional > Table scripting > Statistical tests > Paired preference test
 
Paired preference test
The paired preference test compares pairs of values to see whether the figures in each pair differ significantly from each other. The paired preference item is usually specified in a row. However, you can specify it in a column. The test works as follows:
If specified in a row, the paired preference test deals with each column independently and compares pairs of rows. The test needs a minimum of two rows to be able to compare their figures.
If specified in a column, the paired preference test deals with each row independently and compares pairs of columns. The test needs a minimum of two columns to be able to compare their figures.
For example, if the proportion of women preferring Brand A is larger than those preferring Brand B, and the difference between the two proportions is significant at the selected level, the letter S is displayed in the paired preference row of the column for women.
To specify which rows to test and where to place the result, add the ppt special element to your table, immediately after the two rows you want to test, for example:
TableDoc.Tables.AddNew("Table2", "prefer{base(), prefer_dinosaurs, prefer_human_biology, ppt()} * gender", "Paired Preference Test")
To specify which rows to test and where to place the result, you need to add a paired preference item to the row or column. See Adding a paired preference test for more information.
To specify which rows to test and where to place the result, you need to add a paired preference item to the row or column.
When a paired preference element is placed in a row or column, UNICOM Intelligence Professional searches for the nearest two categories preceding the paired preference item, and carries out the paired preference test on those two categories. For the purposes of the paired preference test the following element types are classed as “category” elements:
category
expression
net
combine
numeric
The result of the test is placed at the position of the paired preference row or column.
To specify which rows to test and where to place the result, you need to add a paired preference item to the row or column.
When a paired preference element is placed in a row or column, UNICOM Intelligence Professional searches for the nearest two categories preceding the paired preference item, and carries out the paired preference test on those two categories. For the purposes of the paired preference test the following element types are classed as “category” elements:
category
expression
net
combine
numeric
The result of the test is placed at the position of the paired preference row or column.
The following information assumes specification as a column.
See also
How the results are displayed
Examples of the paired preference test
Details and restrictions of the paired preference test
Statistical formula for the paired preference test
Statistical tests