ISE 205 - Discrete Random Variable - CH 3
ISE 205 - Discrete Random Variable - CH 3
ISE 205 - Discrete Random Variable - CH 3
Definition
Definition
2-8 Random Variables
Definition
Cumulative Distribution Functions
i xi f ( xi ) F ( x)
• Example
F(x) = 0 x<0
¼ 0 <= x <1
¾ 1 <= x < 2
1 2 <= x
Cumulative Distribution Functions - Example
P(X=0)=¼
P(X=1)=½
P(X=2)=¼
P(X<0)=0
P ( X <= 0 ) = ¼
P ( X <= 1 ) = ¾
P ( X <= 2 ) = 1
P ( X <= 1.5 ) = ¾
P ( X > 0) = 1 - P ( X <= 0 ) = 1 - ¼ = ¾
P ( X > 2) = 1 - P ( X <= 2 ) = 1 – 1 = 0
Example 3-8 ( Hyper geometric Distribution)
50 800 800 50
850 849 850 849
Example 3-8
x x2 f(x) x. f(x)
0 0 ¼ 0 * 1/4
1 1 1/2 1*1/2
2 4 ¼ 4*1/4
• Example :
E( 1 + 3 X ) = 1 + 3 E (X) = 1 + 3(1.75) = 6.25
V(X) = (0-1.75)2 *1/8 + (1-1.75)2 * ¼ +
(2-1.75)2 * 3/8 + (3-1.75)2 * ¼ = 0.9375
Theorem 3:
Example
E[ X 2 ] x 2 f ( x) 1 / 8(0) 2 1 / 4(1) 2 3 / 8(2) 2 1 / 4(3) 2 4
x2 E ( X 2 ) 2 4 (1.75) 2 0.9375
3-5 Discrete Uniform Distribution
Definition
3-5 Discrete Uniform Distribution
Example 3-13
3-5 Discrete Uniform Distribution
Example 3-19
Example : Consider three parts inspected and
classified as either defective (success) or non-
defective ( failure) with p=0.25 and q=0.75.
X : number of defective parts
X = 0,1,2,3 and n = 3
Note : n!/[x!(n-x)!] represents the number of
possible outcomes for a certain x
f (0) = 1 * (0.25)0 * (.75) 3-0 =0.422
f (1) = 3 * (0.25)1 * (.75) 3-1 =0.422
f (2) = 3 * (0.25)2 * (.75) 3-2 =0.141
f (3) = 1 * (0.25)3 * (.75) 3-3 =0.0156
Mean and Variance
E(X) = np = 3 (0.25) =.75
V(X) = npq = 3 (0.25) (0.75) = 0.56
What is the probability that at least two defectives
are found ?
P( X >= 2 ) = P(X = 2) + P(X = 3)
= 0.141 + 0.0156 = 0.1566
Another way :
P( X >= 2 ) = 1- P( X < 2 )
= 1- [P(X=0) + P(X=1)] = 1 - (0.422 + 0.422) =
0.1566
3-7 Geometric Distributions
Example 3-20
3-7 Geometric Distributions
Definition
3-7 Geometric Distributions
Definition
3-8 Hypergeometric Distribution
Definition
3-8 Hypergeometric Distribution
Figure 3-12.
Hypergeometric
distributions for
selected values of
parameters N, K, and n.
3-8 Hypergeometric Distribution
Example 3-27
3-8 Hypergeometric Distribution
Example 3-27
3-8 Hypergeometric Distribution
Consistent Units
3-9 Poisson Distribution
Example 3-33
3-9 Poisson Distribution
Example 3-33
3-9 Poisson Distribution
e x
p(6) = f ( x) x 0
6 6
x 0
0.313
x!