Opens in a new tab

Bayesian inference for small-sample studies

When the sample size is too small for a frequentist analysis: prior knowledge built into the model and direct probabilities about the clinical hypothesis

What it is

Bayesian statistical analysis for studies where the sample size is inherently limited: rare diseases, pilot studies, clinical subgroups and short series. The Bayesian approach lets you incorporate prior information from earlier studies or structured expert knowledge, and reason directly about the probability of the clinical hypotheses.

Where a frequentist analysis runs out of power and returns an inconclusive result, a Bayesian analysis quantifies what the data do support, and with how much uncertainty.

Objectives

  • Draw defensible conclusions from studies where the sample is small because of the nature of the problem, not because of a design flaw.
  • Incorporate the available prior knowledge explicitly and traceably, instead of discarding it as a frequentist analysis does.
  • Express the results as direct probabilities about the clinical hypotheses, which are easier to interpret than a p-value in small samples.
Key points

Priors built and justified, not assumed

  • Specification of prior distributions from published evidence, historical data or structured expert knowledge.
  • Prior sensitivity analysis, showing how the conclusion changes with more and less informative priors rather than fixing one and hiding it.
  • Weakly informative priors by default when there is no basis for informing them, with that choice documented.

Models for small samples

  • Bayesian models for the usual outcomes: continuous, binary, count and time-to-event.
  • Hierarchical models that share information across subgroups or centres to stabilise estimates when each group has few observations.
  • Bayesian regression with covariate adjustment when the number of events is too small for a stable frequentist model.

Direct estimation and interpretation

  • Credible intervals read as a direct probability about the parameter, not as a frequentist confidence interval.
  • The probability that the effect exceeds a clinically relevant threshold, not just that it differs from zero.
  • Honest quantification of uncertainty: with sparse data the posterior distribution is wide, and that is reported rather than hidden.

Diagnosing and communicating the posterior

  • Sampling convergence diagnostics (R-hat, effective sample size, trace plots) to check that the estimate is reliable.
  • Plots of posterior distributions, credible intervals and predictive checks that make the result readable for a clinical audience.
  • Drafting of the Bayesian methods section in line with the applicable reporting guidelines.

What it is for

  • Reach a defensible conclusion from a rare-disease or pilot study, where gathering a large sample is not an option.
  • Make use of what is already known, such as earlier studies, registries or expert judgement, instead of starting the analysis as if there were no prior information.
  • Present the result as a direct probability about the clinical hypothesis, which is easier to interpret and communicate than a p-value from a small sample.
Why choose this service

With a small sample, a non-significant p-value doesn't mean there is no effect. It means you didn't have the data to see it

In rare diseases, pilot studies and subgroups, a frequentist analysis runs out of power and returns a "not significant" that gets mistaken for "doesn't work". The Bayesian approach changes the question. It quantifies what is probable in light of the data you do have and the prior knowledge available, and it reports the uncertainty instead of pretending it isn't there.

A method that fits the real size of the study

Forcing a frequentist analysis onto a sample that cannot support it produces inconclusive results that reflect a lack of power, not a lack of effect. The Bayesian approach is built for reasoning with limited data: it estimates what the data support and reports that estimate with its uncertainty, without needing a sample size the problem does not allow you to reach.

Prior knowledge, made explicit and traceable

In a rare disease, discarding what is already known is a luxury you cannot afford. We build the priors from published evidence, historical data or structured expert judgement, document where each one comes from, and use a sensitivity analysis to show how the conclusion would change with different priors. The prior is not hidden: it is justified and open to scrutiny.

Results a clinician can read without translation

A credible interval reads the way people think a confidence interval does, except that this time the reading is correct: the probability that the effect lies in that range. We deliver direct probabilities about the hypotheses, for example the probability that the treatment exceeds a relevant threshold, with the posterior distribution plots that make the result readable for a clinical audience.

A reliable estimate, not a black box

A Bayesian analysis without convergence diagnostics is not reliable, however elegant it looks. We verify that the sampling has converged (R-hat, effective sample size, trace inspection), test the model with predictive checks and document the whole process. The result is reproducible and auditable, not a figure produced by a procedure nobody reviews.

