Zipf's Law
George Kingsley Zipf 1935 "On the psych-biology of language"
- looked at English world usage, prob of worlds appearings
the
rank 1, 6.18%I
rank 11, 1.17%you
rank 16, 0.83%he
rank 9, 1.27%she
rank 17, 0.7%war
3*peace
dog
2*cat
- -th most likely word occurs times as often as most likely word.
V. Pareto "Cours d'economie polidique" 1897
- How many people have an income
Heavy tail distribution <=> Zipf's law distribution
Suppose that the key obey Zipf's Law, that is, with . What are the probabilities?
The expected number of item examined:
With Zipf's , we'll have . With we will have .
Money saves time, caching saves cash.
Move-to-front
Once get requested, move this key to the front.
Keep-track-of-counts
Sort the requested by counts. This require linear extra space.
Transposition
Have 1 position forward.
Analysis
What is the asymptotic probability item is in front of .