Write . Successive conditional probabilities account for the changing bag under sampling without replacement:
On this event no equality of the two colour counts has occurred, so the game's stopping rule does not interrupt these three draws.
After one draw the two counts are either or and cannot agree. Therefore
This is the elementary parity restriction behind the first return time interpretation of this game.
Success after two draws occurs on the two mutually exclusive events and . With , sampling without replacement gives
The equality must be a first return time: an order starting or would already have stopped at draw two. The only successful four-draw orders are therefore and . Their probabilities under sampling without replacement add to
Here . Counting all balanced four-draw orders would include games that have already stopped.
The two possible colour orders are and . Thus the answer is
They correspond to the positive and negative four-step excursions with first return time four.
Suppose the first draw is green. The excess of green over red must remain positive after draws one through five and return to zero at draw six. After deleting the first green and final red, the remaining four steps must form a Dyck path: they have equal colour counts and never go below zero relative to the new starting level. There are such orders, and , giving and in the original game.
Interchanging green and red gives and . Thus there are
orders. More generally, the Catalan number counts each sign of excursion with first return time .
Let and denote the first and second labels. Sampling with replacement restores the bag before the second draw, so conditioning on only specifies the threshold. For , there are qualifying green balls and qualifying red balls. For , every green ball and the first red balls qualify. Hence the requested conditional probability is
The formulas agree at and give one at . Labels outside the possible first-draw range do not define a conditioning event of positive probability.
Only a green ball carries label four. After it is removed, nine of the remaining nineteen balls are green. The conditional probability is
The specified colour tells us that one green ball has been removed. Thus sampling without replacement again leaves nine green balls among nineteen:
The numerical label supplies no further change once this first colour is known.
There are two equally likely balls bearing label eight, one of each colour. The conditional probability that the removed ball was green is therefore . By the law of total probability,
Both possible first colours must be included because the observed label alone does not determine the colour.

Articles by others on the same topic (0)

There are currently no matching articles.