Our process

What working with us looks like

We apply our D²I (Data to Insights) methodology to every service. A structured, iterative and transparent process that turns complex data into actionable knowledge.

01

Kick-off and problem definition

We meet with you to understand the clinical problem, the data available and the objectives of the project. We agree on deliverables, timelines and communication channels, and we sign whatever confidentiality agreements you need to protect your data.

02

Data review and preparation

We assess the quality of your data, identify inconsistencies and limitations, and structure the data for analysis. If critical information is missing, we tell you before going any further. We document every cleaning decision so that the process is traceable and reproducible. In a Bayesian analysis, this includes reviewing the structure of the data and, above all, gathering and justifying the available prior information, such as earlier studies, registries or expert judgement, that will inform the priors.

03

Analysis and modelling

We apply the statistical methodology that fits your questions. We work iteratively: we share preliminary results with you, discuss the findings and adjust the approach where needed. We do not work in the dark until the final delivery. For this service, we specify the model and its priors, verify sampling convergence, test sensitivity to the prior and translate the posterior distribution into direct probabilities about the clinical hypotheses.

04

Communicating results

We turn the findings into the format you need: a technical report, tables and figures for publication, an interactive dashboard or an executive presentation. We always include the clinical interpretation, not just the figures.

05

Impact review session

30 days after delivery we meet with you again for a 60-minute strategy session. By then you have had time to present the results internally, the real implementation questions have come up and you can assess the impact of the work with some perspective. We answer your questions, adjust interpretations where necessary and agree together on the way forward.

This is our general process. If you want to understand how we apply it technically to each type of analysis, see our full D²I methodology.

Have a data project on your hands?

Tell us about your case and we will work out together how to approach it.

Book a session
FAQs

Frequently asked questions

My study gave a "non-significant" result, but the sample was very small. Does that mean there is no effect?

Not necessarily: with a small sample, a non-significant result may point to a lack of power to detect an effect compatible with the clinical hypothesis, not necessarily to an absence of effect. This applies to rare diseases, pilot studies, subgroups and short series, where gathering a large sample is not an option and a frequentist analysis cannot reach a conclusion. In that setting a non-significant p-value is often mistaken for "it doesn't work", when what it usually indicates is that the data cannot distinguish precisely between no effect, a small effect and a clinically relevant one. The Bayesian approach changes the question. Instead of testing against the null hypothesis with power you do not have, it quantifies what is probable in light of the available data and prior knowledge, and reports the uncertainty rather than returning a binary verdict. It lets you state which conclusions are compatible with the data and the prior knowledge, and with how much uncertainty.

When should I use a Bayesian analysis, and when a frequentist one?

A Bayesian analysis is the right choice when the sample is necessarily small, there is defensible prior knowledge, or you want a direct probability statement about a hypothesis. It works well in rare diseases, pilot studies and subgroup analyses, where it combines the observed data with explicit prior information. A frequentist approach remains a sound option when the sample is sufficient and prior information is either not wanted or cannot be incorporated. They are tools with different assumptions, and we choose between them based on the question, the design, the available data and the quality of the prior evidence. There is a limit: with very sparse data and no defensible prior information, a Bayesian analysis does not create new information. It will make the uncertainty explicit, but it will not turn an insufficient sample into conclusive evidence. The rationale for the chosen approach is documented as part of the analysis.

Don't priors introduce bias? How do you stop the result depending on what you assume beforehand?

The prior is not assumed in secret: it is built from explicit sources, documented and put through a sensitivity analysis that shows how the conclusion would change with different priors. This applies to any Bayesian analysis, where the usual objection is that prior information can dominate or overly condition the result. The methodological answer is traceability. Each prior is specified from published evidence, historical data or structured expert knowledge, with a record of where it comes from. When there is no basis for informing it, weakly informative priors are used by default and that choice is documented. We also check whether the prior is on the same scale as the model parameter and whether its degree of information is consistent with the available evidence. Above all, the prior sensitivity analysis tests whether the conclusion holds under more and less informative assumptions: if it depends heavily on the prior, that is reported, not hidden. A prior that is justified, documented and put through a sensitivity analysis is an explicit assumption that can be evaluated, not a hidden decision.

