to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
Writing in 1996, future Nobel prize-winning economist Paul Krugman confronted the mystery of urban hierarchy:
The size distribution of cities in the United States is startlingly well described by a simpler power law: the number of cities whose population exceeds S is proportional to 1/S. This simple regularity is puzzling; even more puzzling is the fact that it has apparently remained true for at least the past century. Standard models of urban systems offer no explanation of the power law. A random growth model proposed by Herbert Simon 40 years ago is the best try to date — but while it can explain a power law, it cannot reproduce one with the right exponent. At this point we are in the frustrating position of having a striking empirical regularity with no good theory to account for it.
The "simpler power law" to which Krugman refers is Zipf's Law, which was originally developed to describe a power law relationship that was found to exist between the rank of a word and how often it appears in use in language. A similar pattern was observed in the ranking and relative size of cities by population in the U.S., which was described by Xavier Gabaix in a much-cited 1999 paper.
But that exercise was largely based on comparing the relative ranks and populations of cities at a given snapshot in time. Does a similar pattern hold as cities evolve over time?
The answer to that question is "sort of, but not really". If Zipf's Law worked reliably, it could be use to accurately forecast the growth of population in cities over time. It can in a limited sense, but only to the extent that the growth over time is steady and not subject to chaotic conditions.
That's where a new study by physicists Vincent Verbavatz and Marc Barthelemy makes a potentially significant advance in modeling the growth of cities over time. Here's the abstract from their paper (boldface emphasis ours):
The science of cities seeks to understand and explain regularities observed in the world’s major urban systems. Modelling the population evolution of cities is at the core of this science and of all urban studies. Quantitatively, the most fundamental problem is to understand the hierarchical organization of city population and the statistical occurrence of megacities. This was first thought to be described by a universal principle known as Zipf’s law; however, the validity of this model has been challenged by recent empirical studies. A theoretical model must also be able to explain the relatively frequent rises and falls of cities and civilizations, but despite many attempts these fundamental questions have not yet been satisfactorily answered. Here we introduce a stochastic equation for modelling population growth in cities, constructed from an empirical analysis of recent datasets (for Canada, France, the UK and the USA). This model reveals how rare, but large, interurban migratory shocks dominate city growth. This equation predicts a complex shape for the distribution of city populations and shows that, owing to finite-time effects, Zipf’s law does not hold in general, implying a more complex organization of cities. It also predicts the existence of multiple temporal variations in the city hierarchy, in agreement with observations. Our result underlines the importance of rare events in the evolution of complex systems and, at a more practical level, in urban planning.
Verbavatz and Barthelemy find changes in migration flows to be especially significant in their new formulation, where they find a Lévy stable law provides a much better fit with empirical data from France, Canada, the United Kingdom, and the United States. The following figure from the paper illustrates these differences with results that would be expected from Gaussian-based models of growth (based on normal distributions of migration flows):
They also note that the Zipf-Gabaix-Gibrat model is not capable of accounting for scenarios where a city's population rank might significantly change within a short period of time. By contrast, their new model can accommodate these kinds of rapid transitions with reasonable accuracy, predicting how a city's population might change in response to shock changes in migration flows.
That's significant because 2020 is providing several potential case studies for the Verbavatz-Barthelemy model, in the form of the rapid out-migrations of people and businesses from cities experiencing break downs in public order as a result of their implementation of progressive political policies, such as New York, San Francisco, and Portland. These are examples of the kinds of turbulent shocks that Zipf's Law cannot handle but which the new general model for population growth in cities would appear to be well suited.
Verbavatz, Vincent and Barthelemy, Marc. The Growth Equation of Cities. Nature, 587, 397-401(2020). [Ungated PDF document]. DOI: 10.1038/s41586-020-2900-x. 18 November 2020.
Gabaix, Xavier. Zipf's Law for Cities: An Explanation. Quarterly Journal of Economics, Volume 114, Issue 3, August 1999, pp 739-767. [Ungated PDF Document]. DOI: 10.1162/003355399556133. 1 August 1999.
Yirka, Bob. A stochastic equation for modeling population growth in cities. Phys.org. [PDF Document]. 20 November 2020.
Krugman, Paul. Confronting the Mystery of Urban Hierarchy. Journal of the Japanese and International Economies, Volume 10, Issue 4, pp 339-418. [Ungated PDF Preprint Document]. DOI: 10.1006/jjie.1996.0023. December 1996.
Newitz, Annalee. A mysterious law that predicts the size of the biggest cities. Gizmodo. [Online article]. 9 December 2013.
Image Credit: Photo by Handiwork NYC on Unsplash
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.