Download as pdf or txt
Download as pdf or txt
You are on page 1of 28

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.

BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica


This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 )
X x n−x
E[X] = x   =
N
x=máx(0,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 ) mı́n(n,N1 )  
X x n−x 1 X N1 (N1 − 1)! N − N1
E[X] = x   =  x =
N N x(x − 1)!(N1 − x)! n − x
x=máx(0,n−(N −N1 )) x=máx(0,n−(N −N1 ))
n n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 ) mı́n(n,N1 )  
X x n−x 1 X N1 (N1 − 1)! N − N1
E[X] = x   =  x =
N N x(x − 1)!(N1 − x)! n − x
x=máx(0,n−(N −N1 )) x=máx(0,n−(N −N1 ))
n n

mı́n(n,N1 )   
N1 X N1 − 1 N − N1
=  =
N x−1 n−x
x=máx(1,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 ) mı́n(n,N1 )  
X x n−x 1 X N1 (N1 − 1)! N − N1
E[X] = x   =  x =
N N x(x − 1)!(N1 − x)! n − x
x=máx(0,n−(N −N1 )) x=máx(0,n−(N −N1 ))
n n

mı́n(n,N1 )   
N1 X N1 − 1 N − N1
=  = [x − 1 = k] =
N x−1 n−x
x=máx(1,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 ) mı́n(n,N1 )  
X x n−x 1 X N1 (N1 − 1)! N − N1
E[X] = x   =  x =
N N x(x − 1)!(N1 − x)! n − x
x=máx(0,n−(N −N1 )) x=máx(0,n−(N −N1 ))
n n

mı́n(n,N1 )   
N1 X N1 − 1 N − N1
=  = [x − 1 = k] =
N x−1 n−x
x=máx(1,n−(N −N1 ))
n

