/* This sas program will select a sample of size 2 from the population in Example 6.8 of Sampling: Design and Analysis by Sharon L. Lohr, using Version 7 of SAS */ /* Author: S. Lohr, 3/99. Copyright (c) Sharon L. Lohr, 1999*/ options ls=78 ps=35; data superm; input store $ storesz; cards; A 100 B 200 C 300 D 1000 ; proc print data=superm; /* Note: the other methods in SAS version 7 will not work for this example because store D has more than half the total area */ proc surveyselect data=superm out=supsamp sampsize=2 method=pps_sys ; id store; size storesz; proc print data=supsamp;