Professional Documents
Culture Documents
11th Edition
Chapter 5
Random
Variables
T H 1 2/4 = 0.50
2 1/4 = 0.25
H T
Probability
0.50
0.25
H H
0 1 2 X
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-7
Discrete Random Variables
Expected Value (Measuring Center)
Expected Value (or mean) of a discrete
random variable (Weighted Average)
N
E(X) Xi P( Xi )
i1
X P(X)
Example: Toss 2 coins, 0 0.25
X = # of heads, 1 0.50
where:
E(X) = Expected value of the discrete random variable X
Xi = the ith outcome of X
P(Xi) = Probability of the ith occurrence of X
[X i
E(X)] P(X i )2
N
XY [ Xi E( X)][( Yi E( Y )] P( Xi Yi )
i1
E(X Y) E( X) E( Y )
Var(X Y) 2X Y 2X 2Y 2 XY
X Y 2
X Y
P w 2 2X (1 w )2 2Y 2w(1 - w) XY
The portfolio return and portfolio variability are between the values
for investments X and Y considered individually
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-20
Probability Distributions
Probability
Distributions
Binomial Normal
Poisson Uniform
Hypergeometric Exponential
n!
n Cx
X!(n X)!
where:
n! =(n)(n - 1)(n - 2) . . . (2)(1)
X! = (X)(X - 1)(X - 2) . . . (2)(1)
0! = 1 (by definition)
n! X nX
P(X) (1-)
X ! (n X)!
X (1 ) n X
n!
P(X 1)
X!(n X)!
(0.1)1 (1 0.1) 5 1
5!
1!(5 1)!
4
(5)(0.1)(0 .9)
0.32805
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-29
The Binomial Distribution
Example
X (1 ) n X
n!
P(X 2)
X!(n X)!
(.02) 2 (1 .02)10 2
10!
2!(10 2)!
(45)(.0004 )(.8508)
.01531
P(X) n = 5 = 0.5
.6
.4
.2
0
Here, n = 5 and = .5 0 1 2 3 4 5 X
Examples:
n = 10, = .35, x = 3: P(x = 3|n =10, = .35) = .2522
n = 10, = .75, x = 2: P(x = 2|n =10, = .75) = .0004
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-32
Binomial Distribution
Characteristics
Mean
E(x) n
Variance and Standard Deviation
2
n (1 - )
n (1 - )
Where n = sample size
= probability of the event of interest for any trial
(1 ) = probability of no event of interest for any trial
Examples
P(X) n = 5 = 0.1
n (5)(.1) 0.5 .6
.4
n (1 - ) (5)(.1)(1 .1) .2
0
0.6708 0 1 2 3 4 5 X
P(X) n = 5 = 0.5
n (5)(.5) 2.5 .6
.4
n (1 - ) (5)(.5)(1 .5) .2
0
1.118 0 1 2 3 4 5 X
x
e
P( X)
X!
where:
X = number of events in an area of opportunity
= expected number of events
e = base of the natural logarithm system (2.71828...)
Mean
where = expected number of events
e X e 0.50 (0.50) 2
P(X 2) 0.0758
X! 2!
Graphically: 0.60
= 0.50 0.50
= P(x) 0.40
X 0.50
0.30
0 0.6065
0.20
1 0.3033
2 0.0758 0.10
3 0.0126 0.00
0 1 2 3 4 5 6 7
4 0.0016
5 0.0002 x
6 0.0000
P(X = 2) = 0.0758
7 0.0000
0.70
= 0.50 0.25
= 3.00
0.60
0.20
0.50
0.15
0.40
P(x)
P(x)
0.30 0.10
0.20
0.05
0.10
0.00 0.00
0 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 9 10 11 12
x x
A N A
[ A C X ][ N A Cn X ] X n X
P(X)
N Cn N
n
Where
N = population size
A = number of items of interest in the population
N A = number of events not of interest in the population
n = sample size
X = number of items of interest in the sample
n X = number of events not of interest in the sample
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-46
Properties of the
Hypergeometric Distribution
N-n
Where is called the Finite Population Correction Factor
N -1
from sampling without replacement from a
finite population
A N A 4 6
X n X 2 1 (6)(6)
P(X 2) 0.3
N 10 120
n 3
The probability that 2 of the 3 selected computers have illegal
software loaded is 0.30, or 30%.
Basic Business Statistics, 11e 2009 Prentice-Hall, Inc.. Chap 5-48
Using Excel for the
Hypergeometric Distribution