What do I need to provide, and where does the prior knowledge that informs the priors come from?

You need the study data and, where available, the prior information that can inform the priors: earlier studies, registries or structured expert judgement. The client collects the data and provides or validates the expert prior knowledge, as the party that knows the literature and the clinical context; the service specifies the model, builds and justifies the priors, and estimates, diagnoses and interprets. Abundant prior information is not essential. When there is none, we work with weakly informative priors, and the analysis can still be valid, but its conclusions will depend more on the observed data and the uncertainty will be greater. What does help is gathering and honestly assessing what is already known about the problem, because wasting defensible knowledge in a small-sample setting undercuts one of the main advantages of the Bayesian approach. That phase of gathering and justifying the prior evidence is part of the analysis, not a preliminary.

How do I interpret a credible interval, and how does it differ from a confidence interval?

A 95% credible interval can be read as meaning that, given the model, the data and the specified prior, there is a 95% posterior probability that the parameter lies within that range. This applies to any Bayesian result and is one of its advantages for communication. The difference from the frequentist confidence interval is real and often misunderstood: a confidence interval does not allow you to say there is a 95% probability that the parameter lies inside it (a very widespread misreading), whereas a credible interval does allow that direct interpretation. This makes the result easier to communicate to a clinical audience, because it answers the clinical question more directly: which values of the effect are plausible once the data and prior knowledge are combined. It also lets you express the probability that the effect exceeds a clinically relevant threshold, not just that it differs from zero, which is usually the real clinical question.

How do I know a Bayesian analysis is reliable and not a figure produced by an opaque procedure?

A Bayesian analysis is defensible when sampling convergence, model adequacy and the sensitivity of the conclusions to the priors have been verified. We check convergence using R-hat, the effective sample size and trace plots, and use posterior predictive checks to see whether the model reproduces relevant features of the observed data. We also test how much the conclusions change under other reasonable prior choices. If the model is too complex for the data, we simplify or reformulate it rather than interpret an unstable posterior distribution. The code, model specification and diagnostics are documented so that the analysis can be reproduced and audited. And uncertainty is shown as it is: with sparse data the intervals will be wide, and that width is information about what the study allows you to conclude.

Does Bayesian inference for small-sample studies include adaptive designs, interim analyses or stopping rules?

No. This service focuses on the Bayesian analysis of small-sample studies and the justified incorporation of prior knowledge; it does not cover adaptive designs (interim analyses, stopping rules or adaptive allocation), which are a separate field. The limit is worth stating because Bayesian methods are often associated with those designs, especially in clinical trials. The reason for it is scope: adaptive designs, particularly when they include interim analyses or stopping rules, call for trial planning and a different kind of methodological governance, a boundary that ADI keeps clear. What is included is the analysis of data already collected in a pilot or rare-disease study, or setting up the Bayesian model for those data. If what you need is the adaptive design of a trial, it falls outside this service; if it is drawing defensible Bayesian conclusions from a small sample, it is exactly what this service is for.

What do you deliver, and what form does a Bayesian analysis take?

We deliver the Bayesian analysis agreed for the study question, interpreted and documented: the estimate with its credible intervals, the direct probabilities about the clinical hypotheses, the convergence diagnostics, the prior sensitivity analysis and the posterior distribution plots that make the result readable for a clinical audience. This applies if you need a defensible result for a publication or to inform a clinical or research decision with limited data. It includes drafting the Bayesian methods section in line with the applicable reporting guidelines, where they exist for the design and context of the study, so that the analysis is ready to go into the manuscript. The whole process (model, priors, diagnostics) is documented so that it is reproducible and auditable. The research team authors and leads the publication; the service provides the analysis, its interpretation and the methodological justification behind it.

Shall we talk?

Tell us what you are working on and we will give you a straight answer on how we can help.