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.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://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:7062b8b75f. Checks:8 OK, 2 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 85 | ||
| linux-devel-x86_64 | OK | 113 | ||
| source / vignettes | OK | 201 | ||
| linux-release-arm64 | OK | 79 | ||
| linux-release-x86_64 | OK | 105 | ||
| windows-devel-arm64 | FAIL | 173 | ||
| windows-devel-x86_64 | OK | 104 | ||
| windows-release-arm64 | FAIL | 185 | ||
| windows-release-x86_64 | OK | 95 | ||
| wasm-release | OK | 82 |
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 |
