Skip to content

InvStablePrior

0.1.1

Inverse Stable Prior for Widely-Used Exponential Models

0packages depend
2.3Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Dexter CahoyFirst published 2022-08-232 releasesCRAN page ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 1.0 min · r-release-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
3
Dependencies · direct
Check history
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 15 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
83%

Downloads

2.3K
CRAN downloads in the past year
Rank #20,071 · ~6/day · ~190/mo
Daily download trend is not available in this view yet.
13030 days
54990 days
2.3K1 year
Compare downloads with other packages →
Also on100 r2u9 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1Latest
    2023-08-22 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    2022-08-23
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-08-23
Total releases
2 / 4 yrs
License
GPL (>= 3) OSI
Download size
5.0 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("InvStablePrior")
Cahoy, D., & Sedransk, J. (2023). InvStablePrior: Inverse Stable Prior for Widely-Used Exponential Models (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.InvStablePrior

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for InvStablePrior version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy