Skip to Content

Decision Support With BayesiaLab

Model Cause and Effect. Then Choose.

Compare the outcomes of actions before you make a decision. Combine domain knowledge, knowledge from LLMs, and data in explicit causal Bayesian networks. Use BayesiaLab to estimate the causal effects and simulate the outcomes of actions or policies under consideration.

  • Causal Inference
  • Explicit Models
  • Human Judgment
BayesiaLab displays a Bayesian network to simulate the health outcomes as a result of different diagnostic policies.
Causal relationships you can inspect. Probabilities you can calculate.

The Decision Task

What Outcomes Do Your Actions Cause?

Launch a product, adopt a new policy, or invest in a project: they all require you to make a decision before you can observe the outcomes caused by these actions. An all-knowing oracle would tell you the outcome under every available action. A causal model is our practical substitute.

A causal model represents how different actions cause the corresponding outcomes. We use it to simulate interventions, estimate causal effects, and calculate outcome probabilities. Its causal assumptions and probability assessments are explicit and available for examination.

Prediction asks for y = f(see(x)); causal inference asks for y = f(do(x)). To assess a proposed action, we need to estimate its causal effect on the outcome.

Prediction Versus Causal Inference

Association Is Not Causation

Chapter 10 illustrates this distinction with Simpson’s Paradox. A hypothetical disease equally affects men and women. In an observational study, the recovery rate is 50% among treated patients and 40% among untreated patients. However, when examining patient records by gender, the recovery rate for male patients, upon treatment, decreases from 70% to 60%; for female patients, the recovery rate declines from 30% to 20%. So, is this new treatment effective overall or not?

Observing TreatmentGender (Z) is a common cause of Treatment (X) and Outcome (Y). Treatment also has a causal effect on Outcome. Observing Treatment provides information about Gender through the non-causal path Treatment ← Gender → Outcome.Gender (Z)Treatment (X)Outcome (Y)

Observing Treatment

What is the probability of recovery given that we observe treatment?

In this observed population, there was an unequal application of the treatment to men and women: 75% of male patients and only 25% of female patients received the treatment. As a result, there is a greater share of men among treated patients. Men are more likely to recover than women, with or without treatment. The observed association includes the non-causal path Treatment ← Gender → Outcome.

Observed association: 50% − 40% = +10 percentage points.

This is Chapter 10’s fictional medical treatment example. Outcome has two states: Recovered and Not Recovered. The Average Causal Effect has the opposite sign of the observed association. Estimating it requires both observational data and a theory about the causal relationships in the domain; data alone cannot prove the existence of causal effects.

A Practical Workflow

Represent Causality. Calculate Causal Effects.

  1. Frame the Choice

    Define the actions, uncertain conditions, outcomes, and what those outcomes are worth to the decision maker.

  2. Build the Causal Model

    Represent causal relationships explicitly. Combine domain knowledge, reviewed LLM proposals, and data to specify the causal structure and probabilities of the Bayesian network.

  3. Estimate Causal Effects

    Use causal inference, y = f(do(x)), to estimate the causal effects of different actions and calculate the probabilities of the corresponding outcomes.

  4. Evaluate the Options

    Add decisions and utilities with influence diagrams. Compare expected utilities, examine risk, and consider whether more information could improve the choice.

The model calculates with the knowledge and preferences you specify. People assess that knowledge, determine what matters, and take responsibility for the decision.

Put the Approach to Work

Build Your Decision Model in BayesiaLab

Use BayesiaLab to construct causal Bayesian networks, inspect causal relationships and probability tables, simulate interventions, and estimate causal effects. Add decision and utility nodes to compare actions by their expected utilities.

LLMs and Hellixia

Help Construct the Model

Language models can propose variables, causal relationships, and probabilities. Hellixia brings generative AI into BayesiaLab to assist with model construction from prompts and documents. Review those contributions with domain expertise and evidence.

BayesiaLab

Estimate Causal Effects

Perform causal inference by simulating interventions in a causal Bayesian network. Calculate outcome probabilities under each action and compare expected utilities. Inspect and revise the causal relationships and probability tables used in those calculations.

HellixMap

Explore and Share the Structure

Create, navigate, and share knowledge maps in the browser. Explore causal graphs generated with Hellixia or published from BayesiaLab, and make their causal relationships available for others to examine.

For browser-based probability calculations with a BayesiaLab model, explore WebSimulator.

Discover WebSimulator

Decision Support in Practice

Start With a Question Like Yours

Explore existing BayesiaLab tutorials, recorded webinars, and model examples in diagnosis, prediction, causal inference, and decision analysis.

Diagnosis and Repair

What Should We Check or Repair Next?

Combine an expert-built engine model with diagnostic and repair costs, then adapt the next step as new evidence arrives.

Business Planning

How Should We Plan Under Uncertainty?

Use a probability model of demand, inventory, and costs for business prediction, and share the model through a browser-based interface.

Energy and Infrastructure

Which Energy Mix Meets Our Requirements?

Combine demand and weather data with physical constraints and expert assumptions to compare energy mixes and examine sensitivity.

Budget Allocation

How Could We Allocate a Media Budget?

Estimate the causal effects of advertising on sales under explicit causal assumptions, then use cost functions and budget constraints to optimize media allocation.

Policy Analysis

When Should a Policy Change?

Examine a historical educational example of malaria and pneumonia treatment policies under uncertain prevalence and test performance.

LLMs to Explicit Models

How Can a Question Become a Model?

Follow an EV battery supply-chain example from a question through Hellixia and HellixMap to a quantified BayesiaLab model. An illustration for review, not a validated industry analysis.

An Adjacent Starting Point

Key Driver Analysis and Causal Effects

Chapter 8 uses Bayesian networks and probabilistic structural equation models to quantify associations with outcomes such as satisfaction and loyalty. Association supports prediction, y = f(see(x)); it does not establish causation. To recommend changing a driver, identify and estimate the causal effect of that intervention, y = f(do(x)), then account for the feasible actions, costs, and utilities.

The Discussion Paper

Decision Support and the Search for an Oracle

Large Language Models, Bayesian Networks, and Deliberative Reasoning

Stefan Conrady · Bayesia USA

Read the argument behind the approach: how decision support uses causal effects to compare actions, why association and prediction do not establish causation, and how knowledge from LLMs can contribute to explicit causal models. The paper connects causal inference, outcome probabilities, and utilities to the comparison of actions.

The paper is being finalized. The final PDF will be available for download here.

A companion tutorial is planned. You can explore the existing worked examples above today.

Bring Your Decision Problem Into Focus

Explore BayesiaLab with your own questions, or talk with us about modeling the causal effects of your actions, calculating outcome probabilities, and comparing expected utilities.