Bayesian Observational Quantitative Research

Statistics
Introduced by
Thomas Bayes (foundational theorem, 1763); modern applied form developed by Sander Greenland, Andrew Gelman, and colleagues (1990s–2000s)
Year
1990s–2000s (systematic application to observational research)
Type
Quantitative non-experimental research design with Bayesian inference
Family
Survey / observational design

What does it do?

Bayesian observational quantitative research is a practice label for applying Bayesian inference to quantitative data collected without experimental manipulation, such as surveys, administrative records, registries, or secondary datasets.

It is not a formally defined research design. The analyst encodes prior knowledge as probability distributions, updates them with the observed data via Bayes' theorem, and reports conclusions as posterior probability statements. It is used where randomisation is impossible or unethical, including epidemiology, social science, and health services research.

The intuition behind the method

Think of the Bayesian observational researcher as starting from what is already known, such as earlier studies, theory, or expert opinion, and then revising that belief as the new data come in. A classical frequentist analysis asks how surprising the data would be if a null hypothesis were true. A Bayesian analysis asks what should now be believed about a parameter, given both the prior information and the data. With observational data, this lets prior evidence and adjustment for measured confounders sit inside one probability model. Greenland (2006) argues that a prior can be expressed as 'prior data', so the strength of a prior assumption can be judged against the amount of data it represents.

History

Thomas Bayes' theorem was published posthumously in 1763 and generalised by Pierre-Simon Laplace. Frequentist methods dominated applied statistics for a long period. Bayesian approaches returned to applied use in the 1980s and 1990s as MCMC algorithms such as Metropolis-Hastings and Gibbs sampling made posterior computation practical. Greenland's 2006 article in the International Journal of Epidemiology sets out the foundations and basic methods of Bayesian analysis for epidemiological research. The design label 'Bayesian observational quantitative research' has no documented origin in the sources cited on this page.

When to use it

Use Bayesian observational quantitative research when: (1) randomisation is impossible or unethical and you must work with existing data; (2) prior evidence from the literature or expert knowledge is substantial enough to inform prior distributions; (3) the scientific question calls for direct probability statements about parameters rather than rejection of a null hypothesis; or (4) the sample is small or data are sparse and incorporating prior information improves estimation. Do NOT use it when data collection is still experimental, since randomised designs are analysed more naturally under their own frameworks. Avoid it when stakeholders or reviewers require strict frequentist reporting norms and prior justification would be contentious. It is also inappropriate when the analyst lacks the technical capacity to run MCMC diagnostics and validate model convergence.

Limitations and considerations

  • Prior specification requires scientific justification. A poorly chosen prior can dominate sparse data and distort conclusions.
  • MCMC computation is substantially slower than frequentist estimation, particularly for large datasets or high-dimensional models. A simpler approximate route also exists: inverse-variance (information) weighting of a prior estimate with the frequentist estimate. Expressing the prior as prior data lets the analyst gauge its strength before committing to a full MCMC analysis (Greenland, 2006).
  • Observational design cannot eliminate unmeasured confounding. Bayesian inference quantifies uncertainty about the parameters in the model but does not resolve selection bias.
  • Requires more statistical expertise (Stan, brms, MCMC diagnostics) than standard regression software.
  • Results may be hard to communicate to audiences accustomed to frequentist reporting conventions.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Produces direct probability statements about parameters (credible intervals), which answer the scientific question more intuitively than frequentist p-values.
  • Formally incorporates prior knowledge from earlier studies, reducing reliance on a single dataset and helping estimation when samples are small.
  • Propagates parametric uncertainty, including uncertainty in coefficients on measured confounders, through the posterior. It does not handle missing data on its own; that requires an explicit missing-data model.
  • Supports sensitivity analysis by varying priors and confounder assumptions within one probability framework.
  • Hierarchical Bayesian models can represent clustering directly by modelling group-level variation, provided the group structure and the cluster-level confounders are specified correctly, for example individuals within districts.
  • Posterior predictive checks give a built-in way to compare the fitted model with the observed data.

Applications

  • Estimating the effect of air pollution exposure on respiratory outcomes in large epidemiological registry data.
  • Analysing school-level predictors of student achievement in hierarchical survey datasets where districts are nested within states.
  • Evaluating drug safety signals in pharmacovigilance databases using informative priors from clinical trial evidence.
  • Modelling socioeconomic determinants of health inequality from national cross-sectional surveys with sparse subgroup counts.
  • Combining multiple waves of panel survey data with informative priors to track opinion change over time.
  • Conducting causal sensitivity analysis for unmeasured confounding in occupational cohort studies.

How it works

How it works

1

Before examining the current dataset, the analyst encodes existing knowledge about each parameter of interest, drawn from previous studies, theoretical constraints, or expert elicitation, as a prior probability distribution p(theta). Weakly informative priors (e.g., half-Normal, Student-t) are common defaults. Strongly informative priors need explicit scientific justification and sensitivity analysis. Greenland (2006) suggests that a prior is more defensible when it can be written as prior data, because its weight can then be compared with the actual sample.

Formula
p(\theta)
2

Data are gathered through observational means: cross-sectional surveys, cohort follow-ups, case-control sampling, administrative records, or secondary datasets. No randomisation or controlled assignment is applied. The researcher documents the sampling frame, response rates, missing-data patterns, and potential sources of confounding before analysis.

