Bayesian Cohort Study

Statistics
Introduced by
Bayesian framework: Thomas Bayes / Pierre-Simon Laplace; applied to cohort epidemiology from the 1990s onward
Year
1990s–2000s (widespread adoption in epidemiology)
Type
Observational longitudinal study with Bayesian inference
Family
Clinical / epidemiology

What does it do?

A Bayesian cohort study follows a defined group of individuals over time to estimate incidence, risk, or rate of outcomes, while using Bayesian statistical inference to incorporate prior knowledge and quantify uncertainty through posterior probability distributions rather than classical p-values and confidence intervals.

It combines the longitudinal observational design of a cohort study with the probability-updating logic of Bayesian analysis, allowing richer uncertainty quantification and sequential updating as data accumulate.

The intuition behind the method

In a standard cohort study you recruit a group of people, observe who develops the outcome over time, and then compute a frequentist incidence rate or hazard ratio with a 95% confidence interval. A Bayesian cohort study does the same follow-up but asks: given what we already knew before the study (encoded as a prior distribution), and given the new data we just collected (the likelihood), what should we now believe about the true risk or hazard (the posterior distribution)? The posterior is a full probability curve — you can read off the probability that the risk exceeds any threshold, communicate credible intervals that many readers find more direct to interpret than frequentist confidence intervals, and update your beliefs again when the next wave of data arrives.

History

Bayesian probability theory traces to Thomas Bayes (1763) and was extended by Pierre-Simon Laplace. Its use in epidemiology gained traction from the 1990s as Markov Chain Monte Carlo algorithms became computationally feasible. Greenland's 2006 article in the International Journal of Epidemiology argued that Bayesian analyses can be carried out with common software and that priors can be expressed as prior data, so their strength can be judged.

When to use it

Choose a Bayesian cohort study when there is substantive prior evidence, such as earlier cohort results, meta-analytic estimates, or structured expert elicitation, that you intend to combine formally with the new follow-up data. It also fits questions best answered with posterior probability statements about a risk, rate, or hazard ratio. It suits analyses that will be updated as follow-up accumulates, where the posterior from one wave serves as the prior for the next, and studies with few outcome events, where a justified prior can stabilise estimates. Do not choose it when the prior cannot be defended to the intended audience, because the prior would then drive the conclusions, or when the analysis must follow a purely frequentist hypothesis-testing framework. When the sample is large, no informative prior is available, and no sequential updating is planned, a conventional cohort analysis with mixed-effects or Cox models is simpler and usually sufficient.

Limitations and considerations

  • Prior specification requires justification; poorly chosen or undisclosed priors can bias results without being obvious to readers.
  • MCMC computation is slower and more technically demanding than standard frequentist software; convergence must be verified.
  • Results may be harder to communicate to clinical or policy audiences unfamiliar with posterior distributions and credible intervals.
  • Some journals and reviewers still expect a frequentist primary analysis, so a Bayesian analysis may be placed in supplementary material.

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

Strengths

  • Lets prior evidence from earlier cohorts, meta-analyses, or expert elicitation enter the analysis formally, which can add precision when outcome events are few, provided the prior is justified and its strength is reported.
  • Produces posterior probabilities that are directly interpretable (e.g., 'probability that incidence rate exceeds X') — more intuitive than frequentist p-values.
  • Supports sequential and adaptive analyses: posterior from one wave becomes the prior for the next, enabling transparent belief updating.
  • Credible intervals have the probabilistic interpretation that frequentist confidence intervals are commonly (incorrectly) assumed to have.
  • Hierarchical structures, such as partial pooling of estimates across subgroups or sites, are written directly into the prior and likelihood, so uncertainty at each level carries through to the final posterior. Unobserved or partially observed quantities can likewise be modelled as additional unknown parameters.

Applications

  • Estimating cancer incidence or relative risks in occupational or environmental cohorts, using prior data from registry studies.
  • Monitoring vaccine effectiveness in post-licensure cohort surveillance, updating estimates as follow-up accrues.
  • Assessing cardiovascular event rates in longitudinal patient cohorts where informative priors exist from clinical trials.
  • Estimating rare-disease incidence in registry-based cohorts, where shrinkage toward a prior stabilises estimates for small cells.
  • Pharmacoepidemiological safety cohorts in which a Bayesian analysis is reported as a secondary analysis alongside a frequentist primary analysis.

How it works

How it works

1

Define the cohort: the target population, eligibility criteria, exposure of interest, outcome(s), and planned follow-up duration. Pre-register the analysis plan including the choice of prior distributions and the likelihood model. This step mirrors standard cohort-study planning and is critical for transparency.

2

Specify prior distributions p(theta) for each key parameter (e.g., incidence rate, hazard ratio). Priors may be informative (based on earlier studies or expert opinion), weakly informative, or non-informative. Sensitivity analyses with alternative priors should be planned at this stage.

Formula
p(\theta)
3

