1) Toss a fair coin. Record the outcome in a secret location (For example, you could have it tattooed on the bottom of your tongue. Just a suggestion.)
2) If you got heads, please run this code
And store the result in our Dropbox-shared folder in a file called
3) If you got tails, please create a file called
Either way, there should be exactly 100 characters in the file, all on one line. You can use
Next time we will see whether we can distinguish a "real" random sequence from a "fake" one.
Robert Gordon "Bobby" Orr, OC (born March 20, 1948)
From Malcolm Gladwell:
Are Gladwell's results statistically significant?
How might Gladwell's analysis apply to grade school? Do you think it has an effect on enrollment at competitive colleges? How could we test this hypothesis?
What bearing does this have on my ability to qualify for the Boston Marathon?
To get a feel for the Pareto distribution, imagine what the world would be like if the distribution of human height were Pareto. Choosing the parameters xm = 100 cm and α = 1.7, we get a distribution with a reasonable minimum, 100 cm, and median, 150 cm.
Generate 6 billion random values from this distribution. What is the mean of this sample? What fraction of the population is shorter than the mean? How tall is the tallest person in Pareto World?
Let's play with pareto_world.py
Lecture notes >