<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/statistics-sunday-what-fast-food-can-tell-us-about-a-community-and-the-world/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.deeplytrivial.com/2018/10/statistics-sunday-what-fast-food-can.html"> Deeply Trivial</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Two statistical indices crossed my inbox in the last week, both of which use fast food restaurants to measure a concept indirectly.</p>
<p>First up, in the wake of recent hurricanes, is the <a rel="nofollow" href="https://www.economist.com/the-economist-explains/2018/09/14/what-is-the-waffle-house-index" target="_blank">Waffle House Index</a>. As <i>The Economist</i> explains:</p>
<blockquote><p>Waffle House, a breakfast chain from the American South, is better known for reliability than quality. All its restaurants stay open every hour of every day. After extreme weather, like floods, tornados and hurricanes, Waffle Houses are quick to reopen, even if they can only serve a limited menu. That makes them a remarkably reliable if informal barometer for weather damage.</p>
<p>The index was invented by Craig Fugate, a former director of the Federal Emergency Management Agency (FEMA) in 2004 after a spate of hurricanes battered America’s east coast. “If a Waffle House is closed because there’s a disaster, it’s bad. We call it red. If they’re open but have a limited menu, that’s yellow,” he explained to NPR, America’s public radio network. Fully functioning restaurants mean that the Waffle House Index is shining green.</p></blockquote>
<p>Next is the <a rel="nofollow" href="https://www.economist.com/news/2018/07/11/the-big-mac-index" target="_blank">Big Mac Index</a>, created by <i>The Economist</i>:</p>
<blockquote><p>The Big Mac index was invented by The Economist in 1986 as a lighthearted guide to whether currencies are at their “correct” level. It is based on the theory of purchasing-power parity (PPP), the notion that in the long run exchange rates should move towards the rate that would equalise the prices of an identical basket of goods and services (in this case, a burger) in any two countries.</p></blockquote>
<p>You might remember a discussion of the “basket of goods” in my post on the <a rel="nofollow" href="http://www.deeplytrivial.com/2017/08/statistics-sunday-how-does-consumer.html" target="_blank">Consumer Price Index</a>. And in fact, the Big Mac Index, which started as a way “to make exchange-rate theory more digestible,” it’s since become a global standard and is used in multiple studies. Now you can use it too, because the data and methodology have been <a rel="nofollow" href="https://github.com/TheEconomist/big-mac-data" target="_blank">made available on GitHub</a>. R users will be thrilled to know that the code is written in R, but you’ll need to use a bit of Python to get at the Jupyter notebook they’ve put together. Fortunately, they’ve provided detailed information on installing and setting everything up.</p>
<div><a rel="nofollow" href="https://i0.wp.com/3.bp.blogspot.com/-gbBMpUA8EOw/W8x-HrgLNGI/AAAAAAAAOHQ/RxebYB0qdeEjq-PwL-fCBPSbcXGz62PegCLcBGAs/s1600/waffle-984499_1920.jpg?ssl=1" target="_blank"><img border="0" src="https://i1.wp.com/3.bp.blogspot.com/-gbBMpUA8EOw/W8x-HrgLNGI/AAAAAAAAOHQ/RxebYB0qdeEjq-PwL-fCBPSbcXGz62PegCLcBGAs/s320/waffle-984499_1920.jpg?resize=450%2C1067&ssl=1" data-original-width="450" width="450" data-original-height="1067" data-recalc-dims="1"></a></div>
<p></p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.deeplytrivial.com/2018/10/statistics-sunday-what-fast-food-can.html"> Deeply Trivial</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/LFK7P9_BjKM" height="1"></a></div>