





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






Mass Functions and Density Functions
Let’s make tosses of a biased coin whose outcomes are independent. Let X denote the random variable that gives the number of tails before the first head and p denote the probability of heads in any given toss. Then
fX (0) = P{X = 0} = P{H} = p fX (1) = P{X = 1} = P{TH} = (1 − p)p fX (2) = P{X = 2} = P{TTH} = (1 − p)^2 p .. .
fX (x) = P{X = x} = P{T · · · TH} = (1 − p)x^ p
Because the terms in this mass function form a geometric sequence, X is called a geometric random variable
Recall that a geometric sequence c, cr , cr 2 ,... , cr n^ has sum
sn = c + cr + cr 2 + · · · + cr n^ =
c(1 − r n+1) 1 − r
for r 6 = 1. If |r | < 1, then limn→∞ r n^ = 0 and thus sn has a limit as n → ∞. In this case, the infinite sum is the limit
c + cr + cr 2 + · · · + cr n^ + · · · = lim n→∞
sn =
c 1 − r
Thus,
x=0 fX^ (x) =^
x=0(1^ −^ p)
x (^) p = p 1 −(1−p) = 1.
F (b) = P{X > b} =
x=b+
fX (x) =
x=b+
(1 − p)x^ p =
(1 − p)b+1p 1 − (1 − p)
= (1 − p)b+
and FX (b) = 1 − (1 − p)b+1^ for b = 0, 1 , 2 ,.. ..
For X a random variable whose distribution function FX has a derivative. The function fX satisfying
FX (x) =
∫ (^) x
−∞
fX (t) dt
is called the probability density function and X is called a continuous random variable.
By the fundamental theorem of calculus, the density function is the derivative of the distribution function.
fX (x) = lim ∆x→ 0
FX (x + ∆x) − FX (x) ∆x
= F (^) X′ (x).
In other words, if ∆x is small,
FX (x + ∆x) − FX (x) ≈ fX (x)∆x.
We can compute probabilities by evaluating definite integrals
P{a < X ≤ b} = FX (b) − FX (a)
=
∫ (^) b
a
fX (t) dt.
The density function has two basic proper- ties that mirror the properties of the mass function:
−∞ fX^ (x)^ dx^ = 1.
Figure: Integral of density function fX (x). Shaded region has area P{a < X ≤ b}.