Sampling:  Design and Analysis,  SAS code for examples
 

SAS Version 7 has three experimental procedures for designing surveys and analyzing data from complex surveys:

PROC SURVEYMEANS

PROC SURVEYSELECT

PROC SURVEYREG

The following programs illustrate how to use these procedures on examples in Sampling:  Design and Analysis by Sharon L. Lohr.

You are welcome to use these programs for non-profit educational purposes in conjunction with Sampling:  Design and Analysis.  Any other use requires the prior written permission of the author.

Example 2.4

Example 4.1

Example 5.2

Example 5.6

Example 6.2

Example 6.5

Example 6.6

Example 6.8