Recruit the cohort and follow participants prospectively (or extract records retrospectively). Measure exposure status, covariates, and outcome occurrence at regular intervals. Standard cohort-study data quality principles apply: minimize loss to follow-up and address time-varying confounders.

4

Construct the likelihood function L(theta | data) that connects the observed outcomes to the parameters of interest. Common models include Poisson regression for incidence rates, Cox or Weibull models for time-to-event outcomes, and logistic regression for binary outcomes. Each carries assumptions that should be checked before the posterior is interpreted. Poisson models assume a constant event rate within each stratum (or an explicitly modelled rate over time), with person-time entered as an offset. Cox and Weibull models assume non-informative censoring; Cox models also assume proportional hazards, which can be examined with Schoenfeld-type residuals or posterior predictive checks; Weibull models assume the chosen parametric shape fits the observed hazard, which posterior predictive checks can assess. Logistic regression estimates odds rather than risk, so risk is obtained only after conversion, for example from a stated baseline risk. In Bayesian settings these models are coded in probabilistic programming languages such as Stan or JAGS.

Formula
L(\theta | \text{data})
5

Combine prior and likelihood via Bayes' theorem to obtain the posterior distribution p(theta | data) proportional to p(theta) times L(theta | data). Estimation is typically performed with Markov Chain Monte Carlo (MCMC) sampling. Convergence diagnostics (Gelman-Rubin R-hat, trace plots) must be assessed before summarising results.

Formula
p(\theta | \text{data}) \propto p(\theta) \cdot L(\theta | \text{data})
6

Summarise posterior distributions with point estimates (posterior median or mean), 95% credible intervals, and probability statements (e.g., 'probability that HR > 1 is 0.97'). Report prior specifications and sensitivity analyses, and express each prior as prior data (data equivalents) so that its effective sample size is visible to readers. Where practical, present the frequentist estimate from the same data alongside the posterior so readers can see how far the prior has moved the result. Check for prior-data conflict by comparing the prior with the observed data. If the posterior is largely determined by the prior, label the conclusion as prior-driven rather than as new evidence. Follow STROBE cohort reporting guidelines and supplement with Bayesian-specific items such as prior justification and MCMC diagnostics.

Common pitfalls

  • Choosing an informative prior to deliberately support a desired conclusion — prior sensitivity analyses must be reported so readers can judge robustness. Stating the prior as prior data, with its effective sample size, makes its strength easier to judge.
  • Failing to assess MCMC convergence before reporting posteriors — non-converged chains produce meaningless parameter estimates.
  • Conflating credible intervals with confidence intervals in interpretation — both are valid but they answer different questions; do not mix the language.
  • Ignoring the standard cohort-study threats to validity (selection bias, loss to follow-up, time-varying confounding) — Bayesian inference does not resolve design flaws.
  • Applying an uninformative prior when strong external evidence exists — this discards useful information and can make the analysis look like a frequentist one without its main advantages.

Frequently asked questions

Is a Bayesian cohort study observational or experimental?

It is observational. The 'Bayesian' part refers to the statistical analysis framework, not the study design. The cohort design — following a defined group over time without experimental manipulation — is unchanged. Bayesian methods are applied at the analysis stage to estimate incidence, risk, or hazard parameters.

How do I choose the prior distribution?

Priors should reflect genuine pre-study knowledge: published meta-analyses, earlier cohort data, or structured expert elicitation. When external evidence is sparse, a weakly informative prior centred on no effect and wide enough to cover plausible effect sizes is a common starting point. A log hazard ratio can be positive or negative, so a prior on it should have support on both sides of zero; reserve half-normal priors for strictly positive scale parameters such as standard deviations. State the chosen prior and its effective prior data size, and run sensitivity analyses with at least one alternative prior to show how robust conclusions are.

Can I use standard software like R or Stata?

Yes. The Stan probabilistic programming language (via the RStan or CmdStanR R interfaces) is the most widely used platform for Bayesian cohort models. JAGS (via rjags) is an alternative. Bayesian survival models are also available through the brms R package, which provides a formula-based interface to Stan. Standard frequentist cohort analyses in R or Stata can be re-specified in these Bayesian tools with modest additional effort.

Does Bayesian analysis make up for a small cohort?

Informative priors can improve precision when the cohort has few events, but they cannot rescue a fundamentally underpowered study. If the prior dominates because the data are too sparse, conclusions reflect prior beliefs more than the new evidence. Transparent reporting of this trade-off and prior sensitivity analyses is essential.

How does this differ from a Bayesian randomized clinical trial?

The fundamental difference is design: a randomized clinical trial assigns exposure experimentally, enabling causal inference; a cohort study observes naturally occurring exposures and must control for confounding analytically. Both can use Bayesian inference at the analysis stage, but confounding control (via propensity scores, regression adjustment, or g-methods) remains essential in the cohort version and unnecessary in a properly randomized trial.

Related methods

Sources

  1. Spiegelhalter, D. J., Abrams, K. R., & Myles, J. P. (2004). Bayesian Approaches to Clinical Trials and Health-Care Evaluation. Wiley.

    ISBN: 978-0471499756
  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