DOC PREVIEW
IIT MATH 149 - Randomization for Recitation 4

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Randomization for Recitation 4Patrick Dale McCray, Ph.D.23 February, 2011(initial version)Assignment of problems to speakers for recitation scheduled on Wednesday, 2 March, 2011Assignment of problems to speakers for rectation 4 scheduled on Wednesday, 23 March, 2011Initialize the psuedorandom number generators.In[18]:=SeedRandomIn[19]:=RandomInteger1 000 000 000, 9 999 999 999Out[19]=2 918 487 031In[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 problemsChoose 9 of problems 1 through 10 for Math 149 03:In[22]:=Math14903  RandomSample1, 2, 3, 4, 5, 6, 7, 8, 9, 10,9Out[22]=7,5,10,3,8,6,2,4,9Choose 6 of these nine problems for Math 149 01:In[23]:=Math14901  RandomSampleMath14903, 6Out[23]=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]=2In[25]:=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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2


View Full Document

IIT MATH 149 - Randomization for Recitation 4

Documents in this Course
QUIZ

QUIZ

2 pages

QUIZ

QUIZ

3 pages

Quiz

Quiz

2 pages

Exam

Exam

4 pages

Load more
Download Randomization for Recitation 4
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Randomization for Recitation 4 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Randomization for Recitation 4 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?