Conditional Probability
Probability that something occurs given something else has already occured.
P[F l E] = P[F n E] / P[E]
How to check if 2 events are independent
P(A n B) = P(A)*P(B)
Mutually Exclusive Events
P(A n B) = 0
Probability Mass Function [PMF]
Used for discrete variables.
ΣpX(x) = 1
Probability Density Function [PDF]
Used for continuous variables.
P[a ≤ x ≤ b] = ∫[b,a]f(y) dy
To be a PDF it must satisfy:
∫[∞,-∞]f(y) dy = 1 & f(y) >0 for all y.
Expectation of a random variable X
Discrete:
E[X] = Σxp(x)
Continuous:
E[X] = ∫[∞,-∞]xf(x) dx = 1
Variance of a random variable X
V[X] = [(X - E[X])²]
V[X] = E[X²] - E[X]²