Let count green balls. Sampling without replacement gives a hypergeometric distribution. The possible values are , and counting equally likely three-element samples gives
Therefore
Their sum is , as required for a probability distribution.
Compute the first two moments from the probability distribution:
The variance is , so the expected value and standard deviation are
The interval within one standard deviation is . Of the possible integer outcomes , only lies in this interval. Hence
Three draws cannot all be green because there are only two green balls. Thus the probability of at least one red ball is . At least two red balls means , so
Let indicate whether the draw from the second bag is green. It is independent of , with and . Exactly one green overall arises from the disjoint alternatives or . Therefore
The sole green ball comes from the first bag exactly on the event . Divide this joint probability by the conditioning event's probability:
This is the conditional probability form of Bayes' theorem.

Articles by others on the same topic (0)

There are currently no matching articles.