The SAS® Software Companion for Sampling: Design and Analysis, designed to be read alongside Sampling: Design and Analysis, Third Edition by Sharon L. Lohr (SDA; 2022, CRC Press), shows how to use the survey selection and analysis procedures of SAS® software to perform calculations for the examples in SDA.

No prior experience with SAS software is needed. Chapter 1 tells you how to access the software, introduces basic features, and helps you get started with analyzing data.

Each subsequent chapter provides step-by-step guidance for working through the data examples in the corresponding chapter of SDA, with code, output, and interpretation. Tips and warnings help you develop good programming practices and avoid common survey data analysis errors.

Features of the SAS software procedures are introduced as they are needed so you can see how each type of sample is selected and analyzed. Each chapter builds on the knowledge developed earlier for simpler designs; after finishing the book, you will know how to use SAS software to select and analyze almost any type of probability sample.

All code is available on the book website and is easily adapted for your own survey data analyses. The website also contains all data sets from the examples and exercises in SDA to help you develop your skills through analyzing survey data from social and public opinion research, public health, crime, education, business, agriculture, and ecology

chapter Chapter 1|12 pages

Getting Started

chapter Chapter 2|14 pages

Simple Random Sampling

chapter Chapter 3|14 pages

Stratified Sampling

chapter Chapter 4|14 pages

Ratio and Regression Estimation

chapter Chapter 5|14 pages

Cluster Sampling with Equal Probabilities

chapter Chapter 6|14 pages

Sampling with Unequal Probabilities

chapter Chapter 7|24 pages

Complex Surveys

chapter Chapter 8|6 pages


chapter Chapter 9|24 pages

Variance Estimation in Complex Surveys

chapter Chapter 10|12 pages

Categorical Data Analysis in Complex Surveys

chapter Chapter 11|24 pages

Regression with Complex Survey Data

chapter Chapter 12|8 pages

Additional Topics for Survey Data Analysis