Chapter 3 Random Variables and Probability Distributions
Chapter 3 Random Variables and Probability Distributions
Chapter 3
b 0 1 2 3
P(B = b) 0.729 0.243 0.027 0.001
Note that the values of b exhaust all possible cases and hence
the probabilities add to 1.
We write: f(x) = P(X = x)
Discrete Probability Distributions
The set of ordered pairs (x, f(x)) is called the probability function,
probability mass function (PMF), or probability distribution of
the discrete random variable X, if for each possible outcome x,
It is to be noted that:
Continuous Cumulative Distribution Functions
, −1 < x <
f (x) =
⎨⎪ 3 2,
0,elsewhere.
⎩
Joint Probability Distribution for
Discrete Random Variables
f(x, y) = P(X = x, Y = y)
∑∑
f (x, y) = 1,
x y
= 28 + 0 + 0 =28
3 3
Marginal Distributions
Problem: Find g(x) and h(y) for the joint density function given
below:
Solution:
Conditional Distribution
Let X and Y be two random variables, discrete or continuous.
The conditional distribution of the random variable Y given
that X = x is
f (x, y)
f (y | x) = g(x) , provided g(x) >
0
Similarly, the conditional distribution of X given that Y = y
is
f (x, y)
f (x | y) = h(y) , provided h(y) >
0
Conditional Distribution
If we wish 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, we evaluate
P (a < X < b | Y = y ) = f (x | y )
∑
a< x<b
P (a < X < b | Y = y ) = f (x | y )
dx
∫
a
Conditional Distribution
Problem: For the “two ballpoint pens” problem, find
the conditional distribution of X, given that Y = 1.
Use it to determine P(X = 0 | Y = 1).
Solution:
Conditional Distribution
Problem: The joint density for the random variables (X,Y),
where X is the unit temperature change and Y is the proportion of
spectrum shift that a certain atomic particle produces, is
⎧
f (x, y) =
2
10xy , 0<x<y<
1,0, elsewhere.
⎨ ⎩
(a) Find the marginal densities g(x), h(y), andthe
conditional
density f (y | x).
(b)Find the probability that the spectrum shifts more than half of
the total observations, given that the temperature is increased by
0.25 unit.
Statistical Independence
If f (x | y) does not depend on y,
then
f (x | y) = g(x)
Proof: and f (x, y) = g(x)
We know that f (x,h(y).y) = f (x | y) h( y)
∞
∫
and g(x) = f (x, y)dy
−∞
∞
∴ g(x) =
∫
f (x | y) h( y) dy
−∞
∞
∫
= f (x | y) h( y) dy
−∞
= f (x | y) ×1
= f (x | y)
Conditional Distribution
Problem: Consider the random variables X and Y that represent
the number of vehicles that arrive at two separate street corners
during a certain 2-minute period. These street corners are fairly
close together so it is important that traffic engineers deal with
them jointly if necessary. The joint distribution of X and Y is
known to be
1
9
f (x, y) = . ( x+ y )
16 4
for x = 0, 1, 2, . . . and y = 0, 1, 2, . . . .