Random sampling without replacement assigns each of the ten distinguishable pieces to each lunch with the same probability. Five pieces of each type therefore giveOne 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 thereforeThis 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 givesThis 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 . ConsequentlyAs 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 givesAlthough the indicator random variables are dependent under sampling without replacement, the linearity of expectation needs no independence assumption.
Articles by others on the same topic
There are currently no matching articles.