Package: InvStablePrior 0.1.0

InvStablePrior: Inverse Stable Prior for Widely-Used Exponential Models

Contains functions that allow Bayesian inference on a parameter of some widely-used exponential models. The functions can generate independent samples from the closed-form posterior distribution using the inverse stable prior. Inverse stable is a non-conjugate prior for a parameter of an exponential subclass of discrete and continuous data distributions (e.g. Poisson, exponential, inverse gamma, double exponential (Laplace), half-normal/half-Gaussian, etc.). The prior class provides flexibility in capturing a wide array of prior beliefs (right-skewed and left-skewed) as modulated by a parameter that is bounded in (0,1). The generated samples can be used to simulate the prior and posterior predictive distributions. More details can be found in Cahoy and Sedransk (2019) <doi:10.1007/s42519-018-0027-2>. The package can also be used as a teaching demo for introductory Bayesian courses.

Authors:Dexter Cahoy [aut, cre], Joseph Sedransk [aut]

InvStablePrior_0.1.0.tar.gz
InvStablePrior_0.1.0.zip(r-4.5)InvStablePrior_0.1.0.zip(r-4.4)InvStablePrior_0.1.0.zip(r-4.3)
InvStablePrior_0.1.0.tgz(r-4.4-any)InvStablePrior_0.1.0.tgz(r-4.3-any)
InvStablePrior_0.1.0.tar.gz(r-4.5-noble)InvStablePrior_0.1.0.tar.gz(r-4.4-noble)
InvStablePrior_0.1.0.tgz(r-4.4-emscripten)InvStablePrior_0.1.0.tgz(r-4.3-emscripten)
InvStablePrior.pdf |InvStablePrior.html
InvStablePrior/json (API)

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

Peer review:

Bug tracker:https://github.com/dcahoy/invstableprior/issues

On CRAN:

2.70 score 165 downloads 5 exports 17 dependencies

Last updated 2 years agofrom:6e7e9a1a8e. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winNOTENov 05 2024
R-4.5-linuxNOTENov 05 2024
R-4.4-winNOTENov 05 2024
R-4.4-macNOTENov 05 2024
R-4.3-winNOTENov 05 2024
R-4.3-macNOTENov 05 2024

Exports:isdexpisexpishalfnisinvgamispoi

Dependencies:clicodacpp11fdrtoolglueigraphlatticelifecyclemagrittrMatrixnimblenumDerivpkgconfigpracmaR6rlangvctrs