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:
InvStablePrior_0.1.0.tar.gz
InvStablePrior_0.1.0.zip(r-4.7)InvStablePrior_0.1.0.zip(r-4.6)InvStablePrior_0.1.0.zip(r-4.5)
InvStablePrior_0.1.0.tgz(r-4.6-any)InvStablePrior_0.1.0.tgz(r-4.5-any)
InvStablePrior_0.1.0.tar.gz(r-4.7-any)InvStablePrior_0.1.0.tar.gz(r-4.6-any)
InvStablePrior_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
InvStablePrior/json (API)
| # Install 'InvStablePrior' in R: |
| install.packages('InvStablePrior', repos = c('https://dcahoy.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dcahoy/invstableprior/issues
Last updated from:6e7e9a1a8e. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 111 | ||
| source / vignettes | OK | 184 | ||
| linux-release-x86_64 | NOTE | 104 | ||
| macos-release-arm64 | NOTE | 94 | ||
| macos-oldrel-arm64 | NOTE | 118 | ||
| windows-devel | NOTE | 92 | ||
| windows-release | NOTE | 136 | ||
| windows-oldrel | NOTE | 77 | ||
| wasm-release | OK | 111 |
Exports:isdexpisexpishalfnisinvgamispoi
Dependencies:clicodacpp11fdrtoolglueigraphlatticelifecyclemagrittrMatrixnimblenumDerivpkgconfigpracmaR6rlangvctrs
