Transcription of RANDOM SAMPLING IN SAS: Using PROC SQL and PROC …
{{id}} {{{paragraph}}}
Monique ArdizziTransUnion CanadaRANDOM SAMPLING IN SAS: Using PROC SQL and PROC SURVEYSELECTOCTOBER 20152| Trans Union of Canada, Inc. All Rights Reserved Why Sample? SAMPLING Terminology Example Problem: BWeightsDataset in SAShelp Simple RANDOM SAMPLING Using PROC SQL and PROC SURVEYSELECT Stratified RANDOM SAMPLING Using PROC SQLand PROC SURVEYSELECT Summary and Comparison of Methods Q&AAgenda: 3| Trans Union of Canada, Inc. All Rights ReservedNot practical or not possible to have data on the entire population of interest For example, determining the average height of men in North AmericaComputational and physical constraints You may not have enough space to store such a large dataset You can save time and money Data requests are likely charged based on volume ( Stats Canada) Testing Purposes For example, testing your programWhy Sample?4| Trans Union of Canada, Inc. All Rights ReservedSAMPLE a subset of the populationSAMPLING the selection process used the extract the sample PROBABILITY SAMPLING a SAMPLING method where each unit in the population is given a known probability of selection and a RANDOM mechanism is used to select specific units for the sampleSampling Terminology 1015| Trans Union of Canada, Inc.
PROC SQL PROC SURVEYSELECT Pros - Procedure is very familiar to most users - Possible to sample directly from your database Cons - Not always possible to sample exact proportion of the population - Doesn’t have built in sampling methods - Proportional allocation cannot be easily done
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}