How to Select a Simple Random Sample of Employees Using a List of Numbers?

  • Thread starter Thread starter Larrytsai
  • Start date Start date
  • Tags Tags
    Random
Larrytsai
Messages
222
Reaction score
0
David C. White owns a small advertising business. He has twelve employees. The names
of the employees are given below.


1. Becker
2. Brown
3. Chasten
4. Ito
5. Kim
6. Spitzer
7. Taylor
8. Walt
9. Wang
10. Zhang
11. Zhao
12. Zhu

Use the list of random digits below to select a simple random sample of three names from
the list of employees. Start at the beginning of the list and use the numerical labels
attached to the names.

11920 14931 20051 27498 12009 45287 71753 31137 20495 05907

the answer is Zhao, Becker, Kim

I don't know where to start, I do not understand what the list of numbers represent? Anyone mind guiding me through this problem?

Thanks
 
Physics news on Phys.org
Larrytsai said:
David C. White owns a small advertising business. He has twelve employees. The names
of the employees are given below.


1. Becker
2. Brown
3. Chasten
4. Ito
5. Kim
6. Spitzer
7. Taylor
8. Walt
9. Wang
10. Zhang
11. Zhao
12. Zhu

Use the list of random digits below to select a simple random sample of three names from
the list of employees. Start at the beginning of the list and use the numerical labels
attached to the names.

11920 14931 20051 27498 12009 45287 71753 31137 20495 05907

the answer is Zhao, Becker, Kim

I don't know where to start, I do not understand what the list of numbers represent? Anyone mind guiding me through this problem?

Thanks

Hey Larrytsai.

If your table values are between 00000 and 99999 then each value represents a random number between those values. In terms of a uniform distribution your first number would correspond to 11920/10000 = 0.1192.

Now if you want to choose a data entry you have multiply this normalized number by the number of entries you can select from. Then you floor the answer and add one to get the index of the entry. For this example 0.1192 x 12 = 1.4304 so our index is Floor(1.4304) + 1 = 2 which corresponds to the 2nd name.

All this is doing is you get a distribution that approximates a uniform distribution and then you have to make sure your random number is between 0 and 1 and then you basically allocate each block of your distribution to an index. For example for 10 data items (0-0.999999 etc) is allocated to data 1, (0.1,0.1999999etc) allocated to data 2 and so on. and this is why we use the floor function.
 
thank you so much!
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top