2.1.1 Ordered Sampling with Replacement
Here we have a set with elements (e.g.: ), and we want to draw samples from the set such that ordering matters and repetition is allowed. For example, if and , there are $9$ different possibilities:
- (1,1);
- (1,2);
- (1,3);
- (2,1);
- (2,2);
- (2,3);
- (3,1);
- (3,2);
- (3,3).
In general, we can argue that there are positions in the chosen list: Position $1$, Position $2$, ..., Position . There are options for each position. Thus, when ordering matters and repetition is allowed, the total number of ways to choose objects from a set with elements is
Note that this is a special case of the multiplication principle where there are "experiments" and each
experiment has possible outcomes.
