# Math Help - Simple Bayes Problem

1. ## Simple Bayes Problem

$P(B) = 30\%$
$P(B|P) = 40\%$
$P(P|\bar{B}) = 13\%$

Solve for $P(P|B)$

Can this be solved with the information given? I can calc joint probabilities $P(P,\bar{B})$ and $P(\bar{P},\bar{B})$, but I can't seem to figure out a variant of bayes law that will lead to the target probability.

2. ## Re: Simple Bayes Problem

Originally Posted by VinceW
$P(B) = 30\%$
$P(B|P) = 40\%$
$P(P|\bar{B}) = 13\%$

Solve for $\mathcal{P}(P|B)$

From the given you can find $\mathcal{P}(P)$.
\begin{align*}\mathcal{P}(P)&=\mathcal{P}(P\cap B)+ \mathcal{P}(P\cap \overline{B})\\&= \mathcal{P}(B|P) \mathcal{P}(P)+\mathcal{P}(P|\overline{B})\mathcal {P}(\overline{B}) \\&=(0.4) \mathcal{P}(P)+(0.13)(0.7)\end{align*}.

3. ## Re: Simple Bayes Problem

Thanks Plato! That was the trick that I needed

4. ## Re: Simple Bayes Problem

I can calc joint probabilities P(P,\bar{B}) and P(\bar{P},\bar{B}), but I can't seem to figure out a variant of bayes.
thanks for sharing.

chemistry tutors in white plains ny