This dialog is activated by selecting the **Paired Sample Sign Test...** command from the Statistics -> Nonparametric Tests -> menu. It can be used in order to test for consistent differences between pairs of observations. The Wikipedia article on the sign test makes for excellent reading on this topic.

For two paired samples, `X`

and _{i}`Y`

, the test statistics (_{i}`S`

) is the number of pairs for which X_{i} < Y_{i}. QtiPlot also computes the reduced sample size (`N`

), which is the number of non-tied paires (X_{r}_{i} ≠ Y_{i}) and a probability `p`

.

For a lower tail test, the p-value is the probability of observing a value ≤ S, if S ≤ N_{r}/2, or of observing a value < S, if S > N_{r}/2 and is calculated using the cumulative distribution function of the binomial distribution: *binocdf(S, N _{r}, 0.5)*. For an upper tailed test, the probability is calculated as the complement of the lower tail probability: 1-p. For a two-tailed test, the probability is calculated as the double of the lower of these two values: 2min(p, 1-p). The null hypothesis is rejected if the probability is lower than the value of the significance level.

If N_{r} > 25, QtiPlot also computes a Z-score, using the following formula:
*Z = [S-m-0.5sign(S-m)]/Var ^{1/2}*,
where 0.5 is a continuity correction factor,

If there are missing values in the two source data columns, the whole pair will be excluded from the analysis.