1 Week 1- Bayesian inference.

1.3 Credibility and Confidence intervals

Credibility intervals

Thus, a region Cα(x) is a 100(1-α)% credible region for θ if

Cα(x)π(θx)𝑑θ=1-α.

That is, there is a probability of 1-α, based on the posterior distribution, that θ lies in Cα(x).

Some Bayesians argue that credible intervals have little value since it is the entire posterior distribution which contains the information for inference and that credible intervals have only been proposed in order to give something comparable to confidence intervals.

Credibility intervals

One difficulty with credible intervals (in common with confidence intervals) is that they are not uniquely defined. Any region with intervals) is that they are not uniquely defined. Any region with probability 1-α will do. Since we want the interval to contain only the ‘most plausible’ values of the parameter, it is usual to impose an additional constraint which is that the width of the interval should be as small as possible. This amounts to an interval (or region) of the form

Cα(x)={θ:π(θx)γ}

where γ is chosen to ensure that

Cα(x)π(θx)𝑑θ=1-α.

Credibility intervals

These two properties can be described concisely as:

(1) p(θCα(x))=1-α
(2) θ1Cα(x),θ2Cα(x)π(θ1x)>π(θ2x)

Such regions are called highest posterior density regions. In general, these intervals have to be found numerically

Figure 1.17: Link, Caption: Both plots display 95% Credible intervals. However the top one is a HPD found using the hpd(qgamma,shape=3,rate=.10) command in the TeachingDemos R package. The second one is a quantile based CI: qgamma(c(.025,.975),shape=3,rate=.10)

Interval estimation

Confidence interval and credible intervals

Confidence Interval- Probability that a sequence of intervals (obtained under repeated sampling) includes a parameter θ (which is assumed fixed but unknown);
Credible Interval - Probability that a variable parameter θ is included in a fixed interval.
In the first the intervals vary in the second the parameter varies but the interval is fixed. Practitioners frequently confuse these two types of interval.

Confidence intervals and coverage

Figure 1.18: Link, Caption: The diagram illustrates coverage over a 95% confidence interval. Under repeated sampling the CI contains the true value 95% of the time .