Skip to Content
BayesiaLabFeatures & FunctionsInference: Diagnosis, Prediction, and Simulation

Inference: Diagnosis, Prediction, and Simulation

Part of the BayesiaLab exploration path. Start with the BayesiaLab Overview.

Bayesian networks model uncertainty explicitly. BayesiaLab uses evidence-conditioned inference for diagnosis, prediction, and simulation with hypothetical evidence.

Analysts can use the same Bayesian network to reason from symptoms to causes, from causes to likely effects, or from hypothetical scenarios to projected outcomes. The question determines the direction of reasoning. The underlying probabilistic computation is the same.

  • Diagnosis (abduction): infer likely causes from observed effects.
  • Prediction: infer likely outcomes from observed causes or conditions.
  • Simulation: explore hypothetical scenarios by setting evidence and examining how the probabilities change.

Observational Inference

Bayesian networks represent a Joint Probability Distribution and support omnidirectional inference. Given evidence on any subset of nodes, BayesiaLab computes posterior probabilities for all other nodes. BayesiaLab offers both exact and approximate algorithms for observational inference. Analysts can update their beliefs as new evidence arrives.

Evidence Types

Within the same probabilistic framework, analysts can use different types of evidence to represent certainty, uncertainty, likelihood information, and numerical observations.

Causal Inference

Beyond observation, BayesiaLab can compute intervention effects. Observing a variable and intervening on it are fundamentally different operations in causal reasoning. BayesiaLab includes Pearl’s Graph Surgery and Jouffe’s Likelihood Matching for causal estimation. These workflows support intervention analysis, policy evaluation, and decision-oriented reasoning.

A counterfactual question concerns the same case under an alternative intervention. Given what was observed in that case, what would the outcome have been under the alternative? Answering this question requires causal assumptions that relate the observed case to its counterfactual outcome.

Effects Analysis

In this nonparametric framework, BayesiaLab estimates effects through simulation rather than from fixed coefficients. Because relationships are encoded in Conditional Probability Tables (CPTs), effect size depends on the simulated conditions and interacting variables. Functions such as Total Effects Analysis and Target Mean Analysis help analysts examine nonlinear effects and interactions. Analysts can use these workflows to trace how changes in evidence propagate through a probabilistic system.

Optimization

Once analysts define a target criterion, they can extend inference to optimization and scenario search.

Target Optimization searches for combinations of values that optimize a target criterion. Combined with Direct Effects, this helps evaluate nonlinear trade-offs under dependence. Genetic Target Optimization can identify high-performing scenarios within operational or policy constraints. Optimization workflows are useful in domains such as diagnosis, risk mitigation, resource allocation, and strategic planning.

Examples & Learn More