A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Bayesian Statistics: Prior, Posterior, Credible Intervals

College Depth 99 in the knowledge graph ☐ I know this ☆ Set as goal
215topics build on this
504prerequisites beneath it
See this on the map →
Bayes' Theorem and Statistical InferenceProbability Density Functions and Continuous Distributions+1 more→→Conjugate PriorsIntroduction to Bayesian Inference+1 more
bayesian inference

Core Idea

Bayesian updating: posterior ∝ likelihood × prior. Posterior distribution of θ summarizes belief after seeing data. Credible intervals [a,b] satisfy P(θ∈[a,b]|data)=0.95, directly answering 'where is θ?' Unlike frequentist CIs, these are probability statements about θ.

Explainer

From Bayes' theorem, you know that P(A|B) = P(B|A)·P(A)/P(B). Bayesian statistics is what happens when A is a hypothesis about a parameter θ and B is the data you observed. Before seeing data, you have a prior distribution π(θ) that encodes your beliefs (or lack thereof) about θ. It is a full probability distribution — not just a point estimate, but a spread of plausibility over all possible values of θ. After observing data x, you update this belief using the data's likelihood L(θ; x) = f(x|θ), the probability of seeing your data if θ were the true value.

The update formula is the fundamental equation: posterior ∝ likelihood × prior, written π(θ|x) ∝ f(x|θ) · π(θ). The proportionality hides the normalizing constant (the marginal likelihood ∫ f(x|θ) π(θ) dθ), which makes the posterior integrate to 1 but plays no role in inference about θ. Intuitively: the prior says "here is where I thought θ lived before"; the likelihood says "here are the values of θ that make my data probable"; the posterior says "here is where I believe θ lives now, combining both signals." Regions where the prior is high and the likelihood is high become regions where the posterior is especially concentrated.

The posterior distribution is the complete answer to a Bayesian inference problem — not a number, but a distribution. From it you can extract any summary you want. The posterior mean E[θ|x] and posterior mode (MAP estimate) are both point summaries. A credible interval [a, b] with coverage 1 − α is any interval satisfying P(θ ∈ [a, b] | x) = 1 − α — a direct probability statement about where θ lies. This is what people often *want* from a confidence interval but cannot get: a 95% credible interval literally means "given my prior and this data, I am 95% sure θ is in [a, b]." A frequentist confidence interval means something more convoluted (it describes a procedure that covers the true θ 95% of the time across hypothetical repetitions), not a probability about this particular θ.

The practical power of the Bayesian framework is most visible when you have genuine prior information — domain knowledge about plausible parameter ranges, previous experiments, or regularizing constraints — and when you need to propagate uncertainty rather than just report a point estimate. The prior is often criticized as subjective, but this objection weakens as data accumulates: with sufficient data, the likelihood dominates the prior, and posteriors from different reasonable priors converge. The Bayesian framework also naturally handles hierarchical models (priors on priors), sequential updating (the posterior from one study becomes the prior for the next), and prediction via the posterior predictive distribution p(x̃|x) = ∫ f(x̃|θ) π(θ|x) dθ — integrating over all uncertainty in θ rather than plugging in a point estimate.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Probability Density Functions and Continuous Distributions → Cumulative Distribution Functions → Continuous Random Variables → Probability Density Functions → Expected Value → Weak Law of Large Numbers → Probability Axioms and Rules → Conditional Probability → Conditional Distributions → Bivariate Normal Distribution → Normal Distribution: Properties and Fundamentals → Central Limit Theorem: Rigor and Applications → Confidence Intervals: General Framework → Margin of Error and Sample Size → Bayesian Statistics: Prior, Posterior, Credible Intervals

Longest path: 100 steps · 504 total prerequisite topics

Prerequisites (3)

Leads To (3)