Skip to content

Prior-Fraction Diagnostics for Hierarchical Models

0packages depend
1Kdownloads / year
77.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.1
  • Update Zenodo DOI to 10.5281/zenodo.20724550 (version 0.1.1 archive).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 56 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-06-30
Advisories

none known

Documentation

In release 0.1.1
READMEYes · 595 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.1Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
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

1K
CRAN downloads in the past year
Rank #14,990 · ~3/day · ~84/mo
Daily download trend is not available in this view yet.
30830 days
80690 days
1K1 year
Compare downloads with other packages →
Also on21 r2u5 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
2Releases
47Commits
1Commit identities
47 commits · Last activity 2026-06-23
Responsiveness
not measured
PracticesBeta

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.

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-05-29
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Commits: at least 37 crediting it in the message
Models named in its commits
  • Claude Sonnet 4.637 commits · May to Jun 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing fibr adds 31 packages (14 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 4.1.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.1 (2026)
Releases (1)
  • 0.1.1Latest
    2026-06-29 · current release
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fibr version 0.1.1 [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