Professional Documents
Culture Documents
19 Hypergeometric
19 Hypergeometric
19 Hypergeometric
Properties of hypergeometric:
Hypergeometric Distribution
𝑘 𝑁−𝑘
( )( )
ℎ(𝑥; 𝑁, 𝑛, 𝑘) = 𝑥 𝑛 − 𝑥 𝑚𝑎𝑥 {0, 𝑛 − (𝑁 − 𝑘)} < 𝑥 < 𝑚𝑖𝑛{𝑛, 𝑘}.
𝑁
( )
𝑛
Where: k= the number of successes
𝑁 − 𝑘 = the number of failures
n = sample size
Solution:
Example 2:
Suppose we have a lot of 100 items of which 12 are defective. What is the
probability that in a sample of 10, 3 are defective?
Solution:
Where: 𝑁 = 100
𝑘= 12
𝑛= 10
𝑥= 3
Proof:
𝑛𝑘
𝜇=
𝑁
𝑘 𝑘 𝑁−𝑘
( )( )
𝐸(𝑋) = ∑ 𝑥 𝑥 𝑛 − 𝑥
𝑁
𝑥=1 ( )
𝑛
𝑘 𝑘! 𝑁−𝑘
⋅ ( )
𝑥! (𝑘 − 𝑥)! 𝑛−𝑥
= ∑𝑥
𝑁
𝑥=1 ( )
𝑛
𝑘 𝑘! 𝑁−𝑘
⋅ ( )
(𝑥 − 1)! (𝑘 − 𝑥)! 𝑛−𝑥
=∑
𝑁
𝑥=1 ( )
𝑛
𝑘
𝑘(𝑘 − 1)! (𝑁 − 1) − (𝑘 − 1)
⋅ ( )
(𝑥 − 1)! [(𝑘 − 1) − (𝑥 − 1)]! (𝑛 − 1) − (𝑥 − 1)
=∑
𝑁!
𝑥=1
𝑛! (𝑁 − 𝑛)!
𝑘
𝑘(𝑘 − 1)! (𝑁 − 1) − (𝑘 − 1)
⋅ ( )
(𝑥 − 1)! [(𝑘 − 1) − (𝑥 − 1)]! (𝑛 − 1) − (𝑥 − 1)
=∑
𝑁(𝑁 − 1)!
𝑥=1
𝑛(𝑛 − 1)! [(𝑁 − 1) − (𝑛 − 1)]!
𝑘 − 1 (𝑁 − 1) − (𝑘 − 1)
𝑘
𝑘 (
)( )
𝑥 − 1 (𝑛 − 1) − (𝑥 − 1)
= ∑
𝑁 (𝑁 − 1)!
𝑛 𝑥=1 (𝑛 − 1)! [(𝑁 − 1) − (𝑛 − 1)]!
𝑘 (𝑘 − 1 ) (
(𝑁 − 1) − (𝑘 − 1)
𝑛𝑘 )
𝑥 − 1 (𝑛 − 1) − (𝑥 − 1)
= ∑
𝑁 𝑁−1
𝑥=1 ( )
𝑛−1
𝑘 (𝑘 − 1 ) (
(𝑁 − 1) − (𝑘 − 1)
𝑛𝑘 )
𝑥 − 1 (𝑛 − 1) − (𝑥 − 1)
= ∑
𝑁 𝑁−1
𝑥=1 ( )
𝑛−1
=1
𝑟
𝑘 ( ) (𝑀 − 𝑟 )
𝑛𝑘 𝑦 𝑚−𝑦
= ∑
𝑁 𝑀
𝑦=0 ( )
𝑚
𝒏𝒌
𝑬(𝑿) =
𝑵
Proof
𝑘 𝑘 𝑁−𝑘
( )( )
𝐸(𝑋 2)
= ∑𝑥 𝑥 𝑛 − 𝑥
𝑁
𝑥=1 ( )
𝑛
𝑘 𝑘! 𝑁−𝑘
( )
(𝑥 − 1)! (𝑘 − 1)! 𝑛 − 𝑥
= ∑𝑥
𝑁
𝑥=1 ( )
𝑛
𝑘−1 𝑟! 𝑀−𝑟
( )
𝑦! (𝑟 − 𝑦)! 𝑚 − 𝑦
= 𝑘 ∑(𝑦 + 1)
𝑁!
𝑦=0 ( )
𝑛! (𝑁 − 𝑛)!
𝑘−1 𝑟! 𝑀−𝑟
( )
𝑦! (𝑟 − 𝑦)! 𝑚 − 𝑦
= 𝑘 ∑(𝑦 + 1)
𝑁(𝑁 − 1)!
𝑦=0 ( )
𝑛(𝑛 − 1)! [(𝑁 − 1) − (𝑛 − 1)]!
𝑘
𝑟 𝑀−𝑟
𝑘 ( 𝑦 ) (𝑚 − 𝑦 )
= ∑(𝑦 + 1)
𝑁 𝑁−1
( )
𝑛 𝑦=0 𝑛−1
𝑟
𝑘−1 ( ) ( 𝑀 − 𝑟 )
𝑟
𝑘−1 ( ) ( 𝑀 − 𝑟 )
𝑛𝑘 𝑦 𝑚−𝑦 𝑦 𝑚−𝑦
= [∑ 𝑦 + ∑ ]
𝑁 𝑁−1 𝑁−1
𝑦=0 ( ) 𝑦=0 ( )
𝑛−1 𝑛−1
𝑛𝑘 𝑚𝑟
= [ + 1]
𝑁 𝑀
𝒏𝒌 (𝒏 − 𝟏)(𝒌 − 𝟏)
𝑬(𝑿𝟐 ) = [ + 𝟏]
𝑵 (𝑵 − 𝟏)
BUENAFLOR, MADONNA C. | Hypergeometric Distribution
TAMONAN, JHONMAR
𝐕𝐚𝐫 (𝑿) = 𝑬(𝑿𝟐 ) − [𝑬(𝑿)]𝟐
𝑛𝑘 (𝑛 − 1)(𝑘 − 1) 𝑛𝑘 2
= [ + 1] − ( )
𝑁 (𝑁 − 1) 𝑁
𝑛𝑘 (𝑛 − 1)(𝑘 − 1) 𝑛𝑘
= [ +1− ]
𝑁 (𝑁 − 1) 𝑁
𝑛𝑘 𝑛𝑘 − 𝑛 − 𝑘 + 1 𝑛𝑘
= [ +1− ]
𝑁 (𝑁 − 1) 𝑁
𝑛𝑘 −𝑛𝑁 − 𝑘𝑁 + 𝑁 2 + 𝑛𝑘)
= [ ]
𝑁 𝑁(𝑁 − 1)
𝑛𝑘 𝑁 2 − 𝑛𝑁 − 𝑘𝑁 + 𝑛𝑘)
= [ ]
𝑁 𝑁(𝑁 − 1)
𝑛𝑘 𝑁(𝑁 − 𝑛) − 𝑘(𝑁 − 𝑛)
= [ ]
𝑁 𝑁(𝑁 − 1)
𝒏𝒌 𝑵−𝒌
𝐕𝐚𝐫 (𝑿) = (𝑵 − 𝒏) ⋅
𝑵 𝑵(𝑵 − 𝟏)
1. If 7 cards are dealt from an ordinary deck of 52 playing cards, what is the
probability that
a. exactly 2 of them will be face cards?
b. at least 1 of them will be a queen?
2. From a lot of 10 missiles, 4 are selected at random and fired. If the lot contains
3 defective missiles that will not fire, what is the probability that
a. all 4 will fire?
b. at most 2 will not. fire?