Bayesian credible interval for a normal prior distribution
Source:R/statpsych1.R
ci.bayes.normal.Rd
Computes an approximate Bayesian credible interval for a normal prior distribution. This function can be used with any parameter estimator (e.g., mean, mean difference, linear contrast of means, slope coefficient, standardized mean difference, standardized linear contrast of means, median, median difference, linear contrast of medians, etc.) that has an approximate normal sampling distribution. The mean and standard deviation of the posterior normal distribution are also reported.
Value
Returns a 1-row matrix. The columns are:
Posterior mean - posterior mean of Normal distribution
Posterior SD - posterior standard deviation of Normal distribution
LL - lower limit of the credible interval
UL - upper limit of the credible interval