Suppose we have a list of subjects that are enumerated from 1 to n. We wish to choose a random subset of size k from this group without replacement. How can we do so?
To execute the RANDOM program, simply enter the number of subjects n followed by the number k that you wish to choose.
On the TI-83, the program displays the random choices and also stores the values into list L1.
On the TI-86, the program displays the random choices and also stores the values into list xStat.
On the TI-89, the program stores the random choices in the Data/Matrix Editor. Simply press APPS, then press 6, then press 1 to see the random choices under column c1.
If you wish to permute the entire set of n subjects, for instance in order to assign them randomly into blocks, then simply choose all n subjects when executing the program.
Return to Table of Contents.