Chapter 16 Introduction to Bayes Theorem Flashcards
P(A|B) ≠ P(B|A)
True/False P 150
True
One conditional probability can be calculated using the other conditional probability. This is called Bayes Theorem, how is it formulated? P 150
P(A|B) = P(B|A) * P(A) / P(B)
What is the definition of Bayes Theorem? P 150
Bayes Theorem: Principled way of calculating a conditional probability without the joint probability.
It is often the case that we do not have access to the denominator directly, e.g. P(B). We can calculate it an alternative way, for example: ____This gives a formulation of Bayes Theorem that uses the alternate calculation of P(B). P 150
P(B) = P(B|A) × P(A) + P(B|not A) × P(not A)
P(A|B) = P(B|A) × P(A) /(P(B|A) × P(A) + P(B|not A) × P(not A))
P(B|not A) = 1 − P(not B|not A)
True/False P 150
True
What are the names of the below terms, in Bayes Theorem? P 151
P(A|B)
P(A)
P(B|A)
P(B)
Posterior probability, Prior probability, Likelihood, Evidence
We can also think about the calculations in the terms of a binary classifier. What are each of the below probabilities’ equivalent in terms of binary classification? P 151
P(not B|not A)
P(B|not A)
P(not B|A)
P(B|A)
P(A|B)
P(not B|not A): True Negative Rate or TNR (specificity).
P(B|not A): False Positive Rate or FPR.
P(not B|A): False Negative Rate or FNR.
P(B|A): True Positive Rate or TPR (sensitivity or recall).
P(A|B): Positive Predictive Value or PPV (precision).
Look at it like: P(pred 1 given ground truth 0)= FP/TN+FP= P(B| not A)= FPR
P(truth 1 given pred 1)= TP/(TP+FP)= Precision
B(pred) 0 1 0 TN FP A(truth) 1 FN TP
How may we re-state the calculation using these terms in terms of binary classification? P 151
P(A|B) = P(B|A) × P(A) /(P(B|A) × P(A) + P(B|not A) × P(not A))
P P V = T P R × P(A) /(T P R × P(A) + F P R × P(not A))