Randomization for Recitation 4 Patrick Dale McCray Ph D 23 February 2011 initial version Assignment of problems to speakers for recitation scheduled on Wednesday 2 March 2011 Assignment of problems to speakers for rectation 4 scheduled on Wednesday 23 March 2011 Initialize the psuedorandom number generators In 18 SeedRandom In 19 RandomInteger 1 000 000 000 9 999 999 999 Out 19 2 918 487 031 In 20 SeedRandom 2 036 873 713 This ten digit number 2036873713 was initially generated from the system clock circa 3 PM Wednesday 23 February 2011 In 21 SeedRandom 7 667 980 127 This ten digit number 7667980127 was initially generated from the system clock circa 4 36 PM Tuesday 8 March 2011 Generate random samples of the first ten problems Choose 9 of problems 1 through 10 for Math 149 03 In 22 Out 22 Math14903 RandomSample 1 2 3 4 5 6 7 8 9 10 9 7 5 10 3 8 6 2 4 9 Choose 6 of these nine problems for Math 149 01 In 23 Out 23 Math14901 RandomSample Math14903 6 5 6 2 3 9 10 From this random sample we can assign Problem 7 to Person 3 Computationally In 24 Math14901 3 Out 24 2 2 Randomization Recitation 4 V8 nb ProblemList 1 2 3 5 7 8 9 10 11 12 Out 25 1 2 3 5 7 8 9 10 11 12 In 26 Math14903 RandomSample ProblemList 10 In 25 Out 26 9 2 1 5 12 7 8 10 3 11 In 27 Math14901 RandomSample Math14903 5 Out 27 1 9 10 2 3
View Full Document
Unlocking...