Professional Documents
Culture Documents
( )
Discrete Random Variables and Probability and Distributions
V(X) = σ2 = ???
σ = ???
Show the Mean on the graph
a b
Example 1
Thickness measurements of a coating process are made to
the nearest hundredth of a millimeter. The thickness
measurements are uniformly distributed with values 0.15,
0.16, 0.17, 0.18, and 0.19. Determine the probability,
mean and variance of the coating thickness for this
process.
0.15 + 0.19
𝜇= = 0.17 𝑚𝑚
𝑓 𝑥 = 1ൗ𝑛 2
0.19 − 0.15 + 1 2 −1
𝑓 𝑥 = 1ൗ5 = 0.2 𝜎2 = = 0.0068 𝑚𝑚2
12
𝜎 = 0.0068 = .08246 𝑚𝑚
47 47!
= = 178,365 𝑑𝑖𝑓𝑓𝑒𝑟𝑒𝑛𝑡 𝑤𝑎𝑦𝑠
the number of subsets of size six that contain exactly two defective items is 4 4! 43!
6
18 𝑥 18−𝑥
𝑓 3 ≤ X<7 = 0.1 0.9
𝑥
𝑥=3
= 0.265 University of Santo Tomas
15
Faculty of Engineering || ENG2015
Discrete Random Variables and Probability Distributions
BINOMIAL DISTRIBUTION
0.3
Example.
Each sample of water has a 10% chance of containing 0.25
f(x)
0.15
18 2 18−2
𝑓 𝑋=2 = 0.1 0.9 0.05
2
= 0.284 0
18 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
18 𝑥 18−𝑥
number of samples that contain pollutants, X
𝑓(𝑋 ≥ 4) = 0.1 0.9
𝑥
𝑥=4
= 0.098
6
18 𝑥 18−𝑥
𝑓 3 ≤ X<7 = 0.1 0.9
𝑥
𝑥=3
= 0.265 University of Santo Tomas
16
Faculty of Engineering || ENG2015
Discrete Random Variables and Probability Distributions
BINOMIAL DISTRIBUTION
Example.
The chance that a bit transmitted through a digital
transmission channel is received in error is 0.1. Also,
assume that the transmission trials are independent.
Let X the number of bits in error in the next four bits
transmitted. Determine f(X=2)
For Mean
𝝁 = 𝒏𝒑
𝜇 = 4 .1
= 0.4
For Variance
𝝈𝟐 = 𝒏𝒑(𝟏 − 𝒑)
𝝈𝟐 = 4 .1 (0.9)
= 0.36
𝑛 = 10; 𝑝 = 0.5
0.15
f(x)
For Mean 0.1
𝝁 = 𝒏𝒑
𝜇 = 10 .5 0.05
=5
0
0 1 2 3 4 5 6 7 8 9 10
𝝈 = 𝝈𝟐 = 𝒏𝒑(𝟏 − 𝒑)
= 10 .5 (0.5)
= 1.58
University of Santo Tomas
19
Faculty of Engineering || ENG2015
Discrete Random Variables and Probability Distributions
Instead of a fixed number of trials, trials are conducted until a
GEOMETRIC DISTRIBUTION
success is obtained
Example. The probability mass function of
The chance that a bit transmitted through a digital geometric variable X is
transmission channel is received in error is 0.1. Also, 𝑓(𝑥) = 1 − 𝑝 𝑥−1 (𝑝)
assume that the transmission trials are independent. 0.100
0.080
error. 0.070
0.060
f(x)
0.050
0.020
OOE 3 (0.9)(0.9)(0.1) 0.073 0.010
0.000
OOOE 4 (0.9)^3(0.1) 0.066 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
number of bits transmitted until error, X
OOOOE 5 (0.9)^4(0.1) 0.059
Probability distribution of the number of bits transmitted until
OOOOOE 6 (0.9)^6(0.1) 0.053
the first error.
University of Santo Tomas
20
Faculty of Engineering || ENG2015
Discrete Random Variables and Probability Distributions
Outcomes …. X …. x-1Cr-1 (1-p)^(x-r) p^r f(x)
NEGATIVE BINOMIAL DISTRIBUTION
EEEE 4 1 1.000 0.0001 0.0001
OEEEEE 5 4 0.900 0.0001 0.0004
Suppose the probability that a bit transmitted through a digital
EOEEOE 6 10 0.810 0.0001 0.0008
transmission channel is received in error is 0.1. Assume the OOOEEEE 7 20 0.729 0.0001 0.0015
transmissions are independent events, and let the random OOOOEEEE 8 35 0.656 0.0001 0.0023
variable X denote the number of bits transmitted until the OOOOOEEEE 9 56 0.590 0.0001 0.0033
fourth error. OOOEEEOOOE 10 84 0.531 0.0001 0.0045
f(x)
0.0100
4
8
12
16
20
24
28
32
36
40
44
48
52
56
60
64
68
72
76
80
84
88
92
96
100
104
108
𝑥−1
𝑓(𝑥) = 1 − 𝑝 𝑥−𝑟 𝑝 𝑟 number of bits transmitted until the fourth error, X
𝑟−1
University of Santo Tomas
4th error at 10th trial Faculty of Engineering || ENG2015
21
Discrete Random Variables and Probability Distributions
𝐾 𝑁−𝐾
HYPERGEOMETRIC DISTRIBUTION 𝑃(𝑥) = 𝑥 𝑛−𝑥
𝑁
Example 𝑛
A day’s production of 850 manufactured parts contains N = total number of objects
50 parts that do not conform to customer requirements. K = number of success
Two parts are selected at random, without replacement n = number of objects selected w/o replacement
from the day’s production
0.35
0.3
0.25
f(x)
0.2
0.15
0.1
0.05
0
0 1 2 3 4
University of Santo Tomas
number of part from the local suppliers, X 23
Faculty of Engineering || ENG2015
Discrete Random Variables and Probability Distributions
GEOMETRIC DISTRIBUTION HYPERGEOMETRIC DISTRIBUTION
The probability mass function of geometric variable X is The probability mass function of
𝑓(𝑥) = 1 − 𝑝 𝑥−1 (𝑝) hypergeometric variable X is
𝐾 𝑁−𝐾
𝑥 𝑛−𝑥
𝑃(𝑥) = 𝑁
𝑛