- Introduced by
- Thomas Bayes / Pierre-Simon Laplace
- Year
- 1763/1812
- Type
- Bayesian parameter estimation
- Family
- Classical statistics
What does it do?
Bayesian descriptive statistics summarizes a parameter by combining observed data with a prior distribution through Bayes' theorem, producing a posterior distribution over values such as the mean or variance.
Rather than a single estimate accompanied by a p-value, the result is a posterior distribution summarized by its mean or median and by a credible interval, which carries a direct probability interpretation under the chosen model and prior. The summaries describe the posterior distribution, but the method is a Bayesian parameter estimation approach rather than a hypothesis test.
The intuition behind the method
In classical descriptive statistics you report a single mean and a confidence interval whose interpretation is indirect. Bayesian descriptive statistics starts from a prior belief about the parameter, updates it with the observed data, and produces a posterior distribution that states how probable each parameter value is, given that prior and that data. A 95% credible interval means there is a 95% posterior probability that the parameter lies within that range, conditional on the model and prior; a frequentist confidence interval cannot make that statement. Uncertainty from small samples appears directly as a wider posterior, and the summary can be revised as new data arrive.
History
Bayesian inference traces to Thomas Bayes' posthumous 1763 essay, and Laplace's 1812 work developed the approach systematically. Its routine use for complex models depended on later computational methods such as MCMC, which made posterior computation practical for models without closed-form solutions. Gelman et al. (2013) and Kruschke (2014) are standard textbook treatments of Bayesian data analysis.
When to use it
Choose this approach when your question concerns the magnitude of a parameter, such as a mean or a proportion, estimated from numerical data, and you want a probability statement about where that parameter lies. It is well suited when you have prior information that should be included explicitly, when the sample is small enough that large-sample approximations are doubtful, or when data arrive in batches and the summary must be updated as they come in. Do not choose it when a prior cannot be justified and the audience requires an analysis free of prior choice, or when a classical summary is adequate and the added model specification and computation are not worth the effort.
Limitations and considerations
- The prior is a subjective input; if it is contested, the conclusions inherit that disagreement, which is why sensitivity analysis to the prior matters.
- Non-conjugate or multi-parameter models generally require MCMC, which in turn needs convergence checks such as R-hat and effective sample size.
- The posterior also depends on the likelihood, so a misspecified distribution for the data biases the summary just as it would in classical analysis.
- The posterior is valid only if its assumptions hold: observations are independent, or exchangeable, given the parameter; the chosen likelihood fits the type of data; and the prior is fixed before the data are examined. If any of these fails, the summaries can mislead however carefully they are computed.
- With vague priors and large samples the posterior approaches classical estimates, so the additional modelling effort adds little.
- Posterior distributions are less familiar to audiences trained in frequentist reporting, so results need explanation.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Credible intervals state a probability for the parameter directly, conditional on the prior and model, whereas a frequentist confidence interval describes the long-run behaviour of the procedure.
- Uncertainty from small samples appears as a wider posterior, so no large-sample standard error approximation is needed to express it.
- Prior information can be entered explicitly, for example as a normal prior for a mean, and its influence on the result can be checked against the data.
- Each new batch of data can update the posterior, so the summary can be revised without restarting the analysis.
- The full posterior shows skewness or multiple modes, which a single point estimate cannot reveal.
Applications
- Estimating a population mean or proportion from a small survey, using a prior drawn from earlier surveys where that information is available.
- Summarizing a response rate in a trial with a credible interval, updating the posterior as participants are enrolled.
- Monitoring a quality metric in manufacturing as measurements arrive in batches, updating the posterior after each batch.
- Estimating species abundance from sparse counts using a Poisson likelihood.
- Combining earlier study estimates with new data by placing an informative prior on the parameter.
How it works
How it works
Specify a prior distribution p(theta) before inspecting the data. It should encode existing knowledge about the parameter, or be a weakly informative default when no reliable prior information is available. For a population mean, a normal prior centred on a plausible value is one option; for a proportion, a Beta prior is a common choice. Once the posterior has been computed, repeat the analysis with a few alternative reasonable priors and check whether the summaries change materially.
Formula
p(\theta)
Write the likelihood p(x | theta), the probability of the observed data for each candidate parameter value. For normally distributed measurements this is a Gaussian likelihood; for counts, a Poisson or Binomial likelihood is typical.
Formula
p(x \mid \theta)
Apply Bayes' theorem so that the posterior p(theta | x) is proportional to the likelihood multiplied by the prior. The posterior has a closed form for conjugate pairs, such as a normal likelihood with a normal prior for the mean when the variance is known. Otherwise it is approximated numerically, for example by MCMC in software such as Stan or JAGS, or by variational inference.
Formula
p(\theta \mid x) \propto p(x \mid \theta)\, p(\theta)
Summarize the posterior by its mean, median, mode (MAP) and standard deviation. The posterior mean or median is usually reported as the point summary. The posterior standard deviation describes the spread of the posterior distribution; it is not a measure of repeated-sampling variability in the way a classical standard error is.
Compute a 95% credible interval from the posterior, either an equal-tailed interval or a highest-density interval (HDI). The HDI contains the most probable parameter values. As more data are added the posterior usually narrows, so the interval gives an explicit picture of the remaining uncertainty.
Formula
P(\theta_L \le \theta \le \theta_U \mid x) = 0.95
Common pitfalls
- Choosing an informative prior that dominates the data, especially when the sample is small.
- Reading a 95% credible interval as a confidence interval, or the reverse; the two answer different questions.
- Skipping convergence diagnostics (R-hat, effective sample size) when the posterior is estimated by MCMC.
- Reporting only the posterior mean and ignoring the shape of the posterior, including any skewness.
- Calling a flat prior objective: a prior that is flat on one scale is informative on a transformed scale, such as variance versus standard deviation.
Frequently asked questions
What is the difference between a credible interval and a confidence interval?
A 95% credible interval means there is a 95% posterior probability that the parameter lies within that range, given your prior, model and data. A frequentist 95% confidence interval means that if you repeated the study many times, 95% of such intervals would contain the true value. It says nothing directly about the current interval.
How do I choose a prior?
Start with weakly-informative priors (e.g., normal with a large SD, or a Half-Cauchy for scale parameters) if you have no strong prior knowledge. Use informative priors only when grounded in previous studies or domain expertise, and always conduct a sensitivity analysis to check how much your conclusions change with different prior choices.
Do I need MCMC for basic Bayesian descriptive statistics?
Not always. For conjugate models, such as a normal likelihood with known variance and a normal prior for the mean, the posterior is available in closed form. MCMC (Stan, JAGS) or approximate methods are needed when the model is non-conjugate or involves many parameters.
When should I prefer classical descriptive statistics instead?
When prior specification is politically or scientifically sensitive, when you need maximum computational simplicity, or when your sample is large enough that the prior has negligible influence and classical summaries are adequate.
What is the MAP estimate and how does it differ from the posterior mean?
The MAP (maximum a posteriori) estimate is the mode of the posterior, the single most probable parameter value. The posterior mean minimizes expected squared error and is usually preferred as a summary. They coincide for symmetric posteriors but can differ markedly for skewed distributions.
Related methods
Sources
Gelman, A., Carlin, J. B., Stern, H. S., Dunson, D. B., Vehtari, A., & Rubin, D. B. (2013). Bayesian Data Analysis (3rd ed.). CRC Press.
ISBN: 978-1439840955Kruschke, J. K. (2014). Doing Bayesian Data Analysis: A Tutorial with R, JAGS, and Stan (2nd ed.). Academic Press.
ISBN: 978-0124058880