mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
10 lines
317 B
Markdown
10 lines
317 B
Markdown
#math #stats
|
|
P(A)P(B|A) = P(B)P(A|B)
|
|
If you know P(A|B) and want P(B|A):
|
|
#### definition of [[Conditional Expectations|conditional probability]]:
|
|
$$P(B|A)=\frac{P(B)P(A|B)}{P(A)}$$
|
|
since
|
|
$$P(B|A)=\frac{P(B\cap A)}{P(A)}$$
|
|
because of [[joint probability]].
|
|
|
|
[wikipedia](https://en.wikipedia.org/wiki/Bayes%27_theorem) |