Package: finitization 0.1.0

finitization: Moment-Preserving Finitization for Power-Series Distributions

Implements the finitization of discrete probability distributions, a technique that approximates a distribution by preserving a finite number of moments. These finitized distributions enable faster random variate generation than inverse transform sampling and are useful in simulation and statistical modeling.

Authors:Bogdan Oancea [aut, cre]

finitization_0.1.0.tar.gz
finitization_0.1.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
finitization/json (API)

# Install 'finitization' in R:
install.packages('finitization', repos = c('https://bogdanoancea.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bogdanoancea/finitization/issues

Uses libs:
  • ginac– GiNaC symbolic framework runtime library
  • cln– Class Library for Numbers
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

ginacclncpp

2.70 score 24 exports 2 dependencies

Last updated from:7ab9719f6f (on master). Checks:9 FAIL, 1 ERROR, 5 WARNING. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64FAIL208
linux-devel-x86_64FAIL211
source / vignettesERROR641
linux-release-arm64FAIL155
linux-release-x86_64FAIL172
macos-release-arm64FAIL118
macos-release-x86_64FAIL217
macos-oldrel-arm64FAIL136
macos-oldrel-x86_64FAIL211
windows-devel-arm64WARNING302
windows-devel-x86_64WARNING227
windows-release-arm64WARNING290
windows-release-x86_64WARNING185
windows-oldrel-x86_64WARNING188
wasm-releaseFAIL144

Exports:dbinomdlogdnegbinomdpoisgetBinomialMFPSgetLogarithmicMFPSgetNegativeBinomialMFPSgetPoissonMFPSpbinomplogpnegbinomppoisprintFinitizedBinomialDensityprintFinitizedLogarithmicDensityprintFinitizedNegativeBinomialDensityprintFinitizedPoissonDensityqbinomqlogqnegbinomqpoisrbinomrlogrnegbinomrpois

Dependencies:RcpprootSolve

Readme and manuals

Help Manual

Help pageTopics
The density for the finitized Binomial distribution.dbinom
The density for the Logarithmic distribution.dlog
The density for the finitized Negative Binomial distribution.dnegbinom
The density for the finitized Poisson distribution.dpois
Maximum feasible parameter space for the finitized Binomial distribution.getBinomialMFPS
Maximum feasible parameter space for the finitized Logarithmic distribution.getLogarithmicMFPS
Maximum feasible parameter space for the finitized Negative Binomial distribution.getNegativeBinomialMFPS
Maximum feasible parameter space for the finitized Poisson distribution.getPoissonMFPS
The cumulative distribution function (CDF) for the finitized Binomial distribution.pbinom
The cumulative distribution function (CDF) for the finitized Logarithmic distribution.plog
The cumulative distribution function (CDF) for the finitized Negative Binomial distribution.pnegbinom
The cumulative distribution function (CDF) for the finitized Poisson distribution.ppois
The string representation of the probability density function for the finitized Binomial distribution.printFinitizedBinomialDensity
The string representation of the probability density function for the finitized Logarithmic distribution.printFinitizedLogarithmicDensity
The string representation of the probability density function for the finitized Negative Binomial distribution.printFinitizedNegativeBinomialDensity
The string representation of the probability density function for the finitized Poisson distribution.printFinitizedPoissonDensity
The quantile function for the finitized Binomial distribution.qbinom
The quantile function for the finitized Logarithmic distribution.qlog
The quantile function for the finitized Negative Binomial distribution.qnegbinom
The quantile function for the finitized Poisson distribution.qpois
Random values generation for the finitized Binomial distribution.rbinom
Random values generation for the finitized Logarithmic distribution.rlog
Random values generation for the finitized Negative Binomial distribution.rnegbinom
Random values generation for the finitized Poisson distribution.rpois