XOMultinom: Exact Distributions of Some Functions of the Ordered Multinomial
Counts
Implements exact algorithms for computing the distributions
of the maximum, the minimum, the range, and the sum of the J largest
order statistics of a multinomial random vector. Two complementary
algorithm families are provided: the recursive tree-traversal method
of Bonetti, Cirillo, and Ogay (2019) <doi:10.1098/rsos.190198>, which
covers all four statistics under the equiprobable hypothesis; and the
stochastic matrix method of Corrado (2011)
<doi:10.1007/s11222-010-9174-3>, which handles the maximum, minimum,
and range for arbitrary probability vectors. Functions for power
evaluation and sample size determination for goodness-of-fit tests
based on these order statistics are also provided. Computationally
intensive routines are implemented in 'C++' for efficiency.
| Version: |
0.8.7 |
| Depends: |
R (≥ 3.6.0), utils |
| Imports: |
ggplot2 (≥ 3.5.1), graphics, methods, Rcpp, rlang, stats, tools |
| LinkingTo: |
Rcpp, RcppProgress |
| Published: |
2026-06-01 |
| DOI: |
10.32614/CRAN.package.XOMultinom (may not be active yet) |
| Author: |
Sergio Venturini [aut, cre],
Marco Bonetti [ctb] |
| Maintainer: |
Sergio Venturini <sergio.venturini at unicatt.it> |
| BugReports: |
https://github.com/sergioventurini/XOMultinom/issues |
| License: |
GPL-3 |
| URL: |
https://github.com/sergioventurini/XOMultinom |
| NeedsCompilation: |
yes |
| CRAN checks: |
XOMultinom results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=XOMultinom
to link to this page.