Solve the Empirical Bayes Normal Means Problem
Extract posterior means from a fitted EBNM model
Obtain credible intervals using a fitted EBNM model
Add sampler to an ebnm_object
Solve the EBNM problem using an ash family of distributions
Check a custom ebnm function
Solve the EBNM problem using the "deconvolveR" family of distributions
Solve the EBNM problem using a flat prior
Solve the EBNM problem using generalized binary priors
Solve the EBNM problem for grouped data
Solve the EBNM problem using horseshoe priors
Solve the EBNM problem using scale mixtures of normals
Solve the EBNM problem using normal priors
Solve the EBNM problem using the family of all distributions
Solve the EBNM problem using point-exponential priors
Solve the EBNM problem using point-Laplace priors
Solve the EBNM problem using a point mass prior
Solve the EBNM problem using point-normal priors
Set scale parameter for scale mixtures of normals
Set scale parameter for NPMLE and deconvolveR prior family
Set scale parameter for nonparametric unimodal prior families
Solve the EBNM problem using unimodal nonnegative distributions
Solve the EBNM problem using unimodal nonpositive distributions
Solve the EBNM problem using symmetric unimodal distributions
Solve the EBNM problem using unimodal distributions
Solve the EBNM problem
Extract posterior estimates from a fitted EBNM model
Constructor for gammamix class
Constructor for horseshoe class
Constructor for laplacemix class
Extract the log likelihood from a fitted EBNM model
Get the number of observations used to fit an EBNM model
Plot an ebnm object
Use the estimated prior from a fitted EBNM model to solve the EBNM pro...
Print an ebnm object
Print a summary.ebnm object
Obtain posterior quantiles using a fitted EBNM model
Calculate residuals for a fitted EBNM model
Sample from the posterior of a fitted EBNM model
Summarize an ebnm object
Extract posterior variances from a fitted EBNM model
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.