Credible Intervals

Overview of Confidence Intervals

  • Confidence intervals are a frequentist concept
  • Frequentists define a 95% confidence interval as an interval that contains the population parameter 95% of the time
  • In other words, if we took 100 random samples of a population and construct 100 different 95% confidence intervals, then 95 of the 100 intervals will contain the population parameter
  • The interval we just constructed is either in the 95% that do contain the interval, or the 5% that don't contain the interval
  • The event is binary - it either is or is not in the interval - it's either a 0% or 100% of our population parameter being contained in the interval
  • For example, let's create an analogy about a game involving tossing a ring while aiming for a peg

    • The tossed ring represents our confidence interval, and the peg represents our population parameter
    • Confidence intervals are similar to the ring after it has been thrown at the peg
    • The peg is either within the ring or not

Formula for Confidence Intervals

  • The confidence interval involves the following metrics:

    • Standard Error: represents sampling error while accounting for the variable's standard deviation
    • Margin of error: represents standard error with some additional room for error
  • We typically define a confidence interval of a parameter as the following:
parameter estimate± margin of error\text{parameter estimate} ± \text{ margin of error}
  • For example, we could define a 95% confidence interval for a population mean as the following:
xˉ±1.96×sn\bar{x} ± 1.96 \times \frac{s}{\sqrt{n}}
  • Where our margin of error equals some critical value multiplied by our standard error

Overview of Credible Intervals

  • Credible intervals are a bayesian concept
  • Bayesians define a 95% credible interval as an interval with a 95% chance of containing the population parameter
  • In other words, if we took 100 random samples of a population, then we can construct a single (credible) interval from the samples and say there is a 95% chance that the population parameter is within the interval
  • For example, let's return to our analogy about a game involving tossing a ring while aiming for a peg

    • The tossed ring represents our credible interval, and the peg represents our population parameter
    • Credible intervals are similar to the ring before it has been thrown at the peg
    • There is a % chance that the ring will land around the peg

Final Notes about Confidence and Credible Intervals

  • Confidence intervals and credible intervals arrive at the same answer, but use different approaches
  • Confidence intervals essentially measure the standard error of some population parameter by sampling confidence intervals
  • Credible intervals essentially measure the standard error of some population parameter by looking at the range (or interval) after taking 95% of the data from the sampling distribution
  • Although probabilities from frequentist inference is based on long-run frequencies, probabilities from bayesian inference is based on long-run frequencies as well
  • The difference comes from a different way of representing uncertainty in parameter estimates, which comes from the inclusion of priors in bayesian inference
  • Therefore, probabilities within bayesian and frequentist inference should eventually converge to the same estimates if the prior is uninformative within the example of bayesian inference

References

Previous
Next

Maximum a Posteriori Estimation

Dynamic Systems