- Yale Law School says 74% of their students pass the bar exam ontheir first try.
- To simulate passing students, we could assign the random digitsas:
- 00 to 49 = pass first try, 50 to 99 = fail first try
- 0 to 7 = pass first try, 8 to 9 = fail first try
- 00 to 73 = pass first try, 74 to 99 = fail first try
- 0 to 4 = pass first try, 5 to 9 = fail first try
Using the random digitassignment from part a), and starting at line 106 simulate a classof 20 students.
Student | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
Random digit | | | | | | | | | | | | | | | | | | | | |
Pass or fail | | | | | | | | | | | | | | | | | | | | |
                            Â
b) Which students was the first in the list to fail theexam?
c) What percentage of these 20 students passed on their firsttry?
- How does that percentage compare to 74% we set up as ourprobability model? If there is a difference, why do you think thatis?