SlideShare a Scribd company logo
1 of 4
Download to read offline
Mean and Variance of the HyperGeometric Distribution Page 1
Al Lehnen Madison Area Technical College 11/30/2011
In a drawing of n distinguishable objects without replacement from a set of N (n < N)
distinguishable objects, a of which have characteristic A, (a < N) the probability that
exactly x objects in the draw of n have the characteristic A is given by then number of
different ways the x objects can be chosen from the a available times the number of
different ways the n-x objects in the draw which don’t have A can be chosen from the
N-a available divided by the number of different ways n distinguishable objects can be
chosen from a set of N. The resulting probability distribution for the random variable x is
called the hypergeometric distribution. In symbols,
( )
a N a
x n x
f x
N
n
−⎛ ⎞⎛ ⎞
⎜ ⎟⎜ ⎟
−⎝ ⎠⎝ ⎠=
⎛ ⎞
⎜ ⎟
⎝ ⎠
.
The binomial coefficient
( )
!
! !
k k
j j k j
⎛ ⎞
=⎜ ⎟
−⎝ ⎠
is defined to be zero if either j or k-j is
negative, so that the probability of the null event of drawing more objects than those
available is zero. To prove that ( )
0 0
1
n n
x x
a N a
x n x
f x
N
n
= =
−⎛ ⎞⎛ ⎞
⎜ ⎟⎜ ⎟
−⎝ ⎠⎝ ⎠= =
⎛ ⎞
⎜ ⎟
⎝ ⎠
∑ ∑ , consider the factorization
( ) ( ) ( )N a N a
B C B C B C
−
+ = + + . From the binomial theorem,
( ) ( )
( )
0 0
0 0
a N a
a N a a j j N a l l
j l
a N a
N l j l j
j l
a N a
B C B C B C B C
j l
a N a
B C
j l
−
− − − −
= =
−
− + +
= =
−⎛ ⎞ ⎛ ⎞
+ + = ⎜ ⎟ ⎜ ⎟
⎝ ⎠ ⎝ ⎠
−⎛ ⎞⎛ ⎞
= ⎜ ⎟⎜ ⎟
⎝ ⎠⎝ ⎠
∑ ∑
∑ ∑
Using the diagonal rearrangement suggested by the figure below with l n j= − , with the
intercept n running from 0 to N and j running from 0 to a. This generates more than the
( )( )1 1a N a+ − + terms in the above sum. However, all of the new terms generated vanish
since they have l N a> − .
( ) ( )
0 0
N a
a N a N n n
n j
a N a
B C B C B C
j n j
− −
= =
−⎛ ⎞⎛ ⎞
+ + = ⎜ ⎟⎜ ⎟
−⎝ ⎠⎝ ⎠
∑ ∑
Now, for n a> extending the sum over j to n because of the
a
j
⎛ ⎞
⎜ ⎟
⎝ ⎠
factor would only add
terms which are zero. Similarly, if n a< , the terms in the sum over j from j = n + 1 to j = a
are all zero due to the
N a
n j
−⎛ ⎞
⎜ ⎟
−⎝ ⎠
factor. Thus,
( ) ( )
0 0 0 0
N a N n
a N a N n n N n n
n j n j
a N a a N a
B C B C B C B C
j n j j n j
− − −
= = = =
− −⎛ ⎞⎛ ⎞ ⎛ ⎞⎛ ⎞
+ + = =⎜ ⎟⎜ ⎟ ⎜ ⎟⎜ ⎟
− −⎝ ⎠⎝ ⎠ ⎝ ⎠⎝ ⎠
∑ ∑ ∑ ∑ .
Mean and Variance of the HyperGeometric Distribution Page 2
Al Lehnen Madison Area Technical College 11/30/2011
But from a second use of the binomial theorem,
( ) ( ) ( )
0 0 0
N n N
a N a NN n n N n n
n j n
a N a N
B C B C B C B C B C
j n j n
− − −
= = =
−⎛ ⎞⎛ ⎞ ⎛ ⎞
+ + = = + =⎜ ⎟⎜ ⎟ ⎜ ⎟
−⎝ ⎠⎝ ⎠ ⎝ ⎠
∑ ∑ ∑ .
The only way the two sums can be equal for all values of B and C is for
0
n
j
a N a N
j n j n=
−⎛ ⎞⎛ ⎞ ⎛ ⎞
=⎜ ⎟⎜ ⎟ ⎜ ⎟
−⎝ ⎠⎝ ⎠ ⎝ ⎠
∑ . (1)
This in turn implies that the hypergeometric probabilities do indeed construct a valid
probability distribution, i.e. ( )
0 0
1
n n
x x
a N a
x n x
f x
N
n
= =
−⎛ ⎞⎛ ⎞
⎜ ⎟⎜ ⎟
−⎝ ⎠⎝ ⎠= =
⎛ ⎞
⎜ ⎟
⎝ ⎠
∑ ∑ .
The mean or expected value of the hypergeometric random variable is given by
( )
1
0 0
n n
x
x x
N a N a
x x f x x
n x n x
μ
−
= =
−⎛ ⎞ ⎛ ⎞⎛ ⎞
= = =⎜ ⎟ ⎜ ⎟⎜ ⎟
−⎝ ⎠ ⎝ ⎠⎝ ⎠
∑ ∑ .
Now, using Equation (1),
Mean and Variance of the HyperGeometric Distribution Page 3
Al Lehnen Madison Area Technical College 11/30/2011
( )
( )
( ) ( ) ( )
( ) ( )
( ) ( )
( )
( )
( ) ( )
( )
( ) ( )
( )
0 1 1
1 1
0 0
1 11 !!
1 1! ! 1 ! 1 1 !
1 1 1 11 ! 1
1 1! 1 !
1
1
n n n
x x x
n n
x x
N aa aa N a N axa
x
n xx n x n xx n x x n x
N a N aa a
a a
n x n xxx n x
N
a
n
= = =
− −
= =
⎛ ⎞− − −−− −⎛ ⎞⎛ ⎞ ⎛ ⎞
= = ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟− − −− −− ⎡ ⎤− − − −⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎣ ⎦
⎛ ⎞ ⎛ ⎞− − − − − −− −⎛ ⎞
= =⎜ ⎟ ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟− − − −⎡ ⎤− − ⎝ ⎠⎝ ⎠ ⎝ ⎠⎣ ⎦
−⎛ ⎞
= ⎜ ⎟
−⎝ ⎠
∑ ∑ ∑
∑ ∑
This gives that ( )
( )
( ) ( )
( )1
0
1 ! ! !1
1 1 ! ! !
n
x
x
N n N nN N na
x x f x a a
n n n N n N N
μ
−
=
− −−⎛ ⎞ ⎛ ⎞
= = = = ⋅ =⎜ ⎟ ⎜ ⎟
− − −⎝ ⎠ ⎝ ⎠
∑ .
Using the notation of the binomial distribution that
a
p
N
= , we see that the expected value
of x is the same for both drawing without replacement (the hypergeometric distribution)
and with replacement (the binomial distribution).
x
na
x np
N
μ = = = (2)
The variance of the hypergeometric distribution can be computed from the generic
formula that
2 22 2
x x x x xσ ⎡ ⎤= − = −⎣ ⎦ . Again from Equation (1),
( )
( )
( )
( )( )
( ) ( ) ( )
( ) ( )
( ) ( )
( )
( )
( )
( ) ( )
( )
( )
( ) ( )
( )
0 2 2
2 2
0 0
2 21 ! 1 2 !
1
2 2! ! 2 ! 2 2 !
2 2 2 22 ! 2
1 1
2 2! 2 !
n n n
x x x
n n
x x
N ax x a a a aa N a N a
x x
n xx n x n xx n x x n x
N a N aa a
a a a a
n x n xxx n x
= = =
− −
= =
⎛ ⎞− − −− − −− −⎛ ⎞⎛ ⎞ ⎛ ⎞
− = = ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟− − −− −− ⎡ ⎤− − − −⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎣ ⎦
⎛ ⎞ ⎛ ⎞− − − − − −− −⎛ ⎞
= − = −⎜ ⎟ ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟− − − −⎡ ⎤− − ⎝ ⎠⎝ ⎠ ⎝ ⎠⎣ ⎦
∑ ∑ ∑
∑
( )
2
1
2
N
a a
n
−⎛ ⎞
= − ⎜ ⎟
−⎝ ⎠
∑
So,
( ) ( ) ( )
( )
( )
( ) ( )
( ) ( ) ( )
( )
1 1
0
2
1 1 1
2
2 ! ! ! 1 1
1
2 ! ! ! 1
n
x
N a N a N N
x x x x a a
n x n x n n
N N n n a a n n
a a
n N n N N N
− −
=
− −⎛ ⎞ ⎛ ⎞⎛ ⎞ ⎛ ⎞ ⎛ ⎞
− = − = −⎜ ⎟ ⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟
− −⎝ ⎠ ⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠
− − − −
= − ⋅ =
− − −
∑
and
( )
( ) ( )
( )
( )( )
( )
2 1 1 1 1
1 1
1 1
a a n n a nan an
x x x x
N N N N N
⎡ ⎤− − − −
= − + = + = +⎢ ⎥
− −⎢ ⎥⎣ ⎦
.
Mean and Variance of the HyperGeometric Distribution Page 4
Al Lehnen Madison Area Technical College 11/30/2011
Thus,
( )( ) ( )( )
( )
( )
( )
( )
( )
( ) ( )
( ) ( )
( )
( )( )
( )
22 2
2 2
1 1 1 1 1 1
1
1 1 1 1
1 1
1 1
x
a n N a n N N an Nan an an
x x
N N N N N N N N N N
an Nan Na Nn N N N Nan an an N Na Nn an
N N N N N N
N N a n N a N n N aan an an N a
N N N N N N N N
σ
⎡ ⎤⎡ ⎤− − − − − −
= − = + − = + −⎢ ⎥⎢ ⎥
− − − −⎢ ⎥⎣ ⎦ ⎣ ⎦
⎡ ⎤ ⎡ ⎤− − + + − − + − − +
= =⎢ ⎥ ⎢ ⎥
− −⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎣ ⎦
⎡ ⎤ ⎡ ⎤− − − − − −⎛
= = =⎢ ⎥ ⎢ ⎥ ⎜− − ⎝⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎣ ⎦
( )
1
1 1
1 1
N n
N
an a N n N n
np p
N N N N
−⎞⎛ ⎞
⎟⎜ ⎟−⎠⎝ ⎠
− −⎛ ⎞⎛ ⎞ ⎛ ⎞
= − = −⎜ ⎟⎜ ⎟ ⎜ ⎟
− −⎝ ⎠⎝ ⎠ ⎝ ⎠
The last factor
1
N n
N
−⎛ ⎞
⎜ ⎟−⎝ ⎠
is called the “finite population correction” and is the reason that
the variance of the binomial distribution ( )1np p− differs from the hypergeometric
distribution. For N large compared to the sample size n, the two distributions are
essentially identical.

