ABSTRACT

Simple random sampling, in which each possible sample of size n is equally likely to be selected from the population, is the foundation of all probability sampling methods. The SURVEYSELECT procedure in SAS® software can be used to select any type of probability sample; this chapter shows how to use it to select simple random samples. The SURVEYMEANS and SURVEYFREQ procedures are introduced for estimating population means, medians, totals, and percentages from a simple random sample. Each concept is illustrated with code and output produced for examples in Chapter 2 of Sampling: Design and Analysis, Third Edition by Sharon L. Lohr.