Class Notes 5
Class Notes 5
{X ≤ a} ∪ {a < X ≤ b} = {X ≤ b} .
So the addition law of probability (axiom A3)
gives:
d FX (x) F (x + h) − FX (x)
Recall: ' X .
dx h
So Pr(x < X ≤ x + h) = FX (x + h) − FX (x)
d FX (x)
' h .
dx
Interpretation
• When multiplied by a small number h,
the pdf gives, approximately, the probability
that X lies in a small interval, length h, close
to x.
• If, for example, fX (4) = 2 fX (7), then
X occurs near 4 twice as often as near 7.
Properties of probability density functions
DEFINITION:
For a continuous rv X with pdf fX (x), the
expectation of a function g(x) is defined as
Z ∞
E{g(X)} = g(x) fX (x) dx
−∞
1
b−a
a b
Because fX (x) is constant over [a, b] and
Z ∞ Z b
fX (x) dx = fX (x) dx = 1,
−∞ a
1 , a < x < b,
b−a
fX (x) =
0
elsewhere.
Uniform Distribution: cdf
FX (x)
1
-
0
a b
Uniform Distribution: Mean and Variance
Z b
1
E(X) = µ = x dx
a b−a
= 1
2 (a + b).
Var(X) = σ 2 = E(X 2) − µ2
(a + b)2
Z b
1
= x2 dx −
a b−a 4
1
= (b − a)2.
12
That is,
0, x < 0,
fX (x) =
ke−λx , x ≥ 0 ,
Hence
Z ∞ Z ∞
fX (x) dx = ke−λx dx
−∞ 0
kh −λx
i∞
= −e
λ 0
k
=
λ
Z ∼ N(0, 1).
Special notation φ(z) is used for the pdf of
N(0, 1). We write
1 − 1 z2
φ(z) = √ e 2 , −∞ < z < ∞.
2π
The cdf of Z is denoted by Φ(z). We write
Z z
Φ(z) = φ(x) dx
−∞
1 − 1 x2
Z z
= √ e 2 dx
−∞ 2π
Z Φ(z)
0.0 0.5000
0.5 0.6915
1.0 0.8413
1.5 0.9332
2.0 0.9772
Φ(z) = 1 − Φ(−z).
This equation can be used to obtain Φ(z) for
negative values of z.
For example, Φ(−1.5) = 1 − 0.9332 = 0.0668.