Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Using SAS, make a random sample on Sales 3 distribution from the data in Figure

ID: 3866600 • Letter: U

Question

Using SAS, make a random sample on Sales 3 distribution from the data in Figure 5.1. Using the software, determine four items from the data set for sampling purposes. Which specific values should be selected from the data set?

OBS Sales 1 Sales 2 Sales 3 Sales 4 1 23 1234 1 1 2 31 943 2 5 3 48 986 3 9 4 16 12 4 12 5 28 15 5 18 6 29 15 6 19 7 31 23 19 8 35 21 6 21 9 51 25 6 21 10 42 27 7 21 11 34 27 8 21 12 56 29 9 21 13 24 20 10 21 14 34 18 11 19 15 43 13 12 19 16 56 8 13 18 17 34 7 14 12 18 38 6 15 9 19 23 4 16 5 20 27 1 17 1

Explanation / Answer

WE can make a random sample using the SURVEYSELECT Procedure. This procedure provides various types of methods for choosing probability base random sample. It includes
various type of sampling that includes:
1) random sampling
2) stratified sampling
3) systematic sampling

We can use following query in the software to get the random sample:

proc surveyselect data=Sales 3
out=random_sample
method=src
samprate = 0.1
run;

Here in the above command, data is the input dataset
out is the output dataset
method is selectiong method
samprate is proportion of observation

The specific values that should be selected are 4, 13, 27, 986

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote