Skip to content

InvStablePrior

0.1.1Package record

Inverse Stable Prior for Widely-Used Exponential Models

0packages depend
2.4Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

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
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespaces in Imports field not imported from:
  ‘fdrtool’ ‘nimble’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 56 s · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 15 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
6includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
83%

Downloads

2.4K
CRAN downloads in the past year
Rank #19,807 · ~7/day · ~202/mo
Daily download trend is not available in this view yet.
27230 days
65590 days
2.4K1 year
Compare downloads with other packages →
Also on68 r2u3 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing InvStablePrior adds 15 packages (8 with compiled code, 12 MB of source tarballs). Heaviest: igraph 4.8 MB, nimble 3.2 MB, vctrs 1.0 MB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2022)
Releases (2)

Pick two releases to compare their code metrics.

  • 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
    record
    2023-08-22 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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