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.

Version: | 1.0.4 |

Depends: | R (≥ 2.14) |

Suggests: | knitr |

Published: | 2015-12-24 |

Author: | Bill Engels |

Maintainer: | Bill Engels <wrengels at wisc.edu> |

License: | GPL-2 | GPL-3 [expanded from: GPL] |

NeedsCompilation: | yes |

CRAN checks: | XNomial results |

Reference manual: | XNomial.pdf |

Vignettes: |
XNomial |

Package source: | XNomial_1.0.4.tar.gz |

Windows binaries: | r-devel: XNomial_1.0.4.zip, r-release: XNomial_1.0.4.zip, r-oldrel: XNomial_1.0.4.zip |

macOS binaries: | r-release: XNomial_1.0.4.tgz, r-oldrel: XNomial_1.0.4.tgz |

Old sources: | XNomial archive |

Please use the canonical form
`https://CRAN.R-project.org/package=XNomial`
to link to this page.