More Related Content

What's hot

TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADASEducación
 
Lección 1 - Propiedades de las operaciones en reales
Lección 1 - Propiedades de las operaciones en reales Lección 1 - Propiedades de las operaciones en reales
Lección 1 - Propiedades de las operaciones en reales Laura Gómez Leyton
 
Newton’s forward interpolation
Newton’s forward interpolationNewton’s forward interpolation
Newton’s forward interpolationKondalPavuluri
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference FormulaJas Singh Bhasin
 
Linear conformal mapping
Linear conformal mappingLinear conformal mapping
Linear conformal mappingTarun Gehlot
 
X2 T08 01 inequalities and graphs (2010)
X2 T08 01 inequalities and graphs (2010)X2 T08 01 inequalities and graphs (2010)
X2 T08 01 inequalities and graphs (2010)Nigel Simmons
 
X2 t08 03 inequalities & graphs (2012)
X2 t08 03 inequalities & graphs (2012)X2 t08 03 inequalities & graphs (2012)
X2 t08 03 inequalities & graphs (2012)Nigel Simmons
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward differenceRaj Parekh
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritSelvin Hadi
 
Correlation of dts by er. sanyam s. saini me (reg) 2012-14
Correlation of dts by  er. sanyam s. saini  me  (reg) 2012-14Correlation of dts by  er. sanyam s. saini  me  (reg) 2012-14
Correlation of dts by er. sanyam s. saini me (reg) 2012-14Sanyam Singh
 