3

A statistical model (regression, hierarchical, latent-variable, or time-series) is chosen to represent how the observed outcomes y arise from parameters theta. The likelihood p(y | theta) gives how probable the observed data are under each candidate parameter value, and it supplies the evidence term in Bayes' theorem.

Formula
p(y \mid \theta)
4

Bayes' theorem combines the prior and the likelihood: p(theta | y) is proportional to p(y | theta) times p(theta). For complex models, the posterior is approximated by Markov chain Monte Carlo (MCMC) sampling or variational inference, using software such as Stan, JAGS, or brms. Convergence diagnostics (R-hat, effective sample size) are checked before any conclusion is drawn.

Formula
p(\theta \mid y) \propto p(y \mid \theta)\, p(\theta)
5

Because the data are observational, confounding must be addressed explicitly. Common strategies include adding confounders as model covariates, Bayesian propensity-score weighting, sensitivity analyses across a range of unmeasured-confounding scenarios, and priors informed by causal DAGs. The adjustment set should start from a causal diagram (DAG) that lists the exposure, the outcome, and the variables that plausibly affect both. Variables that affect both exposure and outcome are confounders and should generally be adjusted for. Mediators on the causal path from exposure to outcome should not be adjusted for when the total effect is the target, and colliders (variables caused by both exposure and outcome) should not be conditioned on, since this can introduce bias. Adjustment for measured covariates is adequate only if the diagram is correct and all relevant confounders were measured. The Bayesian framework carries uncertainty about confounder effects through the whole analysis, but it does not remove confounding that was never measured.

6

Results are summarised as posterior distributions, credible intervals (e.g., 95% highest-density intervals), and posterior predictive checks. A credible interval supports a statement of the form 'there is a 95% probability that the parameter lies between A and B', which a frequentist confidence interval does not provide. Sensitivity to prior choice is reported as a robustness check.

Common pitfalls

  • Using flat or uninformative priors when strong prior evidence exists discards information and can yield implausible posterior estimates, especially with small samples.
  • Skipping convergence diagnostics: an MCMC chain that has not converged produces posterior samples that cannot be interpreted. Check R-hat (target below 1.01) and effective sample size before reporting.
  • Treating credible intervals as if they solve the confounding problem. They quantify parametric uncertainty, not the causal gap left by unmeasured confounders.
  • Omitting sensitivity analysis over prior choice. Without it, readers cannot judge how far the conclusions depend on the analyst's prior beliefs rather than the data.
  • Conflating Bayesian inference with causal inference. The framework updates probabilities; it is not a substitute for a causal identification strategy such as an instrumental variable, regression discontinuity, or difference-in-differences design.

Frequently asked questions

What makes this different from standard Bayesian regression?

Standard Bayesian regression describes a model and an estimation method. An observational design adds concerns that the model alone does not solve: confounding, selection bias, and the absence of randomisation. These must be handled explicitly, usually through covariate adjustment, propensity methods, and sensitivity analysis, alongside the Bayesian estimation. The sources cited here do not define 'Bayesian observational quantitative research' as a formal design category, so the label is best read as a description of this combination.

Do I need informative priors, or can I use vague priors throughout?

Weakly informative priors are a common practical default. For example, a Normal(0, 2.5) prior on the log-odds scale for regression coefficients is one widely used choice that keeps estimates within plausible ranges. Its suitability depends on the model and outcome scale and should be justified for the specific analysis. Fully flat priors are rarely advisable because they can yield improper posteriors or implausible estimates. Strongly informative priors are appropriate when high-quality prior evidence exists, but must be accompanied by a sensitivity analysis showing how conclusions change as the prior is varied.

How do I handle confounding in a Bayesian observational study?

The most common approach is to include measured confounders as covariates in the Bayesian regression model, letting the posterior distribution over their coefficients propagate uncertainty through to the target parameter. For unmeasured confounding, a Bayesian sensitivity analysis can place a prior over the assumed strength of an unmeasured confounder and report how the posterior for the target parameter shifts across those assumptions. This shows how sensitive the conclusions are to the assumption. It does not identify the causal effect and does not remove residual confounding; the result is only as credible as the stated assumptions.

Which software is used for Bayesian observational analysis?

Stan (via the RStan or CmdStanR interfaces) is the most flexible and widely used platform, supporting arbitrary model specifications. The brms R package provides a formula-based interface to Stan that covers the majority of regression models without writing Stan code directly. JAGS and BUGS are older alternatives. Python users can use PyMC. For routine hierarchical regression, the rstanarm package offers pre-compiled Stan models with minimal setup.

Can Bayesian methods establish causal inference from observational data?

Not by themselves. Bayesian inference is a framework for updating probability beliefs about parameters. It does not create the causal identification that comes from randomisation or a valid natural experiment. To make causal claims from observational data, you still need a causal identification strategy (e.g., instrumental variable, regression discontinuity, difference-in-differences). The Bayesian framework can then be applied within that strategy to estimate parameters and quantify uncertainty.

Related methods

Sources

  1. 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-1439840955
  2. Greenland, S. (2006). Bayesian perspectives for epidemiological research: I. Foundations and basic methods. International Journal of Epidemiology, 35(3), 765–775.

    Open DOI reference