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.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | posterior (≥ 1.4.0), ggplot2 |
| Suggests: | brms, smoothbp, cmdstanr, testthat (≥ 3.0.0) |
| Published: | 2026-06-29 |
| DOI: | 10.32614/CRAN.package.fibr |
| Author: | Aidan D Bindoff |
| Maintainer: | Aidan D Bindoff <aidan.bindoff at utas.edu.au> |
| BugReports: | https://github.com/ABindoff/fibr/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/ABindoff/fibr, https://doi.org/10.5281/zenodo.20724550 |
| NeedsCompilation: | no |
| SystemRequirements: | Cargo (Rust's package manager), rustc >= 1.65.0, xz |
| Additional_repositories: | https://stan-dev.r-universe.dev |
| Citation: | fibr citation info |
| Materials: | README, NEWS |
| CRAN checks: | fibr results |
| Reference manual: | fibr.html , fibr.pdf |
| Package source: | fibr_0.1.1.tar.gz |
| Windows binaries: | r-devel: fibr_0.1.1.zip, r-release: fibr_0.1.1.zip, r-oldrel: fibr_0.1.1.zip |
| macOS binaries: | r-release (arm64): fibr_0.1.1.tgz, r-oldrel (arm64): fibr_0.1.1.tgz, r-release (x86_64): fibr_0.1.1.tgz, r-oldrel (x86_64): fibr_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=fibr to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.