Random sampling without replacement assigns each of the ten distinguishable pieces to each lunch with the same probability. Five pieces of each type therefore give
One can check the second probability by conditioning on the first lunch:
The identical marginal probabilities do not imply independence of the draws.
Condition on an apple occupying position two in a uniformly random ordering. The nine other positions then contain four apples and five bananas, each equally likely to occupy position three. The conditional probability is therefore
This uses exchangeability of the unconditioned positions; there is no need to assume the first lunch contained a particular fruit.
Each position has apple probability . Applying Bayes' theorem to the preceding conditional probability gives
This also agrees with exchangeability of the second and third positions.
By the inclusion-exclusion principle for probabilities,
After an initial banana, five of the nine remaining pieces are apples, so the intersection probability is . Consequently
As a check, the complementary event is an apple followed by a banana, which also has probability .
Let be the indicator random variable of an apple in lunch . The number remaining is . Each expected value . The linearity of expectation therefore gives
Although the indicator random variables are dependent under sampling without replacement, the linearity of expectation needs no independence assumption.
Let count rotten pieces. Each item supplies an independent Bernoulli trial with success probability , so has a binomial distribution with parameters . There are choices of the rotten items, and each such choice has probability . Hence
For or , interpret this as the corresponding distribution concentrated at zero or ten; no ambiguous evaluation is needed.
Write , where the independent Bernoulli random variables indicate rottenness. Since , their variances are . The independence makes all cross covariances zero, so
This standard deviation vanishes at and , when the count is certain.

Articles by others on the same topic (0)

There are currently no matching articles.