Glossary · Machine learning
Sign test
Also called sign tests, binomial test, p-value, p value
A simple test of whether one option wins more often than chance across many paired comparisons, counting only who won each one.
Sometimes two options are compared on many separate measures at once, and each measure on its own is too noisy to settle anything. The sign test asks a simpler question: across all of them, does one option come out ahead more often than a coin toss would?
It counts only the direction of each comparison, a win or a loss, and drops ties. If the two options were really equal, each comparison would be a fair coin toss, and the number of wins out of would follow a binomial distribution. The test’s p-value is the chance of a split at least as lopsided as the one seen, if the options were equal:
A small p-value (say below 0.05) is evidence that one option really is better. A large one means the split is the kind chance produces all the time.
The test ignores how big each win was, so it is blunt. It also assumes the comparisons are independent, which holds only roughly when the measures share causes.
In this project
In the network-size experiment, 1024 × 3 was better than the 512 × 2 control on 8 gate rows, worse on 10 and tied on 3. The sign test gives p = 0.82: no evidence either way. 1024 × 2 (9 better, 10 worse) and 512 × 3 (8 and 8) give p = 1.0.