Solve the Empirical Bayes Normal Means Problem
Overview
Provides simple, fast, and stable functions to fit the normal means model using empirical Bayes. For available models and details, see function ebnm(). Our JSS article, Willwerscheid, Carbonetto, and Stephens (2025) doi:10.18637/jss.v114.i03, provides a detailed introduction to the package.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 41
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 12%
- Documented parameters
- 99%
- Return-value docs
- 88%
- Help pages citing references
- 12%
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/stephenslab/ebnm on 2026-10-18.
Dependencies
Installing ebnm adds 36 packages (18 with compiled code, 25 MB of source tarballs). Heaviest: ggplot2 6.0 MB, invgamma 2.5 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Maintainer since 1.0-9 (2022)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1-42Latest
- 1.1-38
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1-22023-10-12 · diff ↗ ·
removed 2 exports
output_all, output_defaultadded 10 exports
ebnm_add_sampler, ebnm_flat, ebnm_generalized_binary, ebnm_group, ebnm_output_all, ebnm_output_default, ebnm_point_mass, ebnm_scale_normalmix, ebnm_scale_npmle, ebnm_scale_unimix - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0-92022-03-08
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-08
- Total releases
- 4 / 4 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.3.0
- Bundled data
- 11 KB / 1 file
- Download size
- 585 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("ebnm")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v114.i03.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.