google.com, pub-8308647970737773, DIRECT, f08c47fec0942fa0

Bayesian Network Probability Calculator

Bayesian Network Probability Calculator

Bayesian Network Probability Calculator computes probabilities in a simple Bayesian network with three nodes (A → B → C, A → C). Enter prior probabilities \\( P(A) \\), conditional probabilities \\( P(B|A) \\), \\( P(C|A,B) \\), and a query (e.g., “P(C=true|A=true)”). The calculator computes the query result using Bayesian inference, shows steps with MathJax, and visualizes the network with p5.js.

Bayesian Network Probability Calculator

This calculator computes probabilities for a Bayesian network with three nodes: A (parent), B (child of A), and C (child of A and B). Input prior probability \\( P(A) \\), conditional probabilities \\( P(B|A) \\), \\( P(C|A,B) \\), and a query like \\( P(C|A) \\). The calculator uses Bayesian inference to compute the result, displays steps with MathJax, and visualizes the network structure with p5.js.

Example 1: Disease Diagnosis

Network: A (Disease), B (Test), C (Symptom).
Inputs: \\( P(A=\text{true})=0.01 \\), \\( P(B=\text{true}|A=\text{true})=0.9 \\), \\( P(B=\text{true}|A=\text{false})=0.05 \\), etc.
Query: \\( P(A=\text{true}|B=\text{true}) \\).
Result: \\( \approx 0.153 \\).

Example 2: Weather Model

Network: A (Rain), B (Sprinkler), C (Wet Grass).
Inputs: \\( P(A=\text{true})=0.2 \\), \\( P(B=\text{true}|A=\text{true})=0.1 \\), \\( P(B=\text{true}|A=\text{false})=0.4 \\), etc.
Query: \\( P(C=\text{true}|A=\text{true}) \\).
Result: \\( \approx 0.82 \\).

Related Calculators

  1. Quadratic Residue Checker
  2. Diophantine Equation Solver
  3. Modular Exponentiation Solver
  4. Stokes Flow Simulator
  5. Determinant Calculator
  6. Mid-Point Calculator
  7. More Math Calculators