XNomial
Exact Goodness-of-Fit Test for Multinomial Data with Fixed Probabilities
Tests whether a set of counts fit a given expected ratio. For example, a genetic cross might be expected to produce four types in the relative frequencies of 9:3:3:1. To see whether a set of observed counts fits this expectation, one can examine all possible outcomes with xmulti() or a random sample of them with xmonte() and find the probability of an observation deviating from the expectation by at least as much as the observed. As a measure of deviation from the expected, one can use the log-likelihood ratio, the multinomial probability, or the classic chi-square statistic. A histogram of the test statistic can also be plotted and compared with the asymptotic curve.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.0.4.1 |
rolling linux/jammy R-4.5 | XNomial_1.0.4.1.tar.gz |
374.5 KiB |
1.0.4.1 |
rolling linux/noble R-4.5 | XNomial_1.0.4.1.tar.gz |
374.5 KiB |
1.0.4.1 |
rolling source/ R- | XNomial_1.0.4.1.tar.gz |
351.7 KiB |
1.0.4.1 |
latest linux/jammy R-4.5 | XNomial_1.0.4.1.tar.gz |
374.5 KiB |
1.0.4.1 |
latest linux/noble R-4.5 | XNomial_1.0.4.1.tar.gz |
374.5 KiB |
1.0.4.1 |
latest source/ R- | XNomial_1.0.4.1.tar.gz |
351.7 KiB |
1.0.4.1 |
2026-04-26 source/ R- | XNomial_1.0.4.1.tar.gz |
351.7 KiB |
1.0.4.1 |
2026-04-23 source/ R- | XNomial_1.0.4.1.tar.gz |
351.7 KiB |
1.0.4.1 |
2026-04-09 windows/windows R-4.5 | XNomial_1.0.4.1.zip |
377.4 KiB |
1.0.4.1 |
2025-04-20 source/ R- | XNomial_1.0.4.1.tar.gz |
351.7 KiB |