/* This sas program will produce the estimates in Example 5.6 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 coots; infile '~atsll/public/stp535/bookdata/coots.dat' delimiter=',' firstobs=2; input clutch csize length breadth volume tmt; relwt = csize/2; proc print data=coots; /* For the coots data we do not know the number of units in population */ /* Must include the weight variable since observation units have unequal weights */ proc surveymeans data=coots; cluster clutch; var volume; weight relwt;