Random Variables
Random Variables
RANDOM VARIABLES
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
1 / 21
AY 20142015 (Semester 2)
2.1
O UTLINE
2.1
RANDOM VARIABLES
2 / 21
2.3
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
3 / 21
AY 20142015 (Semester 2)
if x = 0 or x = 1,
otherwise.
RANDOM VARIABLES
4 / 21
2.1
2.1
Binomial Distribution
Suppose that n independent experiments (or trials) are performed,
where n is a fixed number, and that each trial results in a success
with probability p and a failure with probability 1 p.
The total number of successes, X , is a binomial random variable
with parameters n and p.
The probability that X = k is given by
n k
p(k) =
p (1 p)nk ,
k
k = 0, 1, . . . , n.
2.1
2 RANDOM VARIABLES
5 / 21
AY 20142015 (Semester 2)
2.1
2 RANDOM VARIABLES
6 / 21
Geometric Distribution
Suppose that a sequence of independent Bernoulli trials is performed
and X is the total number of trials up to and including the first
success.
Then X is a geometric random variable with
p(k) = P(X = k) = p(1 p)k1 ,
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
k = 1, 2, 3, . . . .
7 / 21
AY 20142015 (Semester 2)
RANDOM VARIABLES
8 / 21
2.1
2.1
Hypergeometric Distribution
Suppose that an urn contains n balls, of which r are black and n r
are white.
Let X denote the number of black balls drawn when taking m balls
without replacement.
AY 20142015 (Semester 2)
2.1
2 RANDOM VARIABLES
2.1
Poisson Distribution
RANDOM VARIABLES
10 / 21
AY 20142015 (Semester 2)
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
11 / 21
AY 20142015 (Semester 2)
RANDOM VARIABLES
12 / 21
2.2
Exponential Distribution
The exponential density function is
(
ex ,
f (x) =
0,
f (x) dx.
x 0,
x < 0.
e(t+s)
= et = P(T > t).
es
2 RANDOM VARIABLES
13 / 21
AY 20142015 (Semester 2)
2.2
RANDOM VARIABLES
14 / 21
Normal Distribution
Gamma Distribution
0,
x < 0,
in which (t) =
R
0
u t1 eu
< x < .
The cdf cannot be evaluated in closed form from this density function
and must be found numerically.
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
15 / 21
AY 20142015 (Semester 2)
RANDOM VARIABLES
16 / 21
2.2
Beta Distribution
The beta density is useful for modeling random variables that are
restricted to the interval [0, 1]:
f (u) =
(a + b) a1
u
(1 u)b1 ,
(a)(b)
0 u 1.
2.3
2 RANDOM VARIABLES
17 / 21
AY 20142015 (Semester 2)
RANDOM VARIABLES
18 / 21
Proposition A
If X N(, 2 ) and Y = aX + b, then Y N(a + b, a2 2 ).
Since
It follows that Z =
N(0, 1) and FX (x) =
x
.
120 100
X 100
130 100
<
<
15
15
15
= (2) (1.33)
AY 20142015 (Semester 2)
2 RANDOM VARIABLES
19 / 21
AY 20142015 (Semester 2)
RANDOM VARIABLES
20 / 21
2.3
Propositions C & D
1
2 RANDOM VARIABLES
21 / 21