The single-roll colour probabilities are , and . There are possible orders of the three distinct colours, and the independent rolls give each order probability . The events are disjoint, so the required probability is
The all-red event is a subset of the same-colour event . Its probability is , while the three disjoint monochromatic cases give
Thus the conditional probability is
The monochromatic outcomes are not equally likely, so counting colours alone would give the wrong conditional answer.
Let be the indicator random variable that colour appears at least once. Then . For a colour of single-roll probability , independence of rolls gives . By linearity of expectation,
The three indicators are not independent, but linearity of expectation does not require them to be. This is the expected number of observed categories.
For , write the proposed density as . Since the first factor is positive, nonnegativity for all such requires ; if , values sufficiently close to one make it negative. With , the positive tail is integrable only if . In that case normalization requires
Imposing now gives . Combining this with yields
Conversely, these conditions ensure a nonnegative, integrable function with integral one, so they are sufficient as well as necessary. The endpoint is allowed: the density vanishes at the left-hand boundary limit, not on its whole support.
Normalization gives . Integrating the probability density from one to two gives
The expected value exists, since the first-moment integrals converge, and equals

Articles by others on the same topic (0)

There are currently no matching articles.