PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Data Manipulation
>
Statistical Data Analysis
>
Probability & Statistics
>
Parametric Statistical Distributions
>
MultivariateHypergeometricDistribution
>
Mathematica
>
Mathematics and Algorithms
>
Statistical Data Analysis
>
Probability & Statistics
>
Parametric Statistical Distributions
>
MultivariateHypergeometricDistribution
>
BUILT-IN MATHEMATICA SYMBOL
HypergeometricDistribution
MultinomialDistribution
See Also »
|
Parametric Statistical Distributions
Urn Model Distributions
New in 8.0: Alphabetical Listing
More About »
MultivariateHypergeometricDistribution
MultivariateHypergeometricDistribution
represents a multivariate hypergeometric distribution with
n
draws without replacement from a collection containing
objects of type
i
.
MORE INFORMATION
The probability for a vector
of non-negative integers
,
, ...,
in a multinomial distribution is proportional to
given that
.
The numbers
can be any non-negative integers and
n
any positive integer less than or equal to
.
The number of trials
n
can be any positive integer and
any non-negative integer.
MultivariateHypergeometricDistribution
can be used with such functions as
Mean
,
CDF
, and
RandomVariate
.
EXAMPLES
CLOSE ALL
Basic Examples
(4)
Probability density function:
Cumulative distribution function:
Mean and variance:
Covariance:
Probability density function:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Cumulative distribution function:
In[1]:=
Out[1]=
Mean and variance:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Covariance:
In[1]:=
Out[1]//MatrixForm=
Scope
(7)
Generate a set of pseudorandom numbers that are multivariate hypergeometric distributed:
Compare its histogram to the PDF:
Distribution parameters estimation:
Estimate the distribution parameters from sample data:
Goodness-of-fit test:
Skewness:
The distribution becomes symmetric with an equal number of objects:
Kurtosis:
In the limit it behaves like a binormal distribution:
Correlation:
Hazard function:
Marginals do not simplify to known distributions:
Applications
(1)
An urn contains 12 red balls, 23 blue balls, and 9 green balls. Find the distribution of a sample of 5 balls drawn without replacement:
Find the probability of exactly 2 red balls and 3 green balls in the sample:
Find the average number of balls of each color in a sample:
Simulate the composition of 30 samples:
Visualize the samples:
Properties & Relations
(2)
Relationships to other distributions:
Bivariate hypergeometric distribution is equivalent to
HypergeometricDistribution
:
SEE ALSO
HypergeometricDistribution
MultinomialDistribution
MORE ABOUT
Parametric Statistical Distributions
Urn Model Distributions
New in 8.0: Alphabetical Listing
New in 8