Loading…

Conditional Independence Checker

Math Probability • Conditional Probability and Events

View all topics

Conditional Independence Calculator – Check for Three Events (Free)

Check if events \(A\) and \(B\) are conditionally independent given \(C\) by verifying: \(P(A\cap B\mid C)=P(A\mid C)\,P(B\mid C)\).

Tip: Press Play after calculating to animate the “given \(C\)” region and the equality check (LHS vs RHS).

Inputs
Comparison settings

Inputs accept 1e-3, pi, e, sqrt(2), sin(), cos(), tan(), ln(), log(), abs(). Use * for multiplication.

Animation
Visual: left panel shades the “given \(C\)” region; right panel compares \(\text{LHS}=P(A\cap B\mid C)\) vs \(\text{RHS}=P(A\mid C)P(B\mid C)\).
Ready
Given-\(C\) visualization + equality check

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does A ⟂ B | C mean?

It means A and B are independent once you condition on C: P(A∩B|C)=P(A|C)P(B|C), assuming P(C)>0.

Is conditional independence the same as ordinary independence?

No. Events can be dependent overall but become independent after conditioning on C (and sometimes conditioning can create dependence).

Why is there a tolerance setting?

In practice inputs are often rounded, so exact equality may fail by tiny numerical error. Tolerance lets you treat near-equality as a match.

Do I need P(C) to use this?

The definition assumes P(C)>0 so conditional probabilities are meaningful, but this tool only verifies the defining equality using the conditional values you provide.