mı́n(n−1,N1 −1)   
N1 X N1 − 1 N − N1
=  .
N k (n − 1) − k
k=máx(0,(n−1)−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

Media y varianza de la distribución hipergeométrica

 
N1 N1 N1 N − n
X ∼ H(N, N1 , n) ⇒ E[X] = n y Var[X] = n 1−
N N N N−1

En primer lugar, obtenemos la expresión de E[X].


  
N1 N − N1
mı́n(n,N1 ) mı́n(n,N1 )  
X x n−x 1 X N1 (N1 − 1)! N − N1
E[X] = x   =  x =
N N x(x − 1)!(N1 − x)! n − x
x=máx(0,n−(N −N1 )) x=máx(0,n−(N −N1 ))
n n

mı́n(n,N1 )   
N1 X N1 − 1 N − N1
=  = [x − 1 = k] =
N x−1 n−x
x=máx(1,n−(N −N1 ))
n

mı́n(n−1,N1 −1)   
N1 X N1 − 1 N − N1
=  .
N k (n − 1) − k
k=máx(0,(n−1)−(N −N1 ))
n

Teniendo ahora en cuenta que, dados dos números cualesquiera a y b y un entero positivo m, se verifica
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1
E[X] =   =
N n−1
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n

Vamos a obtener ahora la expresión de V ar[X], y como V ar[X] = E[X 2 ] − (E[X])2 y E[X 2 ] = E[X(X − 1)] + E[X],
calculamos en primer lugar E[X(X − 1)].
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n

Vamos a obtener ahora la expresión de V ar[X], y como V ar[X] = E[X 2 ] − (E[X])2 y E[X 2 ] = E[X(X − 1)] + E[X],
calculamos en primer lugar E[X(X − 1)].
  
N1 N − N1
mı́n(n,N1 )
X x n−x
E[X(X − 1)] = x(x − 1)   =
N
x=máx(0,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n

Vamos a obtener ahora la expresión de V ar[X], y como V ar[X] = E[X 2 ] − (E[X])2 y E[X 2 ] = E[X(X − 1)] + E[X],
calculamos en primer lugar E[X(X − 1)].
  
N1 N − N1
mı́n(n,N1 )
X x n−x
E[X(X − 1)] = x(x − 1)   =
N
x=máx(0,n−(N −N1 ))
n

mı́n(n,N1 )  
1 X N1 (N1 − 1)(N1 − 2)! N − N1
=  x(x − 1) =
N x(x − 1)(x − 2)!(N1 − x)! n − x
x=máx(0,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n

Vamos a obtener ahora la expresión de V ar[X], y como V ar[X] = E[X 2 ] − (E[X])2 y E[X 2 ] = E[X(X − 1)] + E[X],
calculamos en primer lugar E[X(X − 1)].
  
N1 N − N1
mı́n(n,N1 )
X x n−x
E[X(X − 1)] = x(x − 1)   =
N
x=máx(0,n−(N −N1 ))
n

mı́n(n,N1 )  
1 X N1 (N1 − 1)(N1 − 2)! N − N1
=  x(x − 1) =
N x(x − 1)(x − 2)!(N1 − x)! n − x
x=máx(0,n−(N −N1 ))
n

mı́n(n,N1 )   
N1 (N1 − 1) X N1 − 2 N − N1
=   =
N x−2 n−x
x=máx(2,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

m    mı́n(m,a)     
X a b X a b a+b
= = , (∗)
x=0
x m−x x m−x m
x=máx(0,m−b)

y haciendo las identificaciones m = n − 1, a = N1 − 1 y b = N − N1 , se concluye que


 
N1 N − 1 N1
E[X] =   =n ·
N n−1 N
n

Vamos a obtener ahora la expresión de V ar[X], y como V ar[X] = E[X 2 ] − (E[X])2 y E[X 2 ] = E[X(X − 1)] + E[X],
calculamos en primer lugar E[X(X − 1)].
  
N1 N − N1
mı́n(n,N1 )
X x n−x
E[X(X − 1)] = x(x − 1)   =
N
x=máx(0,n−(N −N1 ))
n

mı́n(n,N1 )  
1 X N1 (N1 − 1)(N1 − 2)! N − N1
=  x(x − 1) =
N x(x − 1)(x − 2)!(N1 − x)! n − x
x=máx(0,n−(N −N1 ))
n

mı́n(n,N1 )   
N1 (N1 − 1) X N1 − 2 N − N1
=   = [x − 2 = k] =
N x−2 n−x
x=máx(2,n−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene

E[X(X − 1)] =
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2
E[X(X − 1)] =   =
N n−2
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

E[X 2 ] = E[X(X − 1)] + E[X] =


This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1)


E[X 2 ] = E[X(X − 1)] + E[X] = +
N (N − 1)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1) nN1


E[X 2 ] = E[X(X − 1)] + E[X] = + ·
N (N − 1) N
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1) nN1


E[X 2 ] = E[X(X − 1)] + E[X] = + ·
N (N − 1) N

V ar[X] = E[X 2 ]−(E[X])2 =


This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1) nN1


E[X 2 ] = E[X(X − 1)] + E[X] = + ·
N (N − 1) N

n(n − 1)N1 (N1 − 1) nN1


V ar[X] = E[X 2 ]−(E[X])2 = + −
N (N − 1) N
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1) nN1


E[X 2 ] = E[X(X − 1)] + E[X] = + ·
N (N − 1) N

n(n − 1)N1 (N1 − 1) nN1 n2 N12


V ar[X] = E[X 2 ]−(E[X])2 = + − =
N (N − 1) N N2
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.
BY: Grupo CDPYE-UGR

mı́n(n−2,N1 −2)   
N1 (N1 − 1) X N1 − 2 N − N1
=   ,
N k (n − 2) − k
k=máx(0,(n−2)−(N −N1 ))
n

y volviendo a aplicar la expresión (∗), considerando m = n − 2, a = N1 − 2 y b = N − N1 , se tiene


 
N1 (N1 − 1) N − 2 n(n − 1)N1 (N1 − 1)
E[X(X − 1)] =   = ·
N n−2 N (N − 1)
n

Por lo tanto,

n(n − 1)N1 (N1 − 1) nN1


E[X 2 ] = E[X(X − 1)] + E[X] = + ·
N (N − 1) N

n(n − 1)N1 (N1 − 1) nN1 n2 N12


 
2 2 N1 N1 N − n
V ar[X] = E[X ]−(E[X]) = + − 2
=n 1− · 
N (N − 1) N N N N N −1

You might also like