Académique Documents
Professionnel Documents
Culture Documents
Part 1
Random Variable & Probability
Distribution
Adapted From :
Probability & Statistics for Engineers & Scientists, 8th Ed.
Walpole/Myers/Myers/Ye (c)2007
Chap 5-1
A Random Variable
Chap 5-2
Discrete and Continuous
Sample Spaces
Chap 5-3
Discrete Distributions
Chap 5-4
Cumulative Distribution & Plotting
Chap 5-7
Joint Probability Distributions
f (x,y) = P (X = x, Y = y)
Chap 5-8
Marginal Distributions
Chap 5-10
Statistical Independence
Chap 5-11
Third Week
Part 2
Mathematical Expectation
Adapted From :
Probability & Statistics for Engineers & Scientists, 8th Ed.
Walpole/Myers/Myers/Ye (c)2007
Chap 5-12
Mean of a Set of Observations
Chap 5-15
Expected Value for a Joint
Distribution
Chap 5-16
Variance
Chap 5-17
Covariance
If X and Y are random variables with joint probability
distribution f (x,y), the covariance, XY , of X and Y is defined
as
XY = E (XY) - X Y
Chap 5-18
Correlation Coefficient
If X and Y are random variables with covariance XY and standard
deviations X and Y respectively, the correlation coefficient XY is
defined as
XY = XY / ( X Y )
Chap 5-19
Third Week
Part 3
Discrete Probability Distribution
Adapted From :
Probability & Statistics for Engineers & Scientists, 8th Ed.
Walpole/Myers/Myers/Ye (c)2007
Introduction to Business Statistics, 5e
Kvanli/Guynes/Pavur (c)2000
South-Western College Publishing
Statistics for Managers
Using Microsoft Excel 4th Edition
Chap 5-20
Introduction to Probability
Distributions
Random Variable
Represents a possible numerical value from
an uncertain event
Random
Variables
Discrete Continuous
Random Variable Random Variable
Chap 5-21
Discrete Random Variables
Can only assume a countable number of values
Examples:
Chap 5-22
Discrete Probability Distribution
.50
.25
H H
0 1 2 X
Chap 5-23
Discrete Random Variable
Summary Measures
Expected Value of a discrete distribution
(Weighted Average)
N
= E(X) = Xi P( Xi )
i=1
X P(X)
Example: Toss 2 coins, 0 .25
X = # of heads, 1 .50
compute expected value of X: 2 .25
E(X) = (0 x .25) + (1 x .50) + (2 x .25)
= 1.0
Chap 5-24
Discrete Random Variable
Summary Measures
(continued)
Variance of a discrete random variable
N
2 = [Xi E(X)]2 P(Xi )
i =1
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
Chap 5-25
Probability Distributions
Chap 5-26
Probability Distributions
Probability
Distributions
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Normal
Hypergeometric
Poisson Exponential
Chap 5-27
The Binomial Distribution
Probability
Distributions
Discrete
Probability
Distributions
Binomial
Hypergeometric
Poisson
Chap 5-28
Binomial Probability Distribution
Bernoulli Process :
A fixed number of observations, n (repeated trials)
e.g.: 15 tosses of a coin; ten light bulbs taken from a shipment
Each trial results in an outcome that may be classified
as a success or failure
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 q
Constant probability for each observation (p)
e.g.: Probability of getting a tail is the same each time we toss
the coin
Repeated trials are independent
Chap 5-29
Binomial Probability Distribution
(continued)
Chap 5-30
Possible Binomial Distribution
Settings
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)
Chap 5-32
Binomial Distribution Formula
n! X X
P(X) = p (q) n
X ! (n X)!
n!
P( X = 1) = p X (q) n X
X !(n X )!
5!
= (.1)1 (1 .1) 51
1!(5 1)!
= (5)(.1)(.9) 4
= .32805
Chap 5-34
Binomial Distribution
The shape of the binomial distribution depends on the
values of p and n
Mean
.6
P(X) n = 5 p = 0.1
Here, n = 5 and p = .1 .4
.2
0 X
0 1 2 3 4 5
P(X) n = 5 p = 0.5
Here, n = 5 and p = .5 .6
.4
.2
0 X
0 1 2 3 4 5
Chap 5-35
Binomial Distribution
Characteristics
Mean
= E(x) = np
Variance and Standard Deviation
= np(1 - p) = npq
2
= np(1 - p) = npq
Where n = sample size
p = probability of success
(1 p) = probability of failure
Chap 5-36
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
Chap 5-37
Using Binomial Tables
n = 10
x p=.20 p=.25 p=.30 p=.35 p=.40 p=.45 p=.50
0 0.1074 0.0563 0.0282 0.0135 0.0060 0.0025 0.0010 10
1 0.2684 0.1877 0.1211 0.0725 0.0403 0.0207 0.0098 9
2 0.3020 0.2816 0.2335 0.1757 0.1209 0.0763 0.0439 8
3 0.2013 0.2503 0.2668 0.2522 0.2150 0.1665 0.1172 7
4 0.0881 0.1460 0.2001 0.2377 0.2508 0.2384 0.2051 6
5 0.0264 0.0584 0.1029 0.1536 0.2007 0.2340 0.2461 5
6 0.0055 0.0162 0.0368 0.0689 0.1115 0.1596 0.2051 4
7 0.0008 0.0031 0.0090 0.0212 0.0425 0.0746 0.1172 3
8 0.0001 0.0004 0.0014 0.0043 0.0106 0.0229 0.0439 2
9 0.0000 0.0000 0.0001 0.0005 0.0016 0.0042 0.0098 1
10 0.0000 0.0000 0.0000 0.0000 0.0001 0.0003 0.0010 0
p=.80 p=.75 p=.70 p=.65 p=.60 p=.55 p=.50 x
Examples:
n = 10, p = .35, x = 3: b(3;10,.35) = .2522
n = 10, p = .75, x = 2: b(2;10,.75) = .0004
Chap 5-38
Binomial Distribution
Examples
1. Sebuah perusahaan farmasi memperhatikan 5 orang pekerjanya yang
sering terlambat hadir. Peluang hadir terlambat dari setiap pekerja
adalah 0,4 dan mereka hadir tidak tergantung satu dengan lainnya.
Berapa peluang 2 orang pekerja dari 5 pekerja hadir terlambat ?
5 !
Jawab : P(2) = (0,4)2 (0,6)3
2 ! (5 2) !
= (120/12) (0,16) (0,216)
= 0,3456
Chap 5-39
The Hypergeometric Distribution
Chap 5-40
Hypergeometric Distribution
Formula
(Two possible outcomes per trial)
k N k
x n x
P( X ) = h( x; N , n, k ) =
N
n
Where
N = Population size
k = number of successes in the population
N k = number of failures in the population
n = sample size
x = number of successes in the sample
n x = number of failures in the sample
Chap 5-41
Properties of the
Hypergeometric Distribution
The mean of the hypergeometric distribution is
nk
= E(x) =
N
The variance is
N n k k
=
2
.n. 1
N 1 N N
Chap 5-42
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
k=4 x=2
k N k 4 6
x n x 2 1 (6)(6)
P(X = 2) = = = = 0.3
N 10 120
n 3
Chap 5-44
Poisson Distribution Formula
t
e ( t ) x
P( X ) = p ( x; t ) =
x!
where:
x = number of successes per unit = 0,1,2,
= average number of outcomes per unit time, distance area
or volume
e = base of the natural logarithm system (2.71828...)
Example :
# Customers arriving in 15 min
# Defects per case of light bulbs
Chap 5-45
Poisson Distribution
Characteristics
Mean
= t
Variance and Standard Deviation
2 = t
= (t)
Chap 5-46
Using Poisson Tables
e t t X e 0.50 (0.50) 2
P( X = 2) = = = .0758
X! 2!
Chap 5-47
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
Chap 5-48
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
Chap 5-49
Poisson Distribution
Examples
1. Setiap minggu rata-rata 5 ekor burung merpati mati karena
menabrak Monumen di taman kota. Kelompok pecinta lingkungan
hidup minta PEMDA setempat untuk mengalokasikan dana guna
mencegah terjadi hal tersebut. PEMDA menyetujui bila peluang lebih
dari 3 burung mati melebihi 0,7. Akankah PEMDA memberikan dana
tersebut ?
Chap 5-50
Summary :
Discrete Probability Distributions
Chap 5-51