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.