📊 Probability Tree Visualizer
// dua event berurutan dengan conditional probabilities
JOINT PROBABILITIES
P(A ∩ B):-
P(A ∩ not B):-
P(not A ∩ B):-
P(not A ∩ not B):-
MARGINAL & POSTERIOR
P(B) marginal:-
P(not B):-
P(A | B) Bayes:-
Total cek:1.000
Coba: Set P(A)=0.01 (rare disease), P(B|A)=0.99 (sensitivity test), P(B|not A)=0.05 (false positive).
Lihat P(A|B) = posterior. Bayes paradox: tes hampir sempurna tapi P(disease | positive) rendah karena prior rendah.