Data Science, Data Visualization, Data Analysis, Rust, Programming.
Hypergeometric Distribution. Let’s define the variables: N = Total number of marbles in the bag = 100 K or M = Number of red marbles in the bag = 20 n = Number of marbles drawn = 10 k = Number of red marbles drawn = 3 Now, let’s calculate the probability of drawing exactly k=3 red marbles: