Suppose I have 2 variables
$A$:
$P(A) =$ 0.01
$P( \lnot A) =$ 0.99
And $B$ that depends on $A$:
$P(B|A) =$ 0.05
$P( \lnot B|A) =$ 0.95
$P(B| \lnot A) =$ 0.01
$P( \lnot B| \lnot A) =$ 0.99
Applying: $$P(B)=\sum_{A}^{ } P(B|A)P(A)$$
we get $P(B)=(0.01)(0.05)+(0.99)(0.01)=0.0104$
Ok, my question is the following:
If I set the probability of $P(B)=1$
How do I get the values of $P(A)$?
As $B$ depends on $A$, how are all the probabilities affected?
How to compute
$P(A)$ ?
$P(B|A)$?