Probability & Statistics 1 (9709) · Probability · Quick revision
Without replacement, transfers and changing contents
Write the actual contents before every draw. Keep colour, identity and stopping rules distinct.
Update counts on each reached history
For red and blue items, , two uniform draws without replacement give
After red: ; after blue: . Include both colour orders when needed. Impossible paths have probability zero; do not form later conditionals on an unreachable history. Replacement restores counts only when instructed.
Use one consistent sample space for an unordered sample
For integers , this counts k-item subsets of n distinct objects. A uniform k-subset from red and blue items has
Require and , with integer counts. Outside this j-range, the event is impossible. Do not mix ordered and unordered counts.
Transfers change the destination; returns do not reset it
For each possible transfer, write the new contents of every affected box. Multiply its history weight by the next conditional probability, then add disjoint routes. Carry the resulting state into the next cycle.
A named object differs from its colour. A uniform k-item sample from objects includes one specified object with probability , for integers .
Respect conditional rules, stopping and count restrictions
Apply return, removal and addition rules within each branch; later totals may differ. End a path as soon as the stated stopping condition is met.
Recover unknown counts from the original process. Keep only nonnegative integers whose contents permit every required draw and reproduce the given probability. Never round a fractional count.