Description Usage Arguments Value Author(s) References Examples
View source: R/DS.posterior.reduce.R
A function that determines the posterior expectations E(θ_0 | y_0) and posterior modes for a set of observed data.
1 | DS.posterior.reduce(DS.GF.obj, exposure)
|
DS.GF.obj |
Object resulting from running DS.prior function on a data set. |
exposure |
In the case of the Poisson family with exposure, represents the exposure values for the count data. |
Returns k \times 4 matrix with the columns indicating PEB mean, DS mean, PEB mode, and DS modes for k observations in the data set.
Doug Fletcher
Mukhopadhyay, S. and Fletcher, D., 2018. "Generalized Empirical Bayes via Frequentist Goodness of Fit," Nature Scientific Reports, 8(1), p.9983, https://www.nature.com/articles/s41598-018-28130-5.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.