InvStablePrior

Inverse Stable Prior for Widely-Used Exponential Models

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 186 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 11 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
6 downloadsMar 3, 2025
18 downloadsMar 4, 2025
6 downloadsMar 5, 2025
4 downloadsMar 6, 2025
4 downloadsMar 7, 2025
5 downloadsMar 8, 2025
2 downloadsMar 9, 2025
3 downloadsMar 10, 2025
9 downloadsMar 11, 2025
7 downloadsMar 12, 2025
9 downloadsMar 13, 2025
3 downloadsMar 14, 2025
7 downloadsMar 15, 2025
2 downloadsMar 16, 2025
2 downloadsMar 17, 2025
11 downloadsMar 18, 2025
5 downloadsMar 19, 2025
12 downloadsMar 20, 2025
9 downloadsMar 21, 2025
5 downloadsMar 22, 2025
5 downloadsMar 23, 2025
13 downloadsMar 24, 2025
4 downloadsMar 25, 2025
2 downloadsMar 26, 2025
4 downloadsMar 27, 2025
8 downloadsMar 28, 2025
1 downloadsMar 29, 2025
6 downloadsMar 30, 2025
3 downloadsMar 31, 2025
11 downloadsApr 1, 2025
0 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
1
18

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,450 times in the last 365 days. Consider this 'mid-tier influencer' status—if it were a TikTok, it would get a nod from nieces and nephews. The day with the most downloads was Sep 11, 2024 with 29 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports2 packages