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 loglikelihood ratio, the multinomial probability, or the classic chisquare statistic. A histogram of the test statistic can also be plotted and compared with the asymptotic curve.
Author  Bill Engels <wrengels@wisc.edu> 
Date of publication  20151224 08:19:02 
Maintainer  Bill Engels <wrengels@wisc.edu> 
License  GPL 
Version  1.0.4 
Package repository  View on CRAN 
Installation  Install the latest version of this package by entering the following in R:



All man pages Function index File listing
Man pages  

xmonte: Perform Multinomial GoodnessOfFit Test By MonteCarlo...  
xmulti: Perform Multinomial GoodnessOfFit Test By Full Enumeration 
Functions  

chiStat  Source code 
constrain  Source code 
logLRmultinomial  Source code 
ntables  Source code 
statHistogram  Source code 
to.probs  Source code 
xmonte  Man page Source code 
xmulti  Man page Source code 
Files  

inst
 
inst/doc
 
inst/doc/XNomial.Rmd  
inst/doc/XNomial.R  
inst/doc/XNomial.html
 
src
 
src/XNenumerated.c
 
src/XNmonte.c
 
NAMESPACE
 
R
 
R/xmonte.R  
R/xmulti.R  
R/xtras.R  
vignettes
 
vignettes/XNomial.Rmd  
vignettes/XNomial.md  
MD5
 
build
 
build/vignette.rds
 
DESCRIPTION
 
man
 
man/xmulti.Rd  
man/xmonte.Rd 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.