Skip to content

powerprior

1.0.0Package record

Conjugate Power Priors for Bayesian Analysis of Normal Data

0packages depend
2.2Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Implements conjugate power priors for efficient Bayesian analysis of normal data. Power priors allow principled incorporation of historical information while controlling the degree of borrowing through a discounting parameter (Ibrahim and Chen (2000) doi:10.1214/ss/1009212519). This package provides closed-form conjugate representations for both univariate and multivariate normal data using Normal-Inverse-Chi-squared and Normal-Inverse-Wishart distributions, eliminating the need for MCMC sampling. The conjugate framework builds upon standard Bayesian methods described in Gelman et al. (2013, ISBN:978-1439840955).

Changes in 1.0.0
  • Added a NEWS.md file to track changes to the package.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 355 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
21 (1 internal)includes a package overview page
Examples that run
92%11 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
92%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
10%

Downloads

2.2K
CRAN downloads in the past year
Rank #23,782 · ~6/day · ~181/mo
Daily download trend is not available in this view yet.
19730 days
53390 days
2.2K1 year
Compare downloads with other packages →
Also on68 r2u3 autocran

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing powerprior adds 66 packages (33 with compiled code, 61 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

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

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.0 (2025)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0Latest
    2025-11-11 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-11
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
33 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("powerprior")
Yamaguchi, Y., & Huang, Y. (2025). powerprior: Conjugate Power Priors for Bayesian Analysis of Normal Data (Version 1.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.powerprior

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 powerprior version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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