Joshua G. answered 08/06/20
Ph.D. in Biostatistics with Experience Teaching College Mathematics
Since we begin with an urn that has 15 balls (8 orange balls and 7 black balls) and then select 7 balls at random from this urn, we'll need to use the hypergeometric distribution to properly calculate the probability of selecting 3 orange balls and 4 green balls (urn models like this current problem are classic examples of hypergeometric distributions) from our original urn. If we let X denote the number of orange balls in a sample of size 7 drawn from our original urn, then X has a hypergeometric distribution given by
We can now calculate that the probability that X = 3 (i.e. the probability of randomly selecting 3 orange balls and 4 green balls from our original urn) is