X2 T04 03 cuve sketching - addition, subtraction, multiplication and division
X2 T04 03 cuve sketching - addition, subtraction,  multiplication and divisionX2 T04 03 cuve sketching - addition, subtraction,  multiplication and division
X2 T04 03 cuve sketching - addition, subtraction, multiplication and divisionNigel Simmons
 
Lesson 24: The Definite Integral (Section 4 version)
Lesson 24: The Definite Integral (Section 4 version)Lesson 24: The Definite Integral (Section 4 version)
Lesson 24: The Definite Integral (Section 4 version)Matthew Leingang
 
Bai giang ham so kha vi va vi phan cua ham nhieu bien
Bai giang ham so kha vi va vi phan cua ham nhieu bienBai giang ham so kha vi va vi phan cua ham nhieu bien
Bai giang ham so kha vi va vi phan cua ham nhieu bienNhan Nguyen
 
Lesson 24: The Definite Integral (Section 10 version)
Lesson 24: The Definite Integral (Section 10 version)Lesson 24: The Definite Integral (Section 10 version)
Lesson 24: The Definite Integral (Section 10 version)Matthew Leingang
 
Formulas statistics
Formulas statisticsFormulas statistics
Formulas statisticsPrashi_Jain
 
Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Matthew Leingang
 

What's hot (18)

TABLA DE DERIVADAS
TABLA DE DERIVADASTABLA DE DERIVADAS
TABLA DE DERIVADAS
 
Lección 1 - Propiedades de las operaciones en reales
Lección 1 - Propiedades de las operaciones en reales Lección 1 - Propiedades de las operaciones en reales
Lección 1 - Propiedades de las operaciones en reales
 
Newton’s forward interpolation
Newton’s forward interpolationNewton’s forward interpolation
Newton’s forward interpolation
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
 
Linear conformal mapping
Linear conformal mappingLinear conformal mapping
Linear conformal mapping
 
Rpra1
Rpra1Rpra1
Rpra1
 
X2 T08 01 inequalities and graphs (2010)
X2 T08 01 inequalities and graphs (2010)X2 T08 01 inequalities and graphs (2010)
X2 T08 01 inequalities and graphs (2010)
 
X2 t08 03 inequalities & graphs (2012)
X2 t08 03 inequalities & graphs (2012)X2 t08 03 inequalities & graphs (2012)
X2 t08 03 inequalities & graphs (2012)
 
NUMERICAL METHODS
NUMERICAL METHODSNUMERICAL METHODS
NUMERICAL METHODS
 
Newton's forward difference
Newton's forward differenceNewton's forward difference
Newton's forward difference
 
Statistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskritStatistik 1 5 distribusi probabilitas diskrit
Statistik 1 5 distribusi probabilitas diskrit
 
Correlation of dts by er. sanyam s. saini me (reg) 2012-14
Correlation of dts by  er. sanyam s. saini  me  (reg) 2012-14Correlation of dts by  er. sanyam s. saini  me  (reg) 2012-14
Correlation of dts by er. sanyam s. saini me (reg) 2012-14
 
X2 T04 03 cuve sketching - addition, subtraction, multiplication and division
X2 T04 03 cuve sketching - addition, subtraction,  multiplication and divisionX2 T04 03 cuve sketching - addition, subtraction,  multiplication and division
X2 T04 03 cuve sketching - addition, subtraction, multiplication and division
 
Lesson 24: The Definite Integral (Section 4 version)
Lesson 24: The Definite Integral (Section 4 version)Lesson 24: The Definite Integral (Section 4 version)
Lesson 24: The Definite Integral (Section 4 version)
 
Bai giang ham so kha vi va vi phan cua ham nhieu bien
Bai giang ham so kha vi va vi phan cua ham nhieu bienBai giang ham so kha vi va vi phan cua ham nhieu bien
Bai giang ham so kha vi va vi phan cua ham nhieu bien
 
