Monday, March 4, 2019

Baye's Theorem

P(A,B) = P(A|B)P(B) = P(B,A) = P(B|A)P(A)
P(A|B)P(B) = P(B|A)P(A)

P(A|B) = P(B|A)P(A) / P(B)  # divide by P(B) on both sides
P(e|T) = P(T|event)P(event) / P(T)

P(A|B) is called the posterior
P(B|A) is called the likelihood
P(A) is called the prior
P(B) is called the marginal likelihood

No comments:

Post a Comment

Firebase Stripe Extension for payment debugging

 If your stripe webhook contains errors, Stripe will email you and inform you that requests to this end point has failed. In this case, we g...