If I know P(x) and P(y|x), how can I know P(y)? If I need to compute P(y) and I only know P(y|x) and P(x). I know that: P(y|x)=P(y,x)P(x) How can I compute P(y)?

BertonCO5

BertonCO5

Answered question

2022-11-26

If I know P(x) and P(y|x), how can I know P(y)?
If I need to compute P(y) and I only know P(y|x) and P(x).
I know that:
P(y|x)=P(y,x)P(x)
This is the contingency table for P(y|x):
P(y|x) | +x | x |
-------------------------
+y | 0.91 | 0.03 |
-------------------------
y | 0.09 | 0.97 |
-------------------------
And the probability of x:
| +x | x |
-------------------------
P(x) | 0.05 | 0.95 |
-------------------------
How can I compute P(y)?

Answer & Explanation

Chaya Proctor

Chaya Proctor

Beginner2022-11-27Added 10 answers

P ( y , x ) = P ( y | x ) P ( x )
P ( y ) = x P ( y , x ) = x P ( y | x ) P ( x )

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Advanced Physics

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?