CMP.9:4.1 - Separate the target, access and output
State whether the result is a random object, a subset, an expectation, an event probability, or another statistic. For sampling, specify the target probabilities, item identity, replacement rule and any order requirement. For estimation, define the quantity, such as μ=E_p[f(X)], before designing how X will be obtained.
Describe access: an indexed collection, a one-pass stream, evaluable weights, a generative operation, or neighbors of a current state. An evaluable probability density does not necessarily provide a cheap sampler. An unnormalized density does not supply its normalization constant.
For observations, choose the sampling unit from the intended use and show that the procedure gives it the promised probability. If each recorded event is to be equally likely, a uniform draw of rows works when every event has the same positive number of rows and the selected row identifies the event to return. With unequal multiplicities, a uniform row gives an event with three rows three times the probability of an event with one row. Grouping by a reliable event identity and drawing uniformly from the groups is one repair. All events in a period form a different population if some can leave no record. MMP.7 supplies the recording and inclusion law when that connection matters. For several draws, construct their joint law too. Sending both recipients the outcome of the same uniform draw gives each a uniform result. With more than one possible outcome, it does not give them independent draws.