Package: MultinomFourier 1.0
MultinomFourier: p-Values of Multinomial Goodness-of-Fit Tests by Fourier Series Inversion
Computes p-values of multinomial goodness-of-fit tests based on an additive statistic: the log-likelihood ratio, Pearson's chi-squared, the Cressie-Read power divergence, and the exact multinomial test. The main function, pval_fourier(), writes the p-value as a Fourier series in the moment-generating function of the statistic and sums it until an adaptive stopping rule is met, which makes small p-values of large instances computationally feasible. The function pval_exact() computes the exact p-value by branch pruning with bounds from a dynamic program, and pval_flexible() chooses between the two according to the size of the instance.
Authors:
MultinomFourier_1.0.tar.gz
MultinomFourier_1.0.zip(r-4.7-x86_64)MultinomFourier_1.0.zip(r-4.6-x86_64)MultinomFourier_1.0.zip(r-4.5-x86_64)
MultinomFourier_1.0.tgz(r-4.6-x86_64)MultinomFourier_1.0.tgz(r-4.6-arm64)MultinomFourier_1.0.tgz(r-4.5-x86_64)MultinomFourier_1.0.tgz(r-4.5-arm64)
MultinomFourier_1.0.tar.gz(r-4.7-arm64)MultinomFourier_1.0.tar.gz(r-4.7-x86_64)MultinomFourier_1.0.tar.gz(r-4.6-arm64)MultinomFourier_1.0.tar.gz(r-4.6-x86_64)
MultinomFourier_1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
MultinomFourier/json (API)
| # Install 'MultinomFourier' in R: |
| install.packages('MultinomFourier', repos = c('https://pabrvss.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pabrvss/multinomfourier/issues
Last updated from:7534812006. Checks:13 OK, 2 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 88 | ||
| linux-devel-x86_64 | OK | 131 | ||
| source / vignettes | OK | 191 | ||
| linux-release-arm64 | OK | 77 | ||
| linux-release-x86_64 | OK | 95 | ||
| macos-release-arm64 | OK | 152 | ||
| macos-release-x86_64 | OK | 347 | ||
| macos-oldrel-arm64 | OK | 193 | ||
| macos-oldrel-x86_64 | OK | 311 | ||
| windows-devel-arm64 | FAIL | 285 | ||
| windows-devel-x86_64 | OK | 139 | ||
| windows-release-arm64 | FAIL | 282 | ||
| windows-release-x86_64 | OK | 90 | ||
| windows-oldrel-x86_64 | OK | 104 | ||
| wasm-release | OK | 84 |
Exports:pval_exactpval_exhaustivepval_flexiblepval_fourier
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| MultinomFourier: p-values of multinomial goodness-of-fit tests | MultinomFourier-package MultinomFourier |
| Print method for multinomfourier objects | print.multinomfourier |
| Exact multinomial test p-value | pval_exact pval_exhaustive |
| Multinomial test p-value, choosing the method automatically | pval_flexible |
| Multinomial test p-value by Fourier series inversion | pval_fourier |
