Zipf's law
Probability distribution / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Zipf's law?
Summarize this article for a 10 years old
Zipf's law (/zɪf/, German: [ts͡ɪpf]) is an empirical law formulated using mathematical statistics that refers to the fact that for many types of data studied in the physical and social sciences, the rank-frequency distribution is an inverse relation. The Zipfian distribution is one of a family of related discrete power law probability distributions. It is related to the zeta distribution, but is not identical.
Probability mass function ![]() Zipf PMF for N = 10 on a log–log scale. The horizontal axis is the index k . (Note that the function is only defined at integer values of k. The connecting lines do not indicate continuity.) | |||
Cumulative distribution function ![]() Zipf CDF for N = 10. The horizontal axis is the index k . (Note that the function is only defined at integer values of k. The connecting lines do not indicate continuity.) | |||
Parameters |
(real) (integer) | ||
---|---|---|---|
Support | |||
PMF | where HN,s is the Nth generalized harmonic number | ||
CDF | |||
Mean | |||
Mode | |||
Variance | |||
Entropy | |||
MGF | |||
CF |
Zipf's law was originally formulated in terms of quantitative linguistics, stating that given some corpus of natural language utterances, the frequency of any word is inversely proportional to its rank in the frequency table. Thus the most frequent word will occur approximately twice as often as the second most frequent word, three times as often as the third most frequent word, etc. For example, in the Brown Corpus of American English text, the word "the" is the most frequently occurring word, and by itself accounts for nearly 7% of all word occurrences (69,971 out of slightly over 1 million). True to Zipf's Law, the second-place word "of" accounts for slightly over 3.5% of words (36,411 occurrences), followed by "and" (28,852). Only 135 vocabulary items are needed to account for half the Brown Corpus.[1]
The law is named after the American linguist George Kingsley Zipf, who popularized it and sought to explain it, though he did not claim to have originated it.[2] The French stenographer Jean-Baptiste Estoup appears to have noticed the regularity before Zipf.[3][4] It was also noted in 1913 by German physicist Felix Auerbach.[5][6]
The law is similar in concept, though not identical in distribution, to Benford's law.