Professional Documents
Culture Documents
Random Variables
2.1
px(1 p)1x ,
p(x) =
0,
if x = 0 or x = 1,
otherwise.
k = 1, 2, 3, . . . .
10
k = 0, 1, 2, . . . .
11
12
2.2
13
f (u) du.
14
et,
t 0,
f (t) =
0,
t < 0.
The exponential distribution is often used to model lifetimes or
waiting times.
15
16
1 t
t 0,
t e ,
()
f (t) =
0,
t < 0.
The gamma function, (x), is defined as
Z
(x) =
ux1eu du,
0
17
x > 0.
18
19
< x < .
and are called the mean and standard deviation of the normal
density.
The cdf cannot be evaluated in closed form from this density
function and must be found numerically.
The special case for which = 0 and = 1 is called the standard
normal density. Its cdf is denoted by (tabulated) and its density
by .
20
2.3
Proposition
If X N (, 2) and Y = aX + b, then Y N (a + b, a2 2).
X
x
It follows that Z =
N (0, 1) and FX (x) =
.
21
22
23
Proposition
(1) Let Z = F (X). Then Z has a uniform distribution on [0, 1].
(2) Let U be uniform on [0, 1], and let X = F 1(U ). Then the
cdf of X is F .
To generate random variables with cdf F , (2) suggests that we
just apply F 1 to uniform random numbers. This is quite practical
as long as F 1 can be calculated easily.
24
25