Skip to main content
v2026.11,858 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 try

Ask about Prior vs Posterior: What Changes After the Data

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

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 free to read, with no account and no card.

How do Prior, Posterior compare side by side?

The table below compares Prior, Posterior across 9 procurement-relevant dimensions, from what it is through source.

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.
SourceSinclair A, Xie X, Saab L, Dendukuri N. CMAJ Open 2016;4(4):E706-E718, https://pmc.ncbi.nlm.nih.gov/articles/PMC5173486/; Stan Users Guide, Posterior and Prior Predictive Checks, https://mc-stan.org/docs/stan-users-guide/posterior-predictive-checks.html (read 2026-10-29).Same two sources, plus Stan Users Guide, Posterior Prediction, https://mc-stan.org/docs/stan-users-guide/posterior-prediction.html (read 2026-10-29).

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 →

Ask CASRAI · Regulatory Radar

Research-admin question? Get an answer that links its sources.

An AI assistant specialized in research administration. Every answer links its sources to check before you act. 2 questions free, no account. $29/month after.

  • Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.
  • Every answer numbers its sources and links each one, so you can check the source yourself.