| Statistics Toolbox | Search  Help Desk |
| hygestat | Examples |
Mean and variance for the hypergeometric distribution.
Syntax
[MN,V] = hygestat(M,K,N)
Description
For the hypergeometric distribution:Examples
The hypergeometric distribution approaches the binomial where[m,v] = hygestat(10.^(1:4),10.^(0:3),9)
m =
0.9000 0.9000 0.9000 0.9000
v =
0.0900 0.7445 0.8035 0.8094
[m,v] = binostat(9,0.1)
m =
0.9000
v =
0.8100