Description Usage Arguments Value Author(s) See Also Examples
View source: R/PostSummaries.R
Computes r-values assuming that, for each parameter of interest, the user supplies a value for the posterior mean and the posterior standard deviation. The assumption here is that the posterior distributions are Normal.
1 2 |
post.means |
a vector of posterior means |
post.sds |
a vector of posterior standard deviations |
hypers |
a list with two elements: mean and sd. These represent the parameters in the (Normal) prior which was used to generate the posterior means and sds. If hypers is not supplied then one must supply the quantile function qtheta. |
qtheta |
a function which returns the quantiles (for upper tail probs.) of theta. If this is not supplied, the hyperparameter must be supplied. |
alpha.grid |
grid of values in (0,1); used for the discrete approximation approach for computing r-values. |
ngrid |
number of grid points for alpha.grid; only relevant when |
smooth |
either |
An object of class "rvals"
Nicholas Henderson and Michael Newton
1 2 3 4 5 6 7 8 9 10 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.