Lesson 24: The Definite Integral (Section 10 version)
Lesson 24: The Definite Integral (Section 10 version)Lesson 24: The Definite Integral (Section 10 version)
Lesson 24: The Definite Integral (Section 10 version)
 
Formulas statistics
Formulas statisticsFormulas statistics
Formulas statistics
 
Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)
 

Viewers also liked

Hypergeometric Distribution
Hypergeometric DistributionHypergeometric Distribution
Hypergeometric Distributionmathscontent
 
Hypergeometric distribution
Hypergeometric distributionHypergeometric distribution
Hypergeometric distributionmohammad nouman
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variablesgetyourcheaton
 
The Poisson Distribution
The  Poisson DistributionThe  Poisson Distribution
The Poisson DistributionMax Chipulu
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distributionStudent
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distributionAntiqNyke
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsBabasab Patil
 
Poisson Distribution
Poisson DistributionPoisson Distribution
Poisson DistributionMiniclebz
 

Viewers also liked (10)

Hypergeometric Distribution
Hypergeometric DistributionHypergeometric Distribution
Hypergeometric Distribution
 
Hypergeometric distribution
Hypergeometric distributionHypergeometric distribution
Hypergeometric distribution
 
Probability Distributions for Discrete Variables
Probability Distributions for Discrete VariablesProbability Distributions for Discrete Variables
Probability Distributions for Discrete Variables
 
The Poisson Distribution
The  Poisson DistributionThe  Poisson Distribution
The Poisson Distribution
 
Poisson lecture
Poisson lecturePoisson lecture
Poisson lecture
 
Poission distribution
Poission distributionPoission distribution
Poission distribution
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Poisson distribution
Poisson distributionPoisson distribution
Poisson distribution
 
Discrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec domsDiscrete and continuous probability distributions ppt @ bec doms
Discrete and continuous probability distributions ppt @ bec doms
 
Poisson Distribution
Poisson DistributionPoisson Distribution
Poisson Distribution
 

Similar to Hypergeometric Distribution Mean and Variance

Formulario cálculo
Formulario cálculoFormulario cálculo
Formulario cálculoMan50035
 
Formulario oficial-calculo
Formulario oficial-calculoFormulario oficial-calculo
Formulario oficial-calculoFavian Flores
 
Calculo
CalculoCalculo
CalculoJu Lio
 
Formulario derivadas e integrales
Formulario derivadas e integralesFormulario derivadas e integrales
Formulario derivadas e integralesGeovanny Jiménez
 
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Amro Elfeki
 
X2 t08 03 inequalities & graphs (2013)
X2 t08 03 inequalities & graphs (2013)X2 t08 03 inequalities & graphs (2013)
X2 t08 03 inequalities & graphs (2013)Nigel Simmons
 
07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processingJordanJohmMallillin
 
Nonparametric approach to multiple regression
Nonparametric approach to multiple regressionNonparametric approach to multiple regression
Nonparametric approach to multiple regressionAlexander Decker
 
Solution manual for introduction to nonlinear finite element analysis nam-h...
Solution manual for introduction to nonlinear finite element analysis   nam-h...Solution manual for introduction to nonlinear finite element analysis   nam-h...
Solution manual for introduction to nonlinear finite element analysis nam-h...Salehkhanovic
 
微積分定理與公式
微積分定理與公式微積分定理與公式
微積分定理與公式zoayzoay
 
Introduction to Gaussian Processes
Introduction to Gaussian ProcessesIntroduction to Gaussian Processes
Introduction to Gaussian ProcessesDmytro Fishman
 
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...ijrap
 

Similar to Hypergeometric Distribution Mean and Variance (20)

Formulario calculo
Formulario calculoFormulario calculo
Formulario calculo
 
Formulario cálculo
Formulario cálculoFormulario cálculo
Formulario cálculo
 
Formulario oficial-calculo
Formulario oficial-calculoFormulario oficial-calculo
Formulario oficial-calculo
 
Formulario
FormularioFormulario
Formulario
 
Formulario calculo
Formulario calculoFormulario calculo
Formulario calculo
 
Formulas de calculo
Formulas de calculoFormulas de calculo
Formulas de calculo
 
