ForewordIntroductionScopeNormative referencesTerms, definitions, and symbolsTerms and definitionsSymbolsGeneralRandom sampling — Mechanical device methodsUrn methodCoin or die methodPseudo-independent random sampling — Table methodRandom number tablesBasic methodPseudo-independent random sampling — Computer methodOverviewInitialization algorithmRandom number generation algorithmAudit recordsApplications to common sampling situationsGeneralRandom integer in a rangeRandom permutationRandom derangementRandom sampling with replacementRandom sampling without replacementRandom sampling for continuous sampling plans (CSP)Stratified random samplingSingle random sampling from an initially unknown lot sizeOrdered single random sampling without replacementCluster samplingRandom sampling with probability proportional to sizeMulti-stage samplingRandomization in designed experimentsRandom Latin squareRandom number tables (normative)DescriptionUseNumber of digits and interpretationStarting point(s)Dealing with table boundariesAudit recordsRandom number generation algorithm computer code (informative)OverviewDemonstration programAutomatic random seed generator functionRandom number generation functionRandom sampling and randomization computer code (informative)IntroductionDemonstration programFunctionsBibliography