Joint Probability Distribution
Joint Probability Distribution
Joint Probability Distribution
Example 1:
Two refills for a ballpoint pen are selected at random from a box containing 3 blue refills,
2 red refills and 3 green refills. If X is the number of blue refills and Y is the number of
red refills selected, find
a. the joint probability distribution function f(x, y)
b. P [(X, Y) A] , where A is the region { (x, y) x + y 1 }
3. P [ (X, Y) A] =
A
f(x, y) dx dy for any region A in the x y plane
MARGINAL DISTRIBUTIONS
Given the joint probability distribution f(x, y) of the discrete random variable X and Y,
the probability distribution g(x) of X along is obtained by summing f(x, y) over the
values of y. Similarly, the probability distribution h(y) of Y alone is obtained by
summing f(x, y) over the values of x. g(x) and h(y) are defined to be the marginal
distributions of x and y respectively.
g(x) = y f(x, y) h(y) =
x
f(x, y) for the discrete case
Uy Ux
g(x) = Ly
f(x, y) dy h(y) =
Lx
f(x, y) dx for the
continuous case
Example 3:
Derive g(x) and h(y) for Example 1.
Example 4:
Derive g(x) and h(y) for the joint density function in Example 2.
CONDITIONAL DISTRIBUTIONS
Generalization
Note: f (x / y) only gives P ( X = x / Y = y). If one wishes to find the probability that the
discrete random variable x falls between a and b when it is known that the discrete
variable Y = y, then we evaluate
P (a < x < b / Y = y) = x
f (x / y)
Similarly,
P (a < y < b / X = x) = y f (x / y)
Example 5:
Find the conditional probability distribution of X, given that Y = 1 for Example 1 and use
it to evaluate P (x = 0 / y = 1).
STATISTICAL INDEPENDENCE
Recall: P (B / A) = P(A B)
P(A)
P(A B) = P(A) * P (B / A)
P(A B) = P(A) * P (B) if A and B are statistically independent
OR: f (y / x) = f(x, y)
g(x)
f(x, y) = g(x) * f (y / x)
Ux Ux
h(y) = Lx
f(x, y) dx =
Lx
g(x) * f(y / x) dx
pure function of y
if x and y are independent
Ux
h(y) = f (y / x) Lx
g(x) dx
h(y) = f(x, y) / g(x)
f(x, y) = g(x) * h(y)
Let X and Y be two random variables, discrete or continuous, with joint probability
distribution f(x, y) and marginal distributions g(x) and h(y), respectively. The random
variable X and Y are said to be statistically independent if and only if
f(x, y) = g(x) * h(y) for all (x, y) within their range