Skip to main content
v2026.11,986 entries · CC-BY 4.0

Direct comparison

Prior vs Posterior: What Changes After the Data

Prior vs posterior: the difference between them, how the data update one into the other, and when a prior pulls the result. Sourced side-by-side table.

Written and maintained by CASRAI Editorial Board

Last updated

Ask CASRAI · free to tryQuestion about this comparison? Ask CASRAI answers with linked sources. 2 free questions a day, no account.

Ask your first question freeSubscribe

How do Prior and Posterior compare side by side?

The table below compares Prior and Posterior across 8 dimensions, from what it is to when to look at each.

Side-by-side comparison

DimensionPriorPosterior
What it isThe distribution that reflects any information we have about the parameter from a source external to the observed data (Sinclair et al., CMAJ Open 2016).The result of a Bayesian analysis, expressed as the distribution of the unknown parameters (Sinclair et al., CMAJ Open 2016).
Where its information comes fromOutside the data being analysed.The prior and the likelihood, the information from the observed data, combined in accordance with Bayes' theorem.
Role of the observed dataNone: it is specified from external information.Central: the observed data enter through the likelihood.
Conditioning in the predictive formPrior predictive distribution: conditions on no data (Stan Users Guide).Posterior predictive distribution: conditions on the observed data (Stan Users Guide).
Predictive formLike the posterior predictive distribution, but with no observed data.The distribution over new observations given previous observations: p(ỹ | y) = ∫ p(ỹ | θ) p(θ | y) dθ.
When the prior is more informative than the likelihoodIs the reference the posterior sits closer to.Is located closer to the prior distribution (Sinclair et al.).
When the prior is vagueHas little or no influence over the final results (Sinclair et al.).Is driven mainly by the observed data.
When to look at eachTo see what was assumed before the data, and to run a prior predictive check.To see what is concluded after the data, and to run a posterior predictive check.

Ask CASRAI · free to try

Ask about Prior vs Posterior: What Changes After the Data

2 free questions a day, no account.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Common questions

Common questions about Prior vs Posterior

What is the difference between prior and posterior?

+

The prior reflects information about a parameter from a source external to the observed data. The posterior is the updated distribution after that prior is combined with the likelihood, the information from the observed data, in accordance with Bayes' theorem.

Does the prior affect the posterior?

+

Yes, to a degree that depends on how informative it is. When the prior is more informative than the likelihood, the posterior is located closer to the prior; a vague prior has little or no influence over the final results (Sinclair et al., CMAJ Open 2016).

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →