Bab 3 Probabilitas Diskrit
Bab 3 Probabilitas Diskrit
Chapter 3
Discrete Probability
Distributions
Chapter Goals
After completing this chapter, you should be able
to:
Interpret the mean and standard deviation for a
discrete probability distribution
Explain covariance and its application in finance
Use the binomial probability distribution to find
probabilities
Describe when to apply the binomial distribution
Use Poisson discrete probability distributions to
find probabilities
Introduction to Probability
Distributions
Random Variable
Represents a possible numerical value from
an uncertain event
Random
Variables
.50
H H .25
0 1 2 X
Discrete Random Variable
Summary Measures
Expected Value (or mean) of a discrete
distribution (Weighted Average)
N
E(X) Xi P( Xi )
i1
X P(X)
Example: Toss 2 coins, 0 .25
X = # of heads, 1 .50
i1
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
Discrete Random Variable
Summary Measures
(continued)
σ [X E(X)] P(X )
i
2
i
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
μY = 95 > μX = 50
but
σY = 193.21 > σX = 43.30
E(X Y) E( X) E( Y )
Var(X Y) σ 2
X Y σ σ 2σ XY
2
X
2
Y
σ X Y σ 2X Y
Portfolio Expected Return
and Portfolio Risk
σ P w 2σ 2X (1 w )2 σ 2Y 2w(1 - w)σ XY
133.04
The portfolio return and portfolio variability are between the values
for investments X and Y considered individually
Probability Distributions
Probability
Distributions
Binomial Normal
Hypergeometric Uniform
Poisson Exponential
The Binomial Distribution
Probability
Distributions
Discrete
Probability
Distributions
Binomial
Hypergeometric
Poisson
Binomial Probability Distribution
A fixed number of observations, n
e.g., 15 tosses of a coin; ten light bulbs taken from a warehouse
Two mutually exclusive and collectively exhaustive
categories
e.g., head or tail in each toss of a coin; defective or not defective
light bulb
Generally called “success” and “failure”
Probability of success is p, probability of failure is 1 – p
Constant probability for each observation
e.g., Probability of getting a tail is the same each time we toss
the coin
Binomial Probability Distribution
(continued)
n n!
X X! (n X)!
where:
n! =n(n - 1)(n - 2) . . . (2)(1)
X! = X(X - 1)(X - 2) . . . (2)(1)
0! = 1 (by definition)
Binomial Distribution Formula
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!
(.1)1(1 .1)51
1! (5 1)!
(5)(.1)(.9)4
.32805
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 = .1 .4
.2
0 X
0 1 2 3 4 5
.6
P(X) n = 5 p = 0.5
Here, n = 5 and p = .5
.4
.2
0 X
0 1 2 3 4 5
Binomial Distribution
Characteristics
Mean
μ E(x) np
Variance and Standard Deviation
σ np(1 - p)
2
σ np(1 - p)
Where n = sample size
p = probability of success
(1 – p) = probability of failure
Binomial Characteristics
Examples
μ np (5)(.1) 0.5
Mean P(X) n = 5 p = 0.1
.6
.4
σ np(1 - p) (5)(.1)(1 .1) .2
0 X
0.6708
0 1 2 3 4 5
Examples:
n = 10, p = .35, x = 3: P(x = 3|n =10, p = .35) = .2522
n = 10, p = .75, x = 2: P(x = 2|n =10, p = .75) = .0004
Using PHStat
Here: n = 10
p = .35
Output for X = 0
to X = 10 will be
generated by PHStat
Discrete
Probability
Distributions
Binomial
Hypergeometric
Poisson
The Poisson Distribution
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...)
Poisson Distribution
Characteristics
Mean
μλ
Variance and Standard Deviation
σ λ
2
σ λ
where = expected number of successes per unit
Using Poisson Tables
e X e 0.50 (0.50)2
P( X 2) .0758
X! 2!
Graph of Poisson Probabilities
0.70
Graphically: 0.60
= .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) = .0758
7 0.0000
Poisson Distribution Shape
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
Poisson Distribution
in PHStat
Select:
PHStat / Probability & Prob. Distributions / Poisson…
Poisson Distribution
in PHStat
(continued)
P(X = 2) = 0.0758
Chapter Summary