Prior-Fraction Diagnostics for Hierarchical Models
Overview
Computes the prior fraction, the per-group pooling or shrinkage factor, for hierarchical models, including directly from 'brms' fits. For each group-level coefficient the prior fraction is the share of the posterior precision contributed by the shrinkage prior relative to the likelihood; values near one indicate a coefficient that is prior-dominated (the centring/non-centring funnel regime), values near zero indicate a likelihood-dominated coefficient that is well identified from the data. These quantities are invisible to standard convergence diagnostics such as R-hat and effective sample size, and they indicate where a non-centred reparameterisation is likely to help. A companion advisor reports the same decomposition for changepoint random effects fitted with 'smoothbp'. The underlying geometry (the Fisher-metric connection on the base-fiber split, for which this connection is flat so the obstruction is statistical rather than geometric) is described in Bindoff (2026) doi:10.5281/zenodo.20724550; code reproducing the paper is in the package's source repository.
- Update Zenodo DOI to
10.5281/zenodo.20724550(version 0.1.1 archive).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-06-30
Documentation
- Help pages
- 2
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/abindoff/fibr on 2026-10-18.
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-05-29Named in .Rbuildignore: .claudeNamed in .gitignore: .claudeCommits: at least 37 crediting it in the message
- Claude Sonnet 4.637 commits · May to Jun 2026
Dependencies
Code & Tests
People & History
- 0.1.1Latest2026-06-29 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-29
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Additional repositories
- stan-dev.r-universe.dev
- Minimum R
- ≥ 4.1.0
- Download size
- 21 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("fibr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5281/zenodo.20724550.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
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.