n out of N is an application of the Random procedure. For the technical details of the n out of N procedure the user is referred to the Random procedure help page. The function of n out of N is to randomly draw n cases out of a population of size N, with or without replacement.
Input the number of cases you want in the "n Cases" box. For relevant output you have to have two or more cases.
For the size of the population to draw from fill in the "out of N" box. For relevant output you have to have two or more cases in the population. If you want to throw a dice select one Case from an N of six. If you want to throw a dice twice select two Cases from an n of six, with replacement. Or, if you want to throw the dice twice, select one Case from an N of six and use two trials.
Repeat the procedure a "trials" number of times. The trials statement always works with replacement, in other words, a number drawn in a trial can be drawn again in the next trial. If you do not want that use the Order & Group procedure and specify each trial as a group.
For the function of the seed consult the Random procedure help page. If you want to redo an ordering you should note the seed you used.
For help on which method to use consult the Random procedure help page.
Check "Replace" if you want to sample with replacement. Without replacement in a single trial a case can be drawn only once, and the number of cases sampled can be no more than the number available. With replacement in a single trial a case can be drawn again immediately after being drawn and there is no limit on the number of cases sampled. Technically the two procedures work quite differently. In the without replacement procedure N random numbers are drawn, ordered and the ordered first n cases are used. With replacement n cases are drawn and after each draw it is checked if they lie in the N-th section between 1 and the largest random number available.
For drawing a random number from any Uniform,Weibull, Normal, Gamma or Beta Distribution please consult the Random procedure help page.
For allocating cases to groups using unequal probabilities of allocation per group please use the Allocate procedure .
To order n cases and optionally put them into r similar sized groups use the Order & Group procedure .