Pretty label undone by chemistry. Photo by George Taniwaki
by George Taniwaki
When it was new, the travel-size container of Gillette Series sensitive skin shaving cream was pretty. Rather than print directly on the can, they print the design on a sheet of plastic. It’s either polypropylene or polyester film, I am guessing. Printing on film provides a wider range of color options and allows for printing of finer details and at higher resolutions. That’s especially important if you have small text.
The film is transparent, so the design is printed in reverse and then the label wrapped around the can with the printed side on the inside. The plastic protects the label from scratches.
Seems like a clever design. One problem though. The ink on the label is soluble in one of the ingredients in the shaving cream, likely the triethanolamine. The shaving cream comes out as a gel and expands. If the gel gets under the label, it dissolves the ink and then oozes back out and onto your hands. The problem is worse if you get water on the container.
Another problem, why does sensitive skin shaving cream contain triethanolamine? I believe that ingredient can cause allergic contact dermatitis.
I dare you to press the test button. Photo by George Taniwaki
by George Taniwaki
In terminal S at the Seattle-Tacoma International Airport, they retrofitted all the old seats by adding outlets and USB ports. Very thoughtful!
The outlets are inPower Flex model 2. They are specifically designed for those black leather and chrome seats you see at the airport. They attach to the beam underneath the seat with a bracket. Each unit has two ground fault circuit interrupt (GFCI) protected, 3-prong polarized outlets and two high-current (2A) USB ports protected by the same GFCI.
GFCI outlets are required wherever there is a chance stray current could pass through your body, like in a wet area such as a bathroom, kitchen, or outdoors. A standard GFCI outlet has two buttons and an indicator light. A green light means the outlet is active. To check if the GFCI protector is working, you press a test button, which creates a short. The GFCI should shut off power to the outlet and the indicator light should glow red. To force the outlet back to the active state, you press a reset button. Simple right?
Not exactly. In a public setting, the facility owner is responsible for safety, even if the guest is doing something dangerous. The airport staff didn’t want passengers to electrocute themselves by bypassing the GFCI. So they removed the reset button. (See the hole in the middle of the outlet in the photo above.)
But they didn’t remove the test button. (See the white button at the top of the outlet in the photo above.) Of course, people press the test button, maybe accidentally, or out of curiosity to see what it does, or even maliciously. This disables the outlets and USB ports, making them useless. There is no way for a passenger to reset the outlets or the USB ports back to their active state after this happens.
Oh light, you really turn me on! Photo by George Taniwaki
[This entry was posted on 17 Sep 2019 and is backdated to keep it in chronological order.]
by George Taniwaki
In the breakfast area of the TownePlace Suite hotel in Mukilteo, Washington, there is a mural painted on the wall of a Boeing 787 soaring above a silhouette of some local attractions. That’s not unusual, Boeing has a large factory in nearby Everett where the 787 is made.
But the mural is so small. It doesn’t cover the whole wall. So someone put a white wood frame around it to make it look like a painting instead of a mural. There, that fixed it.
But the airplane doesn’t pop out. So they added a light fixture above it to highlight it. There is a switch to control it. There, that fixed it.
But the light switch is covered by the faux frame. So they cut a hole in the frame. There, that fixed it.
Luckily the switch cover is white, so this botched attempt at art enhancement isn’t very noticeable. It took me a while staring at the wall while eating my breakfast to figure out what I was looking at.
Sometimes it isn’t just a frame that ruins the art. Sometimes, the art itself gets ruined by well-meaning but incompetent workers. For some prominent examples of “botched” art restoration, see what happened to Ecce Homo (BBC Sep 2012), King Tutankhamen funerary mask (artnet Jan 2015), Virgin Mary in Ranadoiro (All World Report Sep 2018), and St. George in Navarra (Smithsonian Jun 2019).
* * * *
As a side note, the breakfast the TownePlace Suite includes Chinese (congee), Japanese (misoshiru and rice), and American (sausage, eggs, cereal with milk) options. Pretty odd selection for a suburban hotel until you realize the number of vendors and customers that must stay here while visiting the Boeing plant.
[This blog entry was posted 23 May 2019 and is backdated to keep it in chronological order.]
by George Taniwaki
At the Holiday Inn in Washington DC, there is a soap dish in the wall of the shower. It sticks out just enough that you can bonk your head while futzing with the water valve below it.
Apparently a lot of people have complained about hitting their head or maybe even been sent to the hospital. At least that’s my take on their solution. Add a warning sign,
CAUTION
Please be cautious of the soap dish while in the shower
In a Dec 2011 blog post, I critiqued an article in The Fiscal Times that compared the cost of eating a meal at home against dining out at a restaurant. The article purported to show that eating at a restaurant was cheaper. I pointed out the errors in the analysis.
One of the errors was in the way data for expenditures for grocers and restaurants were shown in a line graph. The two lines were at different scales and aligned to different baselines making comparisons difficult. The original chart is shown above and corrected version shown in Figure 1 below. Correcting the baseline makes it clear that restaurant expenditures are significantly lower than for groceries. Correcting the scale shows that restaurant expenditures are not significantly more volatile than for groceries.
Figure 1. Corrected version of same chart
Another error in the article I pointed out was that the lower inflation rate of meals at restaurants compared to meals at home should not favor eating more meals at restaurants. I didn’t give an explanation why. I will do so here.
Consider an office worker who needs to decide today whether to make a sandwich for lunch or to buy a hamburger at a restaurant. Let’s say she knows that the price of bread and lunch meat has doubled over the past year (100% inflation rate) while the cost of a hamburger has not changed (0% inflation rate). Which should she buy?
The answer is, she doesn’t have enough information to decide. The inflation rate over the past year is irrelevant to her decision today, or at least it should be. What is relevant is the actual costs and utilities today.
Let’s say she likes shopping, making sandwiches, and cleaning up, so the opportunity cost for the sandwich option is zero. Let’s also say she likes sandwiches and hamburgers equally and values them equally and doesn’t value variety. Now, if the price today for lunch meat and bread for a single sandwich is 50 cents while a hamburger is 75 cents, then she should make a sandwich. Next year if inflation continues as before, making a sandwich will cost $1.00 while a hamburger remains 75 cents. In that case, she should buy a hamburger. But that decision is in the future.
Let’s consider an extreme case where inflation rates may affect purchase decisions today. What if the price of sandwich fixings are 50 cents today but inflation is expected to be 100% during the work week (so prices will be $.57, $.66, $.76, and $.87 over the next four days) . Such high inflation rates are called hyperinflation and can lead to severe economic distortions.
Let’s also assume hamburgers are 75 cents today and will remain fixed at that price by law. (Arbitrary but stringent price controls are another common feature of an economy experiencing hyperinflation.) Further, let’s assume that sandwich fixings can be stored in the refrigerator for a week for future use but hamburgers cannot be bought and stored for future consumption.
Finally, let’s assume it is early Monday and our office worker has no sandwich fixings or hamburgers but has $5 available for lunches for the upcoming week. What should she buy each day?
I would recommend trying to buy $3.75 in sandwich fixings today (enough for 5 sandwiches). Here’s why. During a period of hyperinflation, you want to get rid of money as fast as possible because cash loses its value every day you hold it. Thus, buying as much food as possible today is a good investment (called a price hedge).
Ah, you say. Why not make sandwiches the first two days of the week and then switch to the relatively cheaper hamburgers for the last three days? That is unlikely to work because the restaurant is caught between paying rising prices for the food it buys while getting a fixed price for what it sells. Long lines will form as customers seek cheap food. The restaurant will either run out of food, go bankrupt, or close its doors. Regardless, our office worker shouldn’t rely on her ability to buy cheap hamburgers later in the week.
****
So why am I updating a blog post from almost two years ago? Well, it’s because I noticed a big spike in traffic landing on it last week. It turns out my wife, Susan Wolcott, assigned it as a reading for a class she is teaching to undergraduate business students at Aalto University School of Business, in Mikkeli, Finland. (The school was formerly known as the Helsinki School of Economics.)
Normally, this blog receives about 30 page views a day. On days that I post an entry on kidney disease or organ donation (pet topics of mine) traffic goes up. Of a typical day’s 30 hits, I presume about half of that traffic is not human. It is from web crawlers looking for sites to send spam to (I receive about 15 spam comments a day on this blog).
But check out the big spike in page views for my blog on the day my wife assigned the reading. This blog received 264 page views from 91 unique visitors. That’s the kind of traffic social media experts die for. Maybe I’ve hit upon an idea for generating lots of traffic to a website, convince college professors to assign it as required reading for a class.
Figure 2. Web traffic statistics for this blog
Naturally, I expect another big spike of traffic again today when my wife tells her students about this new blog post.
Ranking 8 cities by total growth. Image from Bloomberg BusinessWeek
by George Taniwaki
The graphic above from Bloomberg BusinessWeek Mar 2013 lists the four metro areas with the greatest economic growth over the five-year period 2007-2011. It also gives their population change during the same period. And it lists the four cities that had both negative population growth and GDP growth during the same period.
This chart is a bit light on data, containing only 16 data points. And the changes to population and GDP are not directly comparable since the population change is reported cumulatively for the four years (total number of years minus one) while GDP is annualized. Let’s calculate the cumulative GDP change as follows:
Total change GDP = (1 + Annual change GDP)^Years – 1.
Also, notice that the data has differing numbers of significant digits. The annualized GDP changes are displayed with two digits. The population changes show one, except for Chicago and Providence which have several. I’m sure this was done to show that the populations of these two cities were falling rather than flat. Let’s get rid of those extra digits.
This chart ranks the best and worst performing metro areas. One could reasonably argue that the metro areas with the greatest absolute GDP growth are the best. (I will argue otherwise shortly.) But should the worst performing areas be defined as the four that had both declining population and declining GDP? For a counterexample, consider a city where the population is growing but GDP is falling. I would say it is actually in worse shape based on the negative value of its per capita GDP growth. In fact, any city where the population is growing faster than GDP (or shrinking slower than GDP) would have negative GDP growth. Perhaps GDP per capita is a better measure of performance than total GDP change.
To address this, let’s calculate the change in GDP per capita as follows:
Change GDP per capita = ((Change in GDP + 1) / (Change in pop. +1)) –1.
The normalized data from the chart is summarized in the table below.
Metro area
Total change in pop
Total change in GDP
Total change in GDP per capita
Portland
4%
22%
18%
San Jose
3%
19%
15%
Austin
12%
14%
2%
New Orleans
16%
8%
-7%
Detroit
-4%
-19%
-16%
Cleveland
-1%
-5%
-4%
Chicago
-0%
-2%
-2%
Providence
-0%
-1%
-1%
Table 1. Change in GDP per capita for 8 cities
Notice now that New Orleans, despite having very high GDP growth, has large negative per capita GDP growth because its population is growing faster than its GDP. Austin’s performance now looks less impressive too. And while Cleveland, Chicago, and Providence all have negative per capita GDP growth, they are not doing as badly as it first appears.
Even when normalized, the data in the table is still lacking context. It doesn’t give the reader a feel for the big picture. For instance, how many metropolitan areas over 1 million are there in the U.S.? What is the average population change and GDP change among those cities? Which cities had the greatest change, either positive or negative, in population, GDP, and per capita GDP?
Continuing that analysis, we would want to know if most cities were growing near the average rate or if there is a large dispersion. What is the shape of this dispersion? Are there geographic location, city size, or other factors that correlate with growth? Finally, are there time series trends? To answer these questions we need to go back to the source data and create our own charts.
Creating the metro population and GDP dataset
The footnote to the Bloomberg BusinessWeek chart says the data is from the Bureau of Economic Analysis and the Census Bureau. The BEA GDP data is available from an interactive website. I selected Table = GDP by metro area, Industry = All industry total, Area = All MSAs, Measures = Levels, and Year = 2007 to 2011.
The Census Bureau population estimates for the metropolitan statistical areas (MSAs) are available for download from the Census website. I downloaded the historical decennial data for 2000 to 2009 and the current decennial data that covers 2010 to 2012. I merged the three data sets keyed off of Census Bureau statistical area (CBSA) code.
Note that several of the CBSAs changed in 2010, meaning the code changed too. The most significant is that Los Angeles-Long Beach-Santa Ana, CA (31100) changed to Los Angeles-Long Beach-Anaheim, CA (31080).
In addition to the MSA records, I created two additional records. One contains the total population and GDP for all MSAs and the other for MSAs with population greater than one million.
Since the geographic names of the MSAs are often quite long, I want to find shorter labels that I can use on a scatterplot. I decide to use airport codes. These are short, unique, cover any big city with an airport worldwide, and if you travel a lot, you’ve possibly memorized quite a few, so you don’t need a legend to decode them. I append this to each record.
Finally, I calculate the following descriptive statistics for each MSA and append them to the records:
Change in population = (Pop on Jul 2011 / Pop on Jul 2007) – 1
Change in GDP = (GDP for 2011 / GDP for 2007) – 1
Per capita GDP for year 20xx = GDP for year 20xx / Pop on Jul of year 20xx
Change in GDP per capita = (Per capita GDP for 2011 / GDP per capita for 2007) – 1
Comparing the data I collected with the Bloomberg BusinessWeek data, the ranking for the top four cities match, but the values for population change and GDP change do not. This could be because different data was used (historical population and GDP estimates are revised annually).
The data for the bottom four cities don’t match at all. The data I collected shows only one city that had falling population and GDP during the time period, Detroit. The three other cities showed rising GDP and two showed rising population as well. And despite the falling population and GDP, all four cities showed rising GDP per capita.
The data for those 8 metro areas plus a few outliers are shown below The means for all 51 MSAs with population greater than one million are included for comparison.
Metro area
Total change in pop
Total change in GDP
Total change in GDP per capita
Portland
4.5%
23.1%
17.8%
San Jose
5.0%
28.6%
12.9%
Austin
11.7%
18.4%
6.0%
New Orleans
9.4%
17.5%
7.4%
Salt Lake City
1.3%
14.9%
13.4%
Mean
4.2%
6.9%
2.6%
Detroit
-3.8%
-2.4%
1.4%
Cleveland
-1.5%
3.5%
5.0%
Chicago
0.5%
5.4%
4.9%
Providence
0.0%
6.7%
6.6%
Las Vegas
7.0%
-5.9%
-12.1%
Charlotte
36.7%
9.3%
-20.1%
Table 2. Total change in GDP per capita for 11 cities
Visualization and Analysis
I generated a simple scatterplot of change in GDP against change in population for all 51 MSAs. The cities from the table above are highlighted in green and red. I added a population weighted trend line shown in brown. The trend line passes through the mean (4.2%, 6.9%) and has an y-intercept at 2.6%.
I could have made the chart fancy by adding information using the size, shape and color of the markers. For instance I could change the size of the markers based on the population of the MSA, change the shape of the marker based on whether the city was coastal or inland, and change the color of the marker based on which Census region it was in.
Figure 1. A simple scatterplot showing the top 51 MSAs
The four metro areas with the highest GDP growth are all above the trend line and have high per capita GDP growth. However, the Bloomberg BusinessWeek chart leaves off Salt Lake City which has lower GDP growth but because its population only grew 1.3% during the period, its per capita GDP growth is a very high 13.4%.
The fastest shrinking metro area is Detroit, which matches the Bloomberg BusinessWeek result. Note that its lies above the 45-degree diagonal running through the origin, meaning its GDP decline is less than its population decline and so has positive GDP per capita growth. However, it is still below the trend line, meaning it is growing slower than the average.
The other three metro areas in the Bloomberg BusinessWeek chart, Cleveland, Chicago, and Providence, all show slow or negative population growth, but are all above the trend line. They probably should not be considered bust-towns. The true bust-town in the scatterplot is Las Vegas. It is an outlier with a population growth of 7% but a GDP decline of 6% which results in a 12% drop in GDP per capita.
The final outlier is Charlotte. It shows a population gain of nearly 37% which is more than double of the next fastest growing city. But it has only a 9% increase in GDP leaving it with a 20% drop in GDP per capita. This is a sign that rapid growth can actually be very bad for a city.
Data error and bias
The statement in the paragraph above assumes that the data for change in economic activity and in population at the MSA level developed by two separate organizations for separate reasons is accurate and comparable. Neither of these assumptions is particularly sound. Specifically, there is a big discontinuity in the population estimate for Charlotte between Jul 2009 (the last estimate based on the 2000 census) and Jul 2010 (the first estimate based on the 2010 census) that accounts for most of the population gain. Thus, the annual population estimates may need to be smoothed before calculating the change between years.
I believe the BEA estimate of economic activity for an MSA is based partly on the population estimate for the MSA. Thus, if the population estimate changes (it is revised annually), then the GDP estimate will no longer be valid and will need to be updated.
Finally, you should be careful when combining data from different sources and comparing them. We do it all the time but we have to be conscience of what the consequences are. This is an especially important point since everybody today is rapidly building giant data warehouses and running analytics on data that has never been combined before.
A Dec 2011 article in The Fiscal Times purports to show that eating at restaurants is cheaper than cooking at home. It’s an intriguing idea that has appeared in many articles in the past. However, the analysis presented in The Fiscal Times article is flawed and the conclusions are not supportable.
Before going into the specifics of the errors in The Fiscal Times article, let’s consider how one could compare whether cooking at home is more expensive than eating at restaurants. The typical cost-benefit analysis for eating in versus dining out goes something like as follows. Cooking a meal at home isn’t free. From a classical economic point of view one should include the opportunity cost of the time needed to buy groceries , drive it home, store it, prepare a meal, and clean up afterwards. Further, one should include the implicit rental value of the automobile used to transport the groceries and the kitchen and dining room used to prepare and serve the meal.
However, shopping, cooking, and cleaning are not just chores that one is required to do. They are a form of entertainment, social interaction, and a way to share your skills with others as Nathan Myhrvold insightfully states in this Dec 2011 Slate interview. The cook receives utility from hosting a meal, even if it is a regular daily event. Naturally, if one hates to shop, cook, or clean, then there can be disutility as well. When deciding whether to eat at home or dine out, a person will want to maximize the expected utility from the decision.
The Fiscal Times article has two time series charts which I will reproduce below. Some of the problems I found in the first chart:
Examining the wrong factors
The Fiscal Times article briefly mentions some of the above factors, but then totally ignores them when doing the price comparisons. Instead, it mentions differing inflation rates between in-home meals and restaurant meals. Relative inflation rates should be irrelevant to the decision to eat at home or dine out. The author also throws in a few additional factors that also seem to be irrelevant in comparing costs,
“We also didn’t factor in whether one meal or another would be healthier, or friendlier to the environment. But that’s part of the point: Eating right and finding the extra savings that could be had by comparison shopping comes with a time trade-off that many families can’t afford to make these days.”
Hard to interpret charts
The Fiscal Times article has two time series charts which I will reproduce below. Some of the problems I found in the first chart:
For some reason the first chart is labeled Chart 2 and the second is labeled Chart 1.
Chart 2 (the first chart) has two different scales (left scale has a range of 1.4% while the right scale has a range of 0.4%) even though both display values from the same dataset (percent share of consumption). This means the data using the right scale will appear to be more variable
The black arrows both point toward the right scale, though “Grocers” (what’s with the quotation marks?) says it is set to the left hand scale (LHS)
Neither scale shows the 0% origin point or the 100% end point (Note that if the scale did go from 0 to 100%, then there would be no need for two different scales.
Assuming the left scale applies to “Grocers” and the right scale to “Restaurants”, then “Grocers share is always above “Restaurants”. It does not cross as the chart shows
There is no source attribution for the data so no way to judge how valid it is or to review the original data
The second chart (entitled Chart 1) also has several flaws.
The color code has been reversed. Dining out share was shown in the blue line in the first chart, while inflation is shown in gold. Similarly, eat at home share was shown in gold in the first chart, while inflation is in blue
The label for each line has changed. “Restaurants” in the first chart is now called Food away from home while “Grocers” is now Food at home
The use of different labels makes one wonder if the same assumptions, data sets, and cost allocations are used in the two charts and whether the same analysts produced both charts. My guess is no, which means the two charts cannot be used together
As mentioned above, relative inflation rate should not directly impact the consumer’s choice to eat at home or at a restaurant, so this chart isn’t very useful
Nonequivalent price comparisons
The Fiscal Times article includes a slideshow that compares the cost of selected meals at restaurants with the cost of preparing the meal at home. In five out of six cases, the restaurant meal is cheaper.
If you only consider the price of store-bought food to the price of a cooked meal at a restaurant, there is probably no way the prices of food ingredients in a competitively priced retail store could exceed the price in a non-subsidized restaurant. Certain restaurants can serve meals at lower than expected prices because of subsidized food (school lunch programs), volunteer labor (homeless shelters or church meal programs), or subsidized rent (canteen stores or cafeterias in office buildings).
So how did The Fiscal Times get these unlikely results? I think the following errors were made:
The restaurant meal prices are for a single serving while the grocery store prices are for full cans, boxes, or other package. This will provide much more food than the restaurant meal
The grocery store prices are for FreshDirect, a grocery delivery service in New York. Delivery groceries are more expensive than self-serve and NYC is the most expensive city in the U.S.
The restaurant meal prices exclude the tip
The grocery store prices include some prepared deli foods. Grocery store deli food can be more expensive than restaurant food since it is an impulse buy
*An orangery is a British term for a greenhouse. They were mostly used to grow citrus fruit (hence the term orangery). Now most citrus fruit in Great Britain is imported. One of the most famous orangeries is located in the Royal Botanic Gardens in London. It is now used as a restaurant where people dine out, not a greenhouse used to grow oranges that people eat at home.
* * * *
[Update: Expanded the footnote to make clear the irony of an orangery being used as a restaurant.]
[Update2: For a clearer explanation why differing inflation rates should not affect the choice between eating in and going to a restaurant, see this Sep 2013 blog post.]