Some subtle issues can arise here. This chapter attempts to explain the issues.
A sub-sample may be defined in relation to a full data set in two different ways: we will refer to these as "setting" the sample and "restricting" the sample respectively.