Monday, 3 February 2014

Lecture 8

Zipf's law.
As a small digression, or "fun fact", I told you today about Zipf's law. This is a probability mass function such that $P(X=i)\propto 1/i^s$, $i=1,2,\dotsc,m$, for some $s > 0$, typically $s=1$. It's certainly mysterious why this distribution should be a good fit to frequencies with which words are used in a language. According to the Wikipedia article linked above, "Zipf himself proposed that neither speakers nor hearers using a given language want to work any harder than necessary to reach understanding, and the process that results in approximately equal distribution of effort leads to the observed Zipf distribution". My guess is thinking that he is thinking that to retrieve the $i$th most popular word from your memory has a cost proportional to $i$ (like you were digging down into a list), and that the average workload that each word puts on the brain should be constant, so $ip(i)$ should constant. But this is clearly hand-waving. Maybe you can think of a better explanation

In queueing theory and other theories of congestion, delays and long waiting times can be caused by variability in service times. Suppose customers enter a queue at a constant rate of 1 every 5 minutes. They are served one at a time, service times are independent, taking $1,2,\dotsc$ minutes with probabilities $p_1,p_2,\dotsc$, respectively

An interesting fact (researched extensively during the past 30 years) is that there are large qualitative difference between how such queues behave when $p_i$ decays geometrically or exponentially (as do the Poisson, or geometric distribution, which has $p_i= q^ip$), and when it decays according to a power law, like $p_i\propto 1/i$ or $\propto 1/i^{0.9}$.

Sunday, 2 February 2014

The “sexiest job of the 21st century”

Probability lies at the foundations of statistics. In today's Sunday Times (2 February, 2014) there is an article entitled "Mystic Nate Silver bets on making statistics 100% sexy". Here are a few quotes from it
    NATE SILVER, an American mathematician who predicts elections and sport results with uncanny accuracy, is poised to do what fellow number-crunchers would have thought 101% impossible: make the application of statistics “cool”.

    Silver, who made his name by predicting the precise results of both of Barack Obama’s presidential wins, is turning his FiveThirtyEight blog into a fully fledged online magazine this month with backing from two of America’s biggest broadcasters.

    The Harvard Business Review recently described data scientists as having the “sexiest job of the 21st century” — not bad for a subject once derided as a profession for people without the personality to become accountants. “Their sudden appearance on the business scene reflects the fact that companies are now wrestling with information that comes in varieties and volumes never encountered before,” it said.

    The US Bureau of Labour Statistics predicts a 14% surge in demand for statisticians over the next eight years.

    The starting salary for a graduate statistician at Google is $125,000. Hal Varian, the internet giant’s chief economist, said: “I keep saying the sexy job in the next 10 years will be statisticians. People think I’m joking, but who would have thought computer engineering would have been the sexy job of the 1990s?”

    John Harlow, Los Angeles, Published: 2 February 2014

More lecture notes

I am now posting notes up to Lecture 12.  Most of Examples Sheet 2 is on topics we will have covered up to Lecture 9. However, in Question 9 you need the definition of covariance, and this comes in Lecture 10. Remember also that if you want to read ahead there are other notes you can access (listed on the course information page). Here are some other things.
  • Corrections. I am continuing to receive help from students and others in finding small typos in the notes. By now the notes for Lectures 1-9 should be close to their perfect final form. If anyone wants to read ahead and sees any typos in Lectures 10-12, please let me know and I can correct them before we reach that point.
  • My handwriting. A student asked me to write more clearly. Fair comment. Since receiving that comment I have been trying to pay attention to this. I hope my writing on the visualiser is improving.
  • Visualiser (document camera). A student has written that the projection from the camera is dim and asked if it can be brighter. Have others a problem with the brightness? I will investigate. I think the visualiser is nice for a number of reasons. I can be always facing you (unlike blackboards), and it is centrally placed to give everyone a good view (unlike the two overhead projectors).  Some mathematicians like chalkboards. But I find them to be very messy and in the past I have had bad experiences with dust getting in my eyes.
You can write suggestions below, anonymously if you wish (but then I cannot reply to you). Comments are moderated by me before appearing. I will "read, mark, learn and inwardly digest" anything you want to tell me about the above points, or other things. When the message is in the spirit of a 1-1 communication I will not release the post for public view.