Calculo
CalculoCalculo
Calculo
 
Calculo
CalculoCalculo
Calculo
 
Tablas calculo
Tablas calculoTablas calculo
Tablas calculo
 
Formulario
FormularioFormulario
Formulario
 
Formulario derivadas e integrales
Formulario derivadas e integralesFormulario derivadas e integrales
Formulario derivadas e integrales
 
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
Lecture 6: Stochastic Hydrology (Estimation Problem-Kriging-, Conditional Sim...
 
X2 t08 03 inequalities & graphs (2013)
X2 t08 03 inequalities & graphs (2013)X2 t08 03 inequalities & graphs (2013)
X2 t08 03 inequalities & graphs (2013)
 
07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing07-Convolution.pptx signal spectra and signal processing
07-Convolution.pptx signal spectra and signal processing
 
Nonparametric approach to multiple regression
Nonparametric approach to multiple regressionNonparametric approach to multiple regression
Nonparametric approach to multiple regression
 
Simple Linear Regression
Simple Linear RegressionSimple Linear Regression
Simple Linear Regression
 
Solution manual for introduction to nonlinear finite element analysis nam-h...
Solution manual for introduction to nonlinear finite element analysis   nam-h...Solution manual for introduction to nonlinear finite element analysis   nam-h...
Solution manual for introduction to nonlinear finite element analysis nam-h...
 
微積分定理與公式
微積分定理與公式微積分定理與公式
微積分定理與公式
 
Introduction to Gaussian Processes
Introduction to Gaussian ProcessesIntroduction to Gaussian Processes
Introduction to Gaussian Processes
 
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...
Bound State Solution to Schrodinger Equation with Hulthen Plus Exponential Co...
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........LeaCamillePacle
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........Atmosphere science 7 quarter 4 .........
Atmosphere science 7 quarter 4 .........
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

Hypergeometric Distribution Mean and Variance

  • 1. Mean and Variance of the HyperGeometric Distribution Page 1 Al Lehnen Madison Area Technical College 11/30/2011 In a drawing of n distinguishable objects without replacement from a set of N (n < N) distinguishable objects, a of which have characteristic A, (a < N) the probability that exactly x objects in the draw of n have the characteristic A is given by then number of different ways the x objects can be chosen from the a available times the number of different ways the n-x objects in the draw which don’t have A can be chosen from the N-a available divided by the number of different ways n distinguishable objects can be chosen from a set of N. The resulting probability distribution for the random variable x is called the hypergeometric distribution. In symbols, ( ) a N a x n x f x N n −⎛ ⎞⎛ ⎞ ⎜ ⎟⎜ ⎟ −⎝ ⎠⎝ ⎠= ⎛ ⎞ ⎜ ⎟ ⎝ ⎠ . The binomial coefficient ( ) ! ! ! k k j j k j ⎛ ⎞ =⎜ ⎟ −⎝ ⎠ is defined to be zero if either j or k-j is negative, so that the probability of the null event of drawing more objects than those available is zero. To prove that ( ) 0 0 1 n n x x a N a x n x f x N n = = −⎛ ⎞⎛ ⎞ ⎜ ⎟⎜ ⎟ −⎝ ⎠⎝ ⎠= = ⎛ ⎞ ⎜ ⎟ ⎝ ⎠ ∑ ∑ , consider the factorization ( ) ( ) ( )N a N a B C B C B C − + = + + . From the binomial theorem, ( ) ( ) ( ) 0 0 0 0 a N a a N a a j j N a l l j l a N a N l j l j j l a N a B C B C B C B C j l a N a B C j l − − − − − = = − − + + = = −⎛ ⎞ ⎛ ⎞ + + = ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠ −⎛ ⎞⎛ ⎞ = ⎜ ⎟⎜ ⎟ ⎝ ⎠⎝ ⎠ ∑ ∑ ∑ ∑ Using the diagonal rearrangement suggested by the figure below with l n j= − , with the intercept n running from 0 to N and j running from 0 to a. This generates more than the ( )( )1 1a N a+ − + terms in the above sum. However, all of the new terms generated vanish since they have l N a> − . ( ) ( ) 0 0 N a a N a N n n n j a N a B C B C B C j n j − − = = −⎛ ⎞⎛ ⎞ + + = ⎜ ⎟⎜ ⎟ −⎝ ⎠⎝ ⎠ ∑ ∑ Now, for n a> extending the sum over j to n because of the a j ⎛ ⎞ ⎜ ⎟ ⎝ ⎠ factor would only add terms which are zero. Similarly, if n a< , the terms in the sum over j from j = n + 1 to j = a are all zero due to the N a n j −⎛ ⎞ ⎜ ⎟ −⎝ ⎠ factor. Thus, ( ) ( ) 0 0 0 0 N a N n a N a N n n N n n n j n j a N a a N a B C B C B C B C j n j j n j − − − = = = = − −⎛ ⎞⎛ ⎞ ⎛ ⎞⎛ ⎞ + + = =⎜ ⎟⎜ ⎟ ⎜ ⎟⎜ ⎟ − −⎝ ⎠⎝ ⎠ ⎝ ⎠⎝ ⎠ ∑ ∑ ∑ ∑ .
  • 2. Mean and Variance of the HyperGeometric Distribution Page 2 Al Lehnen Madison Area Technical College 11/30/2011 But from a second use of the binomial theorem, ( ) ( ) ( ) 0 0 0 N n N a N a NN n n N n n n j n a N a N B C B C B C B C B C j n j n − − − = = = −⎛ ⎞⎛ ⎞ ⎛ ⎞ + + = = + =⎜ ⎟⎜ ⎟ ⎜ ⎟ −⎝ ⎠⎝ ⎠ ⎝ ⎠ ∑ ∑ ∑ . The only way the two sums can be equal for all values of B and C is for 0 n j a N a N j n j n= −⎛ ⎞⎛ ⎞ ⎛ ⎞ =⎜ ⎟⎜ ⎟ ⎜ ⎟ −⎝ ⎠⎝ ⎠ ⎝ ⎠ ∑ . (1) This in turn implies that the hypergeometric probabilities do indeed construct a valid probability distribution, i.e. ( ) 0 0 1 n n x x a N a x n x f x N n = = −⎛ ⎞⎛ ⎞ ⎜ ⎟⎜ ⎟ −⎝ ⎠⎝ ⎠= = ⎛ ⎞ ⎜ ⎟ ⎝ ⎠ ∑ ∑ . The mean or expected value of the hypergeometric random variable is given by ( ) 1 0 0 n n x x x N a N a x x f x x n x n x μ − = = −⎛ ⎞ ⎛ ⎞⎛ ⎞ = = =⎜ ⎟ ⎜ ⎟⎜ ⎟ −⎝ ⎠ ⎝ ⎠⎝ ⎠ ∑ ∑ . Now, using Equation (1),
  • 3. Mean and Variance of the HyperGeometric Distribution Page 3 Al Lehnen Madison Area Technical College 11/30/2011 ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 0 1 1 1 1 0 0 1 11 !! 1 1! ! 1 ! 1 1 ! 1 1 1 11 ! 1 1 1! 1 ! 1 1 n n n x x x n n x x N aa aa N a N axa x n xx n x n xx n x x n x N a N aa a a a n x n xxx n x N a n = = = − − = = ⎛ ⎞− − −−− −⎛ ⎞⎛ ⎞ ⎛ ⎞ = = ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟− − −− −− ⎡ ⎤− − − −⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎣ ⎦ ⎛ ⎞ ⎛ ⎞− − − − − −− −⎛ ⎞ = =⎜ ⎟ ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟− − − −⎡ ⎤− − ⎝ ⎠⎝ ⎠ ⎝ ⎠⎣ ⎦ −⎛ ⎞ = ⎜ ⎟ −⎝ ⎠ ∑ ∑ ∑ ∑ ∑ This gives that ( ) ( ) ( ) ( ) ( )1 0 1 ! ! !1 1 1 ! ! ! n x x N n N nN N na x x f x a a n n n N n N N μ − = − −−⎛ ⎞ ⎛ ⎞ = = = = ⋅ =⎜ ⎟ ⎜ ⎟ − − −⎝ ⎠ ⎝ ⎠ ∑ . Using the notation of the binomial distribution that a p N = , we see that the expected value of x is the same for both drawing without replacement (the hypergeometric distribution) and with replacement (the binomial distribution). x na x np N μ = = = (2) The variance of the hypergeometric distribution can be computed from the generic formula that 2 22 2 x x x x xσ ⎡ ⎤= − = −⎣ ⎦ . Again from Equation (1), ( ) ( ) ( ) ( )( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 0 2 2 2 2 0 0 2 21 ! 1 2 ! 1 2 2! ! 2 ! 2 2 ! 2 2 2 22 ! 2 1 1 2 2! 2 ! n n n x x x n n x x N ax x a a a aa N a N a x x n xx n x n xx n x x n x N a N aa a a a a a n x n xxx n x = = = − − = = ⎛ ⎞− − −− − −− −⎛ ⎞⎛ ⎞ ⎛ ⎞ − = = ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟− − −− −− ⎡ ⎤− − − −⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠⎣ ⎦ ⎛ ⎞ ⎛ ⎞− − − − − −− −⎛ ⎞ = − = −⎜ ⎟ ⎜ ⎟⎜ ⎟⎜ ⎟ ⎜ ⎟− − − −⎡ ⎤− − ⎝ ⎠⎝ ⎠ ⎝ ⎠⎣ ⎦ ∑ ∑ ∑ ∑ ( ) 2 1 2 N a a n −⎛ ⎞ = − ⎜ ⎟ −⎝ ⎠ ∑ So, ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 1 1 0 2 1 1 1 2 2 ! ! ! 1 1 1 2 ! ! ! 1 n x N a N a N N x x x x a a n x n x n n N N n n a a n n a a n N n N N N − − = − −⎛ ⎞ ⎛ ⎞⎛ ⎞ ⎛ ⎞ ⎛ ⎞ − = − = −⎜ ⎟ ⎜ ⎟⎜ ⎟ ⎜ ⎟ ⎜ ⎟ − −⎝ ⎠ ⎝ ⎠⎝ ⎠ ⎝ ⎠ ⎝ ⎠ − − − − = − ⋅ = − − − ∑ and ( ) ( ) ( ) ( ) ( )( ) ( ) 2 1 1 1 1 1 1 1 1 a a n n a nan an x x x x N N N N N ⎡ ⎤− − − − = − + = + = +⎢ ⎥ − −⎢ ⎥⎣ ⎦ .
  • 4. Mean and Variance of the HyperGeometric Distribution Page 4 Al Lehnen Madison Area Technical College 11/30/2011 Thus, ( )( ) ( )( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )( ) ( ) 22 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 x a n N a n N N an Nan an an x x N N N N N N N N N N an Nan Na Nn N N N Nan an an N Na Nn an N N N N N N N N a n N a N n N aan an an N a N N N N N N N N σ ⎡ ⎤⎡ ⎤− − − − − − = − = + − = + −⎢ ⎥⎢ ⎥ − − − −⎢ ⎥⎣ ⎦ ⎣ ⎦ ⎡ ⎤ ⎡ ⎤− − + + − − + − − + = =⎢ ⎥ ⎢ ⎥ − −⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎣ ⎦ ⎡ ⎤ ⎡ ⎤− − − − − −⎛ = = =⎢ ⎥ ⎢ ⎥ ⎜− − ⎝⎢ ⎥ ⎢ ⎥⎣ ⎦ ⎣ ⎦ ( ) 1 1 1 1 1 N n N an a N n N n np p N N N N −⎞⎛ ⎞ ⎟⎜ ⎟−⎠⎝ ⎠ − −⎛ ⎞⎛ ⎞ ⎛ ⎞ = − = −⎜ ⎟⎜ ⎟ ⎜ ⎟ − −⎝ ⎠⎝ ⎠ ⎝ ⎠ The last factor 1 N n N −⎛ ⎞ ⎜ ⎟−⎝ ⎠ is called the “finite population correction” and is the reason that the variance of the binomial distribution ( )1np p− differs from the hypergeometric distribution. For N large compared to the sample size n, the two distributions are essentially identical.