# Probability Tips
- The Probability Density Functions (PDF) describes the relative likelihood for a random variable to take on a given value
- joint distribution representing the probability that the random variable X takes on the value x and that Y takes on the value y i.e.
P(x,y) = P(x).P(y)
(if independent) - conditional probability that describes the probability that the random variable X takes on the value x conditioned on the knowledge that Y for sure takes y. i.e.
P(X|Y)
- Theorem of Total probability builds on the above
- Bayes Theorem builds on the above as well
# Bayes Theorem simplest case
Read as - Probability of A given B is equal to Probability of A & B divided by probability of B.
You can combine the above with this formula derivation
And turn it into
which can be used to calculate posterior probability (probability based on prior condition)
# Theory of Total Probability
You can also re-write the latter as
The above was in case of only two values of b (b and