# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "MultinomFourier" in publications use:' type: software license: GPL-2.0-or-later title: 'MultinomFourier: p-Values of Multinomial Goodness-of-Fit Tests by Fourier Series Inversion' version: '1.0' doi: 10.32614/CRAN.package.MultinomFourier abstract: '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: - family-names: Thraves given-names: Charles - family-names: Rivas given-names: Pablo email: pablo.rivas.g@ug.uchile.cl - family-names: Subiabre given-names: Felipe repository: https://pabrvss.r-universe.dev commit: 7534812006cf08d63a6df6c7e33bb9befbd0bdec date-released: '2026-10-30' contact: - family-names: Rivas given-names: Pablo email: pablo.rivas.g@ug.uchile.cl