Core Algorithms

Urn Model with Weighted Balls

An urn contains 10 red balls of weight 1 and 15 blue balls of weight 2. With 12 balls drawn independently, the probability of drawing a red or blue ball depends on its weight. The number of red balls drawn has a FisherHypergeometricDistribution. The red/blue chart represents 20 simulations of such drawn.