The following PROC SURVEYSELECT statements select a probability sample of customers from the Customers data set using simple random sampling. title1 'Customer Satisfaction Survey'; proc surveyselect ...
Suppose that the previous student sample is actually drawn from a stratified sampling. The strata are grades in the junior high school: the 7th grade, the 8th grade, and the 9th grade. Within strata, ...
Selecting a random sample from a set is simple. But what about selecting a fair random sample from a set of unknown or indeterminate size? That’s where reservoir sampling comes in, and [Sam Rose] has ...