MAT #SAMPLES <matrix>,N,n,m,<rand> makes m random samples of size n from integers 1,2,...,N using random number generator <rand>. The samples generated are saved as a n x m matrix file <matrix>. See also MAT #SAMPLE. Example: MAT #SAMPLES LOTTO,39,7,12,rand(37952049) MAT LOAD LOTTO,123,CUR+1 MAT #INDVAR is a companion module to MAT #SAMPLES enabling simple random sampling from Survo data files (See #INDVAR?) A = More about additional MAT #operations M = More about MAT operations