Dear all, I would like to ask you, wheter it is possible in Stata to create N subpopulations via simple random sampling from the whole population (the population dataset is avaible).

The restrictions are that (1.) every case has to be part of one newly created subpopulation and (2.) those subpopulations have disjunction among themselves (no unique case can be part of two or more subpopulation).