H_0 = \{\textrm{proizvod je dobar}\},\quad P(H_0)=0.96 \\
H_1 = \{\textrm{proizvod je los}\},\quad P(H_1)=0.04 \\
A = \{\textrm{kontrola je proglasila proizvod dobrim}\}\\
P(A|H_0)=0.98\\
P(A|H_1)=0.05\\
P(H_0|A)=\frac{P(A|H_0)P(H_0)}{P(A|H_0)P(H_0)+P(A|H_1)P(H_1)}=0.9978
|