Write for the binary response, for the partner count, and for fully observed background variables. Let indicate which of are observed, with 1 meaning observed. For any realised pattern , partition the data into and .
Missing completely at random means that the missing-data mechanism does not depend on any of the measurements:
Missing at random allows dependence on the data observed under the particular pattern, but no further dependence on its unobserved values:
Thus a response probability depending on fully observed age or sex can satisfy missing at random. Dependence on an observed partner count can also be permissible for patterns in which that count is available. Missing not at random means that this equality fails: the probability of the pattern still depends on one of its missing measurements, after conditioning on the observed ones. The distinction concerns dependence on the unseen values, not whether missingness looks haphazard. These definitions can be applied within the target population ; unknown membership of that population must itself be handled when is missing.