Statistics For Business and Economics: Discrete Random Variables and Probability Distributions
Statistics For Business and Economics: Discrete Random Variables and Probability Distributions
Chapter 5
Statistics for Business and Economics, 6e 2007 Pearson Education, Inc. Chap 5-1
Chapter Goals
After completing this chapter, you should be
able to:
Interpret the mean and standard deviation for a
probabilities
Describe when to apply the binomial distribution
a random experiment
Random
Variables
4 possible outcomes
Probability Distribution
T T x Value Probability
0 1/4 = .25
T H 1 2/4 = .50
2 1/4 = .25
H T
Probability
.50
Statistics
H for Business
H and .25
Economics, 6e 2007 Pearson
Education, Inc. 0 1 2Chapx 5-6
Probability Distribution
Required Properties
P(x) 1
x
F(x 0 ) P(X x 0 )
In other words,
F(x 0 ) P(x)
xx0
Statistics for Business and
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-8
Expected Value
Expected Value (or mean) of a discrete
distribution (Weighted Average)
E(x) xP(x)
x
x P(x)
Example: Toss 2 coins, 0 .25
x = # of heads, 1 .50
2 .25
compute expected value of x:
E(x) = (0 x .25) + (1 x .50) + (2 x .25)
Statistics for Business and
= 1.0
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-9
Variance and Standard
Deviation
Variance of a discrete random variable X
E(X ) (x ) P(x)
2 2 2
2 x
(x ) 2
P(x)
x
(x ) 2
P(x)
E[g(X)] g(x)P(x)
x
Statistics forthe
i.e., Business and
expected value of bX is bE(x)
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-13
Linear Functions
of Random Variables
(continued)
Let random variable X have mean x and variance 2x
Let a and b be any constants.
Let Y = a + bX
Then the mean and variance of Y are
Y E(a bX) a bX
2
Y Var(a bX) b
2 2
X
Binomial Uniform
Hypergeometric Normal
Discrete
Probability
Distributions
Binomial
Hypergeometric
The mean is = P
2 E[(X )2 ] (x )2 P(x)
X
(0 P)
Statistics for Business and(1 P) (1 P)
2 2
P P(1 P)
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-18
Sequences of x Successes
in n Trials
n!
C
n
x
x! (n x)!
n! X nX
P(x) P (1- P)
x ! (n x )!
n!
P(x 1) P X (1 P)n X
x! (n x)!
5!
(0.1)1(1 0.1)5 1
1! (5 1)!
(5)(0.1)(0.9)4
Statistics for Business and
.32805
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-23
Binomial Distribution
The shape of the binomial distribution depends on the
values of P and n
Mean P(x) n = 5 P = 0.1
.6
Here, n = 5 and P = 0.1 .4
.2
0 x
0 1 2 3 4 5
.6
P(x) n = 5 P = 0.5
Here, n = 5 and P = 0.5
.4
.2
Statistics for Business and 0 x
Economics, 6e 2007 Pearson 0 1 2 3 4 5
Education, Inc. Chap 5-24
Binomial Distribution
Mean and Variance
Mean
E(x) nP
Variance and Standard Deviation
nP(1- P)
2
nP(1- P)
Where n = sample size
P = probability of success
Statistics for Business and
(1 P) = probability of failure
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-25
Binomial Characteristics
Examples
nP (5)(0.1) 0.5
Mean P(x) n = 5 P = 0.1
.6
.4
nP(1- P) (5)(0.1)(1 0.1) .2
0.6708 0 x
0 1 2 3 4 5
Examples:
n = 10, x = 3, P = 0.35: P(x = 3|n =10, p = 0.35) = .2522
Statistics for Business and
n = 10, x = 8, P = 0.45: P(x = 8|n =10, p = 0.45) = .0229
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-27
Using PHStat
Here: n = 10
p = .35
Output for x = 0
to x = 10 will be
generated by PHStat
Discrete
Probability
Distributions
Binomial
Hypergeometric
S! (N S)!
CSxCNnxS x! (S x)! (n x)! (N S n x)!
P(x)
CnN
N!
n! (N n)!
Where
N = population size
S = number of successes in the population
N S = number of failures in the population
n = sample size
Statistics for Business and
x = number of successes in the sample
Economics,n6e x= 2007
numberPearson
of failures in the sample
Education, Inc. Chap 5-33
Using the
Hypergeometric Distribution
Example: 3 different computers are checked from 10 in
the department. 4 of the 10 computers have illegal
software loaded. What is the probability that 2 of the 3
selected computers have illegal software loaded?
N = 10 n=3
S=4 x=2
Discrete
Probability
Distributions
Binomial
Hypergeometric
x
e
P(x)
x!
where:
x = number of successes per unit
= expected number of successes per unit
e = base of the natural logarithm system (2.71828...)
Mean
E(x)
Variance and Standard Deviation
E[( X ) ]
2 2
where = expected number of successes per unit
Statistics for Business and
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-40
Using Poisson Tables
e X e 0.50 (0.50)2
P( X 2) .0758
Statistics for Business andX! 2!
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-41
Graph of Poisson Probabilities
Graphically:
= .50
=
X 0.50
0 0.6065
1 0.3033
2 0.0758
3 0.0126
4 0.0016
5 0.0002
6 0.0000
7
Statistics and P(X = 2) = .0758
for0.0000
Business
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-42
Poisson Distribution Shape
P(x, y) P(x)P(y)
for all possible pairs of values x and y
An equivalent expression is
Cov(X, Y) E(XY) xy xyP(x, y) xy
Statistics for Business and x y
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-49
Covariance and Independence
W aX bY
(a is the number of shares of stock A,
b is the number of shares of stock B)
Statistics for Business and
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-52
Portfolio Analysis
(continued)
2W a 2 2X b 2 2Y 2abCov(X, Y)
or using the correlation formula
W a Xand
b Y 2abCorr(X, Y) X Y
2 2 2 2 2
Business
Statistics for
Economics, 6e 2007 Pearson
Education, Inc. Chap 5-53
Example: Investment Returns
Return per $1,000 for two types of investments
Investment
P(xiyi) Economic condition Passive Fund X Aggressive Fund Y
.2 Recession - $ 25 - $200
.5 Stable Economy + 50 + 60
.3 Expanding Economy + 100 + 350
133 .04
Statistics for Business and
The portfolio return and portfolio variability are between the values
Economics, 6e 2007
for investments Pearson
X and Y considered individually
Education, Inc. Chap 5-57
Interpreting the Results for
Investment Returns
y = 95 > x = 50
but
y = 193.21 > x = 43.30