Saturday, May 30, 2015

It is a legitimately good sign when a transportation story uses the term “maximum throughput”

Tom Vanderbilt writing for the Washington Post:
But as good as fast-moving roads might be for the individual driver, they are not the best for the most drivers. As data gleaned from in-pavement “loop detectors” on Washington state highways showed, those highways were able to achieve “maximum throughput” — pushing the most cars through one segment of road in a given time — at speeds that were roughly 80 percent of the posted speed limit of 60 mph. Why? At higher speeds, drivers need to allow more “headway” between vehicles, meaning more space is required per vehicle. And faster-moving traffic tends to break down more quickly, with more severe “shock waves”; it takes a lot longer to recover from a traffic jam than to get into one. I have been told, anecdotally, by traffic engineers that the left-hand “passing lane” can become congested first. (I’ll leave it to you to decide if karmic justice is at work there.)

In a “speed harmonization” experiment on Colorado’s I-70, the state highway patrol was able to improve traffic flow by enforcing, via phalanxes of patrol cars, 55 mph speeds — thus preventing the instability caused by people driving fast into packs of congested, slower-moving vehicles.
This goes along with an idea I had about having a fleet of driverless cars using real time data to selectively slow traffic in some or all lanes for the purpose of reducing the accordion effect. If nothing else it would be an interesting project to model.

Thanks to Mike for the link.

Friday, May 29, 2015

A statistician walks into a grocery store... repeatedly




Things have gotten busy over at the food blog. The plan was always to go hot and heavy for a month or two. With almost one hundred posts either up or in the queue, I think we're getting there.

The content is a mix of new pieces (like the recent one on chickenless chicken and black bean soup), reposts, links to recent news of interest...





And lots of historical pieces. Some, like this WWII film (highly recommended for anyone interested in the history of nutrition), focus on how we think about food.



Others (Frankenberry, Count Chocula and the late Forry Ackerman) focus on how we have marketed it.



Check it out if you get a chance and please share anything you think is deserving. We've had very little progress on the SEO front.




Adventures in Ithuvania

There's a wonderful Far Side cartoon that shows two scientists addressing a man sitting behind a desk in a sumptuous office. The lead scientist says:

"Sorry, your highness, but you're really not the dictator of Ithuvania, a small European republic. In fact, there is no Ithuvania. The hordes of admirers, the military parades, this office -- we faked it all as in experiment in human psychology. In fact, you highness, your real name is Edward Belcher, you're from Long Island, New York, and it's time to go home, Eddie."

Sometimes, when I come across yet another bit of jaw-dropping flakiness from some tech-bubble billionaire, my thoughts turn to Ithuvania. What if this were an experiment? What if some well-funded research organization decided to see what would happen if it randomly selected individuals of average intelligence, handed them huge checks and told them they were super-geniuses?

I'm not saying that's what happened; I'm just saying the results would have been awfully damned similar.

From Wired:

THE SEASTEADING INSTITUTE was the toast of tech entrepreneurs when it received financial backing from venture capitalist Peter Thiel in 2008. Its mission was to build a manmade island nation where inventors could work free of heavy-handed government interference. One early rendering shows an island raised on concrete stilts in eerily calm waters. The buildings atop the platform resemble nothing so much as the swanky tech campus of an entrepreneur’s ultimate dream: No sign of land or civilization in sight. The island, despite appearing strapped for square footage, has room for a full-size swimming pool with deck lounges.

In a 2009 essay, Thiel described these island paradises as a potential “escape from politics in all its forms.” It wasn’t just desirable, he said. It seemed possible. “We may have reached the stage at which it is economically feasible, or where it will soon be feasible,” he wrote.

More than a half-decade later, the dream has yet to be realized. And optimism is starting to waver. Earlier this year, during a talk at George Mason University, Thiel said, “I’m not exactly sure that I’m going to succeed in building a libertarian utopia any time soon.” Part of the problem: A truly self-sufficient society might exceed the range even of Thiel’s fortune. “You need to have a version where you could get started with a budget of less than $50 billion,” he said.

For its part, The Seasteading Institute has also come to appreciate that the middle of the ocean is less inviting than early renderings suggest. It now hopes to find shelter in calmer, government-regulated waters. According to its most recent vision statement, “The high cost of open ocean engineering serves as a large barrier to entry and hinders entrepreneurship in international waters. This has led us to look for cost-reducing solutions within the territorial waters of a host nation.”

Thiel’s reassessment marks a clear departure from tech culture’s unflinching confidence in its ability to self-govern. In recent years a number of prominent entrepreneurs have urged Silicon Valley to create a less inhibited place for its work. Larry Page called on technologists to “set aside a small part of the world” to test new ideas. Elon Musk has aimed at colonizing Mars. And venture capitalist Tim Draper made a proposal to divide Silicon Valley into its own state. But aside from the continued growth of full-service tech campuses such as Google’s and Facebook’s, very little has been accomplished in the way of true societal independence.

Building a government, it turns out, is a more complex challenge than much of Silicon Valley would have you believe. Now, Thiel and other high-profile Silicon Valley investors are carefully taking stock of the anti-government view they helped popularize. For all Thiel’s open criticism of elected officials, he sounded remarkably like a politician recanting false promises on the stage at George Mason. Toward the end of the talk, he reflected for a moment on his early essay on seasteading. “Writing is always such a dangerous thing,” he said. “It was late at night. I quickly typed it off.”


Thursday, May 28, 2015

The actual future of the driverless vehicle

I've been fairly skeptical of the likelihood of seeing driverless cars in the near future, partially because the economic case was weak, but primarily because the data infrastructure was prohibitively expensive, at least if you wanted a car that could go anywhere (and that flexibility is one of the main reasons for having a car).

Driverless trucks are another story. There you have vehicles with significant labor costs that mostly travel a relatively small number of routes.  Though Daimler is obviously downplaying the possibility, I would not be at all surprised to hear that fully autonomous trucks will be operating in at least a few countries in the next decade.

From NPR.
Automaker Daimler unveiled a truck last week that drives itself, called the Freightliner Inspiration. But the truck is not yet entirely autonomous.

"You still have the driver in the driver's seat, ready to take over at all times in case something goes wrong or the system encounters a situation it's not really well prepared for," says Alex Davies, associate editor for Wired, who was at the demonstration and rode in the big rig.

The driver controls the rig on surface roads, but on the highway, engages the autopilot mode. Cameras detect the lane lines to keep the truck headed in the right direction, Davies tells NPR's Rachel Martin.

"Then from there on, the truck will stay in its lane, maintain its speed and a safe distance from other vehicles," he says. "But you still need to be in the seat, ready to take over."

And being ready to take over means the driver can't exactly take a nap.

When it's time for the driver to take over — at the correct exit or if bad weather hits — the truck alerts the driver with a beep. If the driver doesn't respond, the truck slows and eventually comes to a complete stop, Davies says.

Daimler says the Inspiration, the first self-driving truck licensed to roll on public roads — highways and interstates in Nevada — is the future of trucking and may hit the market before autonomous cars, according to the Associated Press. Drivers will still be human, but might be called "logistics managers."

"The human brain is still the best computer money can buy," said Daimler Trucks North America LLC CEO Martin Daum.

Davies says no automaker will ever use the term "driverless" for a vehicle, preferring the safer-sounding "autonomous" or, in the case of the Freightliner Inspiration, "piloted."

Wednesday, May 27, 2015

"Inequality and Urbanism"

When time permits, I want to get back to this.

From Paul Krugman:
First, when it comes to things that make urban life better or worse, there is absolutely no reason to have faith in the invisible hand of the market. External economies are everywhere in an urban environment. After all, external economies — the perceived payoff to being near other people engaged in activities that generate positive spillovers — is the reason cities exist in the first place. And this in turn means that market values can very easily produce destructive incentives. When, say, a bank branch takes over the space formerly occupied by a beloved neighborhood shop, everyone may be maximizing returns, yet the disappearance of that shop may lead to a decline in foot traffic, contribute to the exodus of a few families and their replacement by young bankers who are never home, and so on in a way that reduces the whole neighborhood’s attractiveness.

On the other hand, however, an influx of well-paid yuppies can help support the essential infrastructure of hipster coffee shops (you can never have too many hipster coffee shops), ethnic restaurants, and dry cleaners, and help make the neighborhood better for everyone.

What does history tell us? Politically, I’d like to say that inequality is bad for urbanism. That’s far from obvious, however. Jane Jacobs wrote The Death and Life of Great American Cities right in the middle of the great postwar expansion, an era of widely shared economic growth, relatively equal income distribution, empowered labor — and collapsing urban life, as white families fled the cities and a combination of highway building and urban renewal destroyed many neighborhoods.

And when a partial urban revival began, it was arguably associated with forces driven by or associated with rising inequality. Affluent types in search of a bit of cool — probably 5 percenters rather than 1 percenters, and more or less David Brooks’s Bobos (bourgeois bohemians) drove gentrification and revival in urban cores; in New York, at least, large number of poorly paid but striving immigrants drove the revival of outer borough neighborhoods like Jackson Heights or Brighton Beach.

"...pretty soon you're talking real money"

Every now and then, it is useful to step back and remind ourselves just how much money is changing hands due to the education reform movement.
For the first time in three decades, a new company is poised to develop and administer the state-required exams Texas students begin taking in the third grade.

The state is in negotiations with Educational Testing Service, or ETS, to take over the bulk of the four-year, $340 million student assessment contract, the Texas Education Agency announced Monday. Company Vice President John Oswald said ETS is "privileged and honored" to land the work. Final contracts are still being negotiated.

The London-based Pearson Education has held the state's largest education-related contract — most recently, a five-year, $468 million deal to provide state exams through 2015 — since Texas began requiring state student assessments in the 1980s. Under the new agreement, the company would still develop the state's assessments designed for special needs and foreign students. That portion of the contract is worth about $60 million.  
Of course, as Diane Ravitch points out, Texas doesn't seem to have cut itself the best deal.
Here is the puzzling question: Why did it cost $468 million for a five-year contract with Pearson when New York State pays Pearson “only” $32 million for a five-year contract? Does New York have smarter negotiators? Does Pearson have better lobbyists in Texas than in New York? Does New York get Texas’s used questions? True, Texas has more children than New York, but not 15 times more. Can anyone explain?

Tuesday, May 26, 2015

Three from our war on science correspondent...

... Mike the Mad Biologist.

Justin Pidot writing for Slate.
Imagine visiting Yellowstone this summer. You wake up before dawn to take a picture of the sunrise over the mists emanating from Yellowstone hot springs. A thunderhead towers above the rising sun, and the picture turns out beautifully. You submit the photo to a contest sponsored by the National Weather Service. Under a statute signed into law by the Wyoming governor this spring, you have just committed a crime and could face up to one year in prison.

Wyoming doesn’t, of course, care about pictures of geysers or photo competitions. But photos are a type of data, and the new law makes it a crime to gather data about the condition of the environment across most of the state if you plan to share that data with the state or federal government. The reason? The state wants to conceal the fact that many of its streams are contaminated by E. coli bacteria, strains of which can cause serious health problems, even death. A small organization called Western Watersheds Project (which I represent pro bono in an unrelated lawsuit) has found the bacteria in a number of streams crossing federal land in concentrations that violate water quality standards under the federal Clean Water Act. Rather than engaging in an honest public debate about the cause or extent of the problem, Wyoming prefers to pretend the problem doesn’t exist. And under the new law, the state threatens anyone who would challenge that belief by producing information to the contrary with a term in jail.


John Timmer writing for Ars Technica
Yesterday, by a party-line vote, Republicans in the House Committee on Science, Space, and Technology approved a budget authorization for NASA that would see continued spending on Orion and the Space Launch System but slash the agency's budget for Earth sciences. This vote follows the committee's decision to cut the NSF's geoscience budget and comes after a prominent attack on NASA's Earth sciences work during a Senate hearing, all of which suggests a concerted campaign against the researchers who, among other things, are telling us that climate change is a reality.


Emily DeMarco writing for Science Insider.
Representative Louie Gohmert (R–TX) is worried that scientists employed by the U.S. government have been running roughshod over the rights of Americans in pursuit of their personal political goals. So this week Gohmert, the chair of the oversight and investigations subpanel of the U.S. House of Representatives’ Natural Resources Committee, held a hearing to explore “the consequences of politically driven science.” Notably absent, however, were any scientists, including those alleged to have gone astray.

“The purpose of this hearing is to hear from real people, mammals called human beings that have been harmed by the federal government,” Gohmert said in opening the 29 April hearing, which featured testimony from three Republican-called witnesses on alleged misdeeds by researchers with the U.S. Fish and Wildlife Service (FWS) and National Park Service (NPS).
I'm trying to cut back on mean and snarky comments so

Monday, May 25, 2015

Really cheap chickenless chicken and black-bean soup

I've got another post at the food blog on how you can actually live on a food stamp budget.


The New York Times has a class problem -- "Poor Little Rich Women"

Actually, it's not just a NYT problem -- it extends throughout the media -- but it has gotten particularly embarrassing with what is supposed to be our best paper. The NYT has always identified with the upper classes ("It does not soil the breakfast cloth") but recently it has come to focus on and empathize with the one percent to such a degree that the identification is distorting its journalistic judgement.

We've seen irony-free articles about how hard it is getting by on 300K and op-eds on how unfair it is when wealthy students at top prep schools have to settle for safety schools because their SATs are too low.

And now the New York elite have their own personal anthropologist in Wednesday Martin:
A social researcher works where she lands and resists the notion that any group is inherently more or less worthy of study than another. I stuck to the facts. The women I met, mainly at playgrounds, play groups and the nursery schools where I took my sons, were mostly 30-somethings with advanced degrees from prestigious universities and business schools. They were married to rich, powerful men, many of whom ran hedge or private equity funds; they often had three or four children under the age of 10; they lived west of Lexington Avenue, north of 63rd Street and south of 94th Street; and they did not work outside the home.

Instead they toiled in what the sociologist Sharon Hays calls “intensive mothering,” exhaustively enriching their children’s lives by virtually every measure, then advocating for them anxiously and sometimes ruthlessly in the linked high-stakes games of social jockeying and school admissions.

Their self-care was no less zealous or competitive. No ponytails or mom jeans here: they exercised themselves to a razor’s edge, wore expensive and exquisite outfits to school drop-off and looked a decade younger than they were. Many ran their homes (plural) like C.E.O.s.

It didn’t take long for me to realize that my background in anthropology might help me figure it all out, and that this elite tribe and its practices made for a fascinating story.
Martin's observations are "fascinating" only if you start with a strong proclivity to find the lives of the New York elite interesting and important. For the rest of us, there is little here that is notable or even all that surprising.

For example, you would expect a great deal of time and money to be spent on maintaining personal appearance given the wealth and leisure, the-see-and-be-seen culture, and, to be blunt, the fact that some of these women are married to rich older men who demanded highly restrictive prenups and who have shown no compunction about dumping spouses.

Nor does the explicit and rather cold-blooded talk of wife bonuses come as a shock to anyone. Given the culture of the industries that produce the elite of New York, it would be rather strange if the language of these industries did not make it into day-to-day life.

Martin clearly wants to imbue her subjects with an importance and dignity not shared by the millions of other stay-at-home spouses around the country. This, along with other embarrassing traits of New York Times journalism, is beautifully illustrated when she talks about her subjects as "CEOs" of households.

Anyone who follows financial reporting will have encountered the big swinging check syndrome: a questionable or downright bad business decision will be lauded as bold and brilliant because it involves a stunning amount of money. In this article, the fact that these spouses are managing household with large budgets is seen, in and of itself, as an accomplishment. (The real accomplishment is doing the opposite.) Adding to the embarrassment, all of this comes on the heels of a slue of stories about well-to-do New Yorkers who are comically bad at household finance.

As mentioned before, this is an ongoing concern. It's not just that the press tends to see the world from an increasingly homogeneous lens -- top quartile, Ivy League, Northeastern, largely white -- but that the press does not realize how different the world looks to the rest of us.

Friday, May 22, 2015

I haven't made up my mind whether Mike is onto something with the "gentry class" designation

But it's definitely an idea worth discussing.



To return to [David] Leonhardt, this is the key point:
There is a good debate about what to call families who don’t have enormous wealth but who also make much more than most Americans. There is also a good debate about whether any changes to tax policy — the background to Josh’s article — should involve sacrifices from that group.
In the course of the debate, though, let’s at least remain cleareyed about the fact that six figures of income is not the 21st-century American norm.
[I'm not much of a Leonhardt fan, but he makes some good points in the original piece. MP]
I suggest we call them the gentry. They’re not middle-class (whether it be the upper or lower reaches), since they can live very differently from (or, perhaps, better than) most of us. They can have most of the nice things. At the same time, they’re not wealthy or flat-out rich: if they don’t work, they can fall down the ladder, sometimes very quickly. Living comfortably or well with the interest on investments isn’t an option.
The reason I refer to this group as the gentry is, in part, it’s the group that’s responsible for gentrification in urban areas (no gentry, no gentrification), so it seems to fit. The other reason is to intentionally invoke the Victorian notion of the word. The gentry, whether it be a more religious, conservative style, or a more liberal, less traditional style, definitely has specific class interests (boldface mine):
Yet the upper middle class collectively wields far more influence. These are households with enough money to make modest political contributions, enough time to email their elected officials and to sign petitions, and enough influence to sway their neighbors. Upper-middle-class Americansvote at substantially higher rates than those less well-off, and though their turnout levels aren’t quite as high as those even richer than they are, there are far more upper-middle-class people than there are rich people….
Another thing that separates the upper middle class from the truly wealthy is that even though they’re comfortable, they’re less able to take the threat of tax increases or benefit cuts in stride. Take away the mortgage interest deduction from a Koch brother and he’ll barely notice. Take it away from a two-earner couple living in an expensive suburb and you’ll have a fight on your hands. So the upper middle class often uses its political muscle to foil the fondest wishes of egalitarian liberals.
…part of my objection is that upper-middle-income voters only oppose tax hikes on themselves. They are generally fine with raising taxes on people richer than themselves, including taxes on the investments that rich people make in new products, services, and businesses. I find that both annoyingly self-serving and destructive. The bigger reason, however, is that upper-middle-class people don’t just use their political muscle to keep their taxes low. They also use it to make life more expensive for everyone else.
…You’d almost get the impression that while working- and lower-middle-class people are expected to compete, whether with the Ubers of the world or with Chinese manufacturing workers or with immigrants with modest skills, members of the upper middle class ought to be immune.
Leaving aside Salam’s conservative take on things (very different from the Mad Biologist!), he’s on to something, though I would argue what Salam calls upper-middle class is actually a gentry, with very clear economic interests. While there can be cultural and regional disagreements, en masse, they are quite coherent.
While the U.S. pretends to be a class-free society (even as U.S.-ians spend an inordinate amount of time making very subtle class distinctions), the reality is we do have classes with specific economic interests.
It’s time we realize we have a gentry.

Thursday, May 21, 2015

Fake Data in Political Science

This is Joseph.

One of the most challenging things in population research is the need to trust in the data and analysis done by other groups.  Unlike chemistry, we cannot simply replicate experiments without huge amounts of expense.  Furthermore, the population is getting less and less responsive to surveys.  In a very real sense, endlessly replicating strong and clean results is going to partially displace other research questions.  After all, people have a limited tolerance for surveys.  This goes double for high burden approaches, such as door-to-door interviews and interventions (which require trained and paid field agents to conduct the survey with a high degree of professionalism and often limited wages).

This need to trust, where possible, makes stories like this one painful.  Full respect to the field that the problem was detected and I am glad that academia was self correcting.  But these actions have pretty strong consequences

I also think there is a very important difference between a technical error, misunderstanding of data, and completely making data up.  The first two are the cases that give every analyst nightmares.  But the last seems to have no excuses at all -- how could somebody not know that they were faking data? 

That said, it's not like medicine is innocent (as Thomas Lumley points out) and medical research probably has a lot more direct potential to cause harm (as patient concerns about this "treatment is not working" will be dismissed in the face of "randomized controlled trial" "evidence"). 

EDIT: and how could I overlook Andrew Gelman's take on this (which is right in his area)

Blast from the past -- The curse of large numbers and the real problem with p-values

Following up on Joseph's recent piece.

[Originally posted MARCH 22, 2010]

(Some final thoughts on statistical significance)

The real problem with p-values isn't just that people want it to do something that it can't do; they want it to do something that no single number can ever do, fully describe the quality and reliability of an experiment or study. This simply isn't one of those mathematical beasts that can be reduced to a scalar. If you try then sooner or later you will inevitably run into a situation where you get the same metric for two tests of widely different quality.

Which leads me to the curse of large numbers. Those you who are familiar with statistics (i.e. pretty much everybody who reads this blog) might want to skip the next paragraph because this goes all the way back to stat 101.

Let's take simplest case we can. You want to show that the mean of some group is positive so you take a random sample and calculate the probability of getting the results you saw or something more extreme (the probability of getting exactly results you saw is pretty much zero) working under the assumption that the mean of the group was actually zero. This works because the bigger the samples you take the more the means of those samples will tend to follow a nice smooth bell curve and the closer those means will tend to group around the mean of the group you're sampling from.

(For any teachers out there, a good way of introducing the central limit theorem is to have students simulate coin flips with Excel then make histograms based on various sample sizes.)

You might think of sampling error as the average difference between the mean of the group you're interested in and the mean of the samples you take from it (that's not exactly what it means but it's close) . The bigger the sample the smaller you expect that error to be which makes sense. If you picked three people at random, you might get three tall people or three millionaires, but if you pick twenty people at random, the chances of getting twenty tall people or twenty millionaires is virtually are next to nothing.

The trouble is that sampling error is only one of the things a statistician has to worry about. The sampled population might not reflect the population you want to draw inferences about. Your sample might not be random. Data may not be accurately entered. There may be problems with aliasing and confounding. Independence assumptions may be violated. With respect to sample size, the biases associated with these problems are all fixed quantities. A big sample does absolutely nothing to address them.

There's an old joke about a statistician who wakes up to find his room on fire, says to himself "I need more observations" and goes back to sleep. We do spend a lot of our time pushing for more data (and, some would say, whining about not having enough), but we do that not because small sample sizes are the root of all of our problems but because they are the easiest problem to fix.

Of course "fix" as used here is an asymptotic concept and the asymptote is not zero. Even an infinite sample wouldn't result in a perfect study; you would still be left with all of the flaws and biases that are an inevitable part of all research no matter how well thought out and executed it may be.

This is a particular concern for the corporate statistician who often encounters the combination of large samples and low quality data. It's not unusual to see analyses done on tens or even hundreds of thousands of sales or customer records and more often than not, when the results are presented someone will point to the nano-scale p-value as an indication of the quality and reliability of the findings.

As far as I know, no one reviewing for a serious journal would think that p<0 .001="" 99.9="" a="" almost="" an="" analytic="" background="" br="" but="" conclusion="" everyone="" is="" means="" re="" s="" sure="" that="" thinks.="" true="" we="" what="" without="">
And that is a problem.

Wednesday, May 20, 2015

Very good statistics post (p-value edition)

This is Joseph (and I located the piece through Economist's View)

This article on p-values was a very interesting read.  The author (who teaches statistics) has a very nice discussion of p-values:
One reason for this, I think, is that we fail to teach well how, with enough data, any non-zero parameter or difference becomes statistically significant at arbitrarily small levels. The proverbial expression of this, due I believe to Andy Gelman, is that "the p-value is a measure of sample size". More exactly, a p-value generally runs together the size of the parameter, how well we can estimate the parameter, and the sample size. The p-value reflects how much information the data has about the parameter, and we can think of "information" as the product of sample size and precision (in the sense of inverse variance) of estimation, say n/σ2. In some cases, this heuristic is actually exactly right, and what I just called "information" really is the Fisher information.
But I found this way of talking about p-values to be extremely useful, and something that should be kept in mind in Epidemiology -- where a significant association estimates from a big sample with a small effect can often be uninteresting.  You never reduce bias to zero in a real observational study and interventions rarely remove an association entirely (as not everyone changes behavior or mitigation is partial).  In the era of big data, this becomes important.

Fun stuff.  

Double-talk and Mathiness

If you haven't been following the reaction to Paul Romer's Mathiness paper, you should check it out. Here's a key quote:

Academic politics, like any other type of politics, is better served by words that are evocative and ambiguous, but if an argument is transparently political, economists interested in science will simply ignore it. The style that I am calling mathiness lets academic politics masquerade as science. Like mathematical theory, mathiness uses a mixture of words and symbols, but instead of making tight links, it leaves ample room for slippage between statements in natural versus formal language and between statements with theoretical as opposed to empirical content
Brad DeLong has had some sharp comments, but I think the best reply to Romer's critics came from Romer himself.

If you think that what McGrattan and Prescott do for location is even remotely on the same level as what Solow did for capital or what Becker did for human capital, please go read the two M-P papers (JET 2009, AER 2010.)
When you think you are too stupid to understand what they are saying and want to give up, trust me, it isn’t you. What they are saying makes no sense. No one can understand it. The authors do not understand it.
Here is a sample of what you can expect:
Technology capital is distinguished from other types of capital in that a firm can use it simultaneously in multiple domestic and foreign locations.  (Footnote: In the language of classical general equilibrium theory, a unit of technology capital is a set of technologies, with one technology for each location.) (JET 2009, p. 2455)
“A unit … is a set”? This is just gibberish. Forget about whether the model connects in any meaningful way to the real world. There is no way to make sense of this statement even in the make-believe world of the model. In the model, the authors define technology capital is a cardinal measure. It is supposed to be something that you can have 2 units of, or 4, or 10. What could 2 or 4 or 10 sets of technologies possibly mean?
We assume that the measure of a country’s production locations is proportional to its population, since locations correspond to markets and some measure of people defines a market. (JET 2009 p. 2461)
I feel guilty pulling a quote like this one, as if I’m humiliating some miserable undergraduate by reading to the class from a term paper on a project that fell apart. But remember, this is from an article that was published in the Journal of Economic Theory.
As you read this quote, remember that the motivation for the theory is that for these authors, perfect competition is the ultimate non-negotiable, more sacred even than micro-foundations. If this were a Hotelling model of location or a Krugman model of spatial location, I’d have some way to try to make sense about how “some measure of people defines a market.” But in the formal mathematical model of perfect competition that the authors are using, this sentence means nothing.
These words are untethered, undisciplined by logic or math, chosen to sound plausible enough to someone who is not paying close attention, like the set up for an applause line in a speech by a politician. This is mathiness.
There is lots more:
One unit of technology capital and z units of the composite input at a given location produce y = g(z). Consider the case of brand equity with units of technology capital indexed by m. For ease of exposition, assume for now that m is discrete and that m = 1 is the Wal-Mart brand, m = 2 is the Home Depot brand, and so on. Wal-Mart chooses the locations in which to set up stores and use its brand. It may be the case that both Wal-Mart and Home Depot have stores at the same location. (AER 2010, p. 1497.)
And if you look at the math, a company like Wal-Mart has to use one unit of technology capital for each location. Because the number of locations in the US is the US population, Wal-Mart must be using more than 300 million units of technology capital. (So more than 300 million technology sets?)
How can we reconcile the math with words that say Wal-Mart gets index m=1 and Home Depot gets m=2? And if technology capital is brand equity, why does Wal-Mart need another unit of brand equity for each US citizen/location? I haven’t a clue, but neither do the authors. One of the things that Milton Friedman got right was his observation that “confused writing is a sign of confused thinking.”
As a discussant, I put serious effort into trying to clean up the mess in the working paper that became the 2009 JET paper. I worked through the math. I talked with the authors.
The things I explained, such as how to convert any concave function like g(z) into a function with one additional variable that is homogeneous of degree one, just helped them put lipstick on this pig.
It was an embarrassment for me that the 2007 NBER version contained the acknowledgement “Discussions with Robert Lucas and Paul Romer were extremely helpful…”
One thing has been bothering me for years now is not just that economists often combine overly simplistic modeling assumptions with overly complicated math (we all do that from time to time), but that many seem to equate these things with thinking scientifically.

On the mathematical point, go back and look at “is economics a science?” debates and see how long it takes someone on the pro side to bring up how mathematically sophisticated their work is. You will frequently hear this same argument made by astrologers and other fringe science types and it has no less validity there than it does here.

This is not to say that economics is a fringe or even a soft science. While I'm not going to get into the relative hardness of different disciplines (always a waste of time), I will say that econ is a fascinating field full of smart people doing sound and important work.

My concerns are more cultural and meta. I'll try to come back and fill in some of the details later (I've got a lot on my plate now, if you'll pardon the pun), but just to paint it in broad strokes, these attitudes not only make economics look bad, they lead to all sorts of bad things like epicyclic modeling and, in the final stages, mathiness.

Which brings us to the double talk of Sid Caesar, the famous bits where he would seem to be speaking in various languages. The words were complete gibberish but by mimicking the inflection and rhythm (what he called the 'song') of each language, he could could create the impression of going from French to German to Russian and so on.

I realize Romer is making some bigger points here, but in at least one aspect, this reminds me of those Caesar routines. Instead of musical qualities, mathiness uses linguistic properties like vocabulary and syntax to create the impression of scientific reasoning. It is only when you pay attention that you realize nothing is being said.

Tuesday, May 19, 2015

The value(s) of a dollar

Joseph's recent post reminded me that there was an important point I should have emphasized more in the ongoing food and food security threads.

One of the main reasons social safety nets work is that, while the nominal value of money remains the same, the impact value (the difference in quality of life that a dollar makes) varies greatly from the top to the bottom of the income scale. For example, if you were in the top quartile, there is a very good chance that you would not even notice a $20 or $30 increase in your weekly food budget, while if you were in the bottom quartile, that same $20 or $30 could make a world of difference in terms of health and hunger. This is why a relatively small level of income redistribution can produce a substantial increase in aggregate quality of life.

This is also why the food stamp challenge and other similar initiatives can be so dangerous. The trouble with high-profile, upper-class activists trying to show how difficult it is to live on a program like food stamps is that these activists have fully internalized these upper-class perceptions of the impact value of money. They don't have the skill set to work with these small sums and they don't have the world view that allows them to understand their relative value.

Though the intentions are unquestionably good, the effect of these initiatives is to suggest incorrectly that these social safety net programs do little good and that incorrect belief can do a great deal of harm.

Notes on today's election

From KPCC (presented without comment):
The biggest spender in the LAUSD school board election is the California Charter Schools Association Advocates' PACs, which so far has spent $2.2 million. Their funds primarily support charter school executive Ref Rodriguez in the east Los Angeles' District 5 race and against incumbent Bennett Kayser, a charter school opponent.

"We are supportive of candidates who have got a vision of great public schools in Los Angeles, and we would like charters to be part of that solutions," said Gary Borden, executive director of CCSA Advocates.

Last year, the charter school PAC received donations from local philanthropist Eli Broad, Netflix CEO Reed Hastings and former New York City Mayor Michael Bloomberg.

The names of more recent donors aren't required to be disclosed just yet: California requires these types of PACs to publish contributors on a semi-annual  basis, often falling after Election Day.


Monday, May 18, 2015

Double Talk

Believe it or not, I am going to connect this to one of our threads.










From the Wikipedia page on Sid Caesar
Max and Ida Caesar ran a restaurant, a 24-hour luncheonette. By waiting on tables, their son learned to mimic the patois, rhythm and accents of the diverse clientele, a technique he termed double-talk, which he used throughout his career. He first tried double-talk with a group of Italians, his head barely reaching above the table. They enjoyed it so much that they sent him over to a group of Poles to repeat his native-sounding patter in Polish, and so on with Russians, Hungarians, Frenchmen, Spaniards, Lithuanians, and Bulgarians.
...
Of his double-talk routines, Carl Reiner said, "His ability to doubletalk every language known to man was impeccable," and during one performance Caesar imitated four different languages but with almost no real words. Despite his apparent fluency in many languages, Caesar could actually speak only English and Yiddish. In 2008, Caesar told a USA Today reporter, "Every language has its own music ... If you listen to a language for 15 minutes, you know the rhythm and song." Having developed this mimicry skill, he could create entire monologues using gibberish in numerous languages, as he did in a skit in which he played a German general.


Another post at the food blog

On nutritional requirements and on why people who write about food so often don't bother to research those requirements.

Why are these food stamp challengers so miserable? Because they don't know about Wikipedia.

Private property

This is Joseph.

One very important shift in modern thinking has been the notional of private property as an absolute and natural right, as opposed to a social convention.  I very much like David Hume's take on this issue:
Thus, “the rules of equity or justice [regarding property] depend entirely on the particular state and condition in which men are placed, and owe their origin and existence to that utility, which results to the public from their strict and regular observance” (Enquiry Concerning the Principles of Morals, 3).
In other words, property rights arise because they are useful and are an imposed social construct by a polity.  It is a measure of how incredibly successful that the modern state has been at protecting property rights that we see property rights as an innate right.

So why do I bring this up?

Mark has been talking about how to live on extremely small amounts of money.  But it is not necessary that resources be allocated in the way that they are.  In fact, it may well be the case that the wealthiest members of society benefit the most from the conventions and constructions of society.  I don't think attacking people for being selfish is ever productive,

But I do think it might be worth considering whether a new social contract can be developed that is not anti-statist.  Perhaps, instead, we could focus on efficient and effective government.  Or am I an idealist?

Saturday, May 16, 2015

Friday, May 15, 2015

Leave it to an Irishman like Pierce to throw in a puck goat


Charles Pierce continues to track the movements of Politico's Dylan Byers who continues not to get it.

Distressed at being outmaneuvered in this way, I wandered on over to the joint hosted by Dylan Byers, Tiger Beat On The Potomac's media "reporter." There, I found him where I'd left him back in 2012, lashed to the side of the white whale, andbeckoning for the Pequod's remaining whaleboats to continue the pursuit.
"[T]here are lots of reasons to worry about the state of the polling industry," Silver concluded, citing a range of factors. "There may be more difficult times ahead for the polling industry." This is quite a notable statement. The former New York Times statistician gained national fame for correctly anticipating the outcome of the 2008, 2010 and 2012 U.S. elections. He did this largely by understanding how to read the polls, and by knowing which polls were worth reading. (Never mind that he wasn't the only one. In fact, in 2012, the Daily Kos blogger Markos Moulitsas was more accurate than Silver in predicting the outcome of the 2012 electoral college. Needless to say, Moulitsas was not offered a high-paying job at ESPN.) If Silver is declaring that the world has a polling problem, and that there may be more difficult times ahead for the polling industry, what is Silver's added value in an election cycle? His ability to forecast elections is largely dependent on the accuracy of polling. Without that, what is his raison d'etre -- other than to point out how bad polling caused him to make inaccurate forecasts?
Oooooh, Nate. Burn'ch-ya! Can ya feeeeeel it?
Recall that Silver spent the end of the 2012 election cycle helping Byers look stupid in print. Byers, as is his custom, was the last one to get the joke. That Byers embarked on this doomed crusade as part of his other job as the sidewalk shill for MSNBC's ratings-challenged Morning Zoo Crew only made the whole thing more hilarious.
As Silver readily admits, the results in the UK elections on Thursday confounded his predictions -- andthose of everyone else, truth be told. His musings on the state of the polling industry are worth reading and considering as the election cycle over here grinds on. But there is one thing on which most polls agree -- having Dylan Byers question anyone else's professional raison d'etre is like subscribing to the classical music criticism of a puck goat.
Putting aside the childishness of his feud with Silver, this is yet another reminder that Byers still can't or won't face the central point.

All political journalists play the horse-race game. I personally don't see a great deal of value in this -- reporters telling voters who the reporters think the voters will vote for -- but Byers, the consummate establishment apologist, wouldn't go there at gunpoint. What Silver and company showed was that the kind of horse-race journalism Byers constantly defends is so devoid of value that labeling it 'news' borders on the fraudulent.

The Markos Moulitsas link is particularly rich. Here's what you see if you follow the link:

Math-based prognostication is superior to the old-school way of talking about gut feelings, or vibrations, or outright dishonest hackery.

Remember that Byers has emphatically thrown his support behind the old-school approach. Even those that Byers links to for support appear to think he's full of crap.

Thursday, May 14, 2015

Journalists can't shop (I was way too hard on Ron Shaich)

[Also posted at A Statistician Walks into a Grocery Store...]

We been down this road before, but this time it's going to be a bit bumpier.

A couple of years ago I criticized Panera Bread CEO Ron Shaich for the way he handled what we now call the "food stamp challenge." The intention with these efforts is always good – – bringing attention to the issue of food insecurity – – but almost invariably the people taking the challenge are so far removed from below-the-poverty-line conditions and so lacking in the necessary life skills that they make a complete hash of the attempt and end up misrepresenting the problem.

Shaich made errors largely of omission. Among other things, he skimped on high-protein foods that would've helped him stave off hunger. I am starting to feel a little bad about being so harsh in that case because I now see how much worse it could have been.

This Business Insider entry by Kathleen Elkins manages to demonstrate virtually every mistake you could make when trying to feed yourself on a tight budget, starting with where not to shop.
On Monday night I headed to the most affordable grocery store I could think of: Trader Joe's.

I was super conscious of sales as I wove through TJs, and the steals of the night included: sweet potatoes ($0.49 each), bananas ($0.19 each), and a 16-ounce bag of bowtie pasta ($0.99). 
As mentioned before, Trader Joe's is not a bargain grocery. The target demographic might be best described as budget-conscious foodie. If you're looking for imported, organic and (most importantly) prepared food, you will find some very reasonable options.



For the severely price-constrained, though, Trader Joe's shouldn't be your first or even second choice. Dried rice is only available in pricey varieties. Dried beans aren't available at all. Even the supposed "steals" of the night are available elsewhere at comparable or better prices.

But, even within the confines of this third-best choice, Many of Elkins' decisions were disastrous.

Red split lentils ($1.69)
Bowtie pasta ($0.99)
Can of garbanzo beans ($0.89)
Can of black beans ($0.89)
Butternut squash soup ($2.79)
Chunky peanut butter ($2.49)
8 corn tortillas ($1.99)
Half-gallon of almond milk ($2.99)
Dozen organic eggs, since the only remaining non-organic eggs were cracked ($3.99)
8-pack of maple and brown sugar oatmeal ($2.99)
7 bananas ($1.33)
Bag of spinach ($1.99)
1 yellow onion ($0.79)
3 sweet potatoes ($1.47)
Sea salt ($0.99)
One of the biggest mistakes I made was not buying butter or oil, essential cooking ingredients that I take for granted and therefore completely overlooked.

You'll also notice there is no coffee, a staple in my normal diet but one that would blow the budget.
There are a few reasonable choices here  -- the beans, the pasta, the bananas, the sweet potatoes -- but after that it gets ugly quickly. By my calculations and based on a couple of trips to Trader Joe's for research (with the caveat that some foods are cheaper in LA), more than half of Elkins' money went to purchases that were either bad or which could be replaced by much cheaper alternatives.

Elkins bought prepared food.


(You can make your own soup much cheaper and with less sodium)


She passed over frozen produce which was a fraction of the price of fresh.






She paid extra to make questionable nutritional choices. Keeping in mind that protein is our first priority and that a half gallon of milk costs $1.99 rather than $2.99, take a look at this:



Elkins would probably have been better off going for coffee instead of almond milk (she complained bitterly about caffeine withdrawal) and she would have had a dollar left over.



(Not the best deal on coffee, but certainly doable on the budget.)

Then there's $2.99 for an 8-pack of oatmeal. Here's how much oatmeal $2.50 gets me at the grocery store down the street.


Oatmeal is remarkably nutritious and a big bowl does an excellent job staving off hunger. At less than ten cents a serving, this is one of the places we want to indulge.

Even at Trader Joe's, Elkins could have done much better.




Like the oatmeal, the eggs Elkins bought are a good food at a very bad price. Non-organic are $1.99 at my Trader Joe's. That's a pretty good price per gram of protein but it's far from the best the store has to offer.




We're shooting for 50g a day. $4.00 worth of chicken goes a long way toward hitting that target. With a few other smarter choices (including more beans, more pasta, and, of course, no almond milk), she probably could have avoided the hunger pangs altogether.

Elkins' heart is in the right place and I appreciate her willingness to suffer for a story, but this is still bad and dangerous journalism. It misses the reality of poverty, it understates the effectiveness of an excellent program, and it can be more than a little insulting to those facing these challenges for real. Mary Elizabeth Williams put it best when writing about Gwyneth Paltrow’s SNAP Challenge for Salon:
And I’ve had an awful lot of conversations with people who think they’re being insightful when they declare that it turns out it’s really hard to get a job or to stretch a dollar. That it just can’t be done. Actually, guys, it’s hard for you to be poor. Lots of us are great at it. Lots of us do it every goddamn day.

Wednesday, May 13, 2015

It might not be a kangaroo at all; it could just be a really big mouse




More things I wish I had time to write about.

The feather, the bathroom scale, and the kangaroo



"And some analysts note that the company hasn’t articulated a clear plan on how it will profit from these videos."



How Click Farms Have Inflated Social Media Currency

This is what happens when companies are desperate to get in on the next big thing despite having no idea why it's important or how it works.

Tuesday, May 12, 2015

I've been watching the national press screw up Arkansas stories all my life

A few days ago, I linked to reports of an astroturf anti-marriage equality rally in Russellville that was countered by a couple of genuine grassroots pro-equality demonstrations. I mentioned that this was an important story that the national media was largely missing.

The press did, however, pick up on this superficially similar but  utterly meaningless story about Eureka Springs.

I have lots of fond memories of Eureka Springs but, as anyone familiar with the state can tell you, it is literally the least representative spot you could find.

In addition to being very small and isolated, the town has been home to countless fringe movements, religious, political, and medical, since at least the early 20th century. It is associated as much with hippies and UFO enthusiasts as with religious fundamentalist, and all of these groups have long since made their peace and united behind the common goal of getting money from tourists. There are numerous highly convincing indications that places like Arkansas are moving dramatically toward acceptance of marriage equality, but using Eureka Springs as an example of changing attitudes is like using Knott's Berry Farm as an example of modern agricultural practices.

Monday, May 11, 2015

Getting a handle on the food stamp discussion

[Crossposted at A Statistician Walks into a Grocery Store...]

I'm going to spend quite a bit of time over the next couple of weeks  talking about the price of food and about what it means to live on a food budget of less than thirty dollars a week. Before we can get very far with that discussion, however, we need to spend some time thinking about the metrics we want to track, the conditions we want to meet, and the properties we want to optimize some of the properties we need to see.

Here are the big four I would like to start with:

Protein – – extremely important and also the only completely objective item on the list. Any proposed diet must satisfy the heart condition of 50 g of protein a week.

Taste – – trying to save money by telling people to eat unappealing food is a false economy. This will lead to problems, particularly when asking people to budget their resources over the course of the week. Obviously, there's a big subjective component here but restaurants and food companies like Kraft have shown that it is a manageable problem, especially if we do a good job with the next item on the list...

Versatility – – we are interested here in variety not on the individual but on the aggregate level. For example, eggs make a good staple because, in addition to being a good source of low-cost protein, they can also be prepared in any number of ways. This is important not because an individual will necessarily want to have all of these different dishes, but because this variety increases the likelihood of our finding one or two dishes that the individual will like.

Satiation – – meals need to be filling and to alleviate hunger. This is largely a function of fiber and protein which is yet another reason why hitting that 50 g target is so important.

Clearly this is oversimplified but it does give us some kind of a framework to proceed. Now we need to address the central question, under what conditions is it possible to have a protein-rich, appealing, varied and filling diet for $28 a week?

Friday, May 8, 2015

Hey, buddy, can you spare a dime for a cup of coffee? -- no, really

[Previously posted at A Statistician Walks into a Grocery Store...]

We've previously talked about bloggers trying to live on a food stamp budget for a week (yeah, that's a thing). One of the many odd recurring elements of these post is a litany of complaints about life without caffeine because...
I had already understood that coffee, pistachios and granola, staples in my normal diet, would easily blow the weekly budget. 
Which is really weird because coffee isn't all that expensive..


That comes out to a nickel a cup. This might be underestimating the amount of coffee you'll need. Six ounces is a fairly small cup and I find the recommended dosages a bit weak. Let's make it eight to ten ounces and double the amount of coffee we use. That takes us to a dime.





Just to check our assumptions, this is very much a mid-range estimate. There are, of course, more expensive options but there are also cheaper choices. You get substantial savings by going to a large economy size or by going with a store brand or both.


On the other end, if you go to $0.15  or $0.20 a cup and you know how to shop, you can move up into some surprisingly high-quality whole bean coffee (which should not taste like they came from Starbucks, but that's a topic for another post). Eventually, of course, you will reach the point where this gets too expensive to justify on a limited budget -- this stuff can get appallingly expensive -- but you can do better than the typical cup of diner coffee for a dime and better than what you'd get from most coffee houses for a quarter.

To be clear, I'm not recommending that everyone rush out to Wal-Mart for a big ol' barrel of Great Value Classic Roast. If your weekly food budget is more than fifty dollars a week, bargain coffee should be near the bottom of your concerns.

What we're interested in here are perceptions. The people we discussed earlier suffered through a week of headaches and other caffeine-withdrawal pains, not because they couldn't afford it but because the belief that they couldn't afford it was so strong that it trumped the evidence before them.


Musical accompaniment for upcoming pasts on class tourism

Though it's not a big part of our thread, there is a potentially insensitive aspect to the live-on-food-stamps challenge. Sometimes the line between empathizing and patronizing can be rather thin. That got me thinking about class tourism which led immediately to the song "Common People."

In a 2012 question and answer session on BBC Radio 5 Live [Jarvis] Cocker said that he was having a conversation with the girl at the bar at college because he was attracted to her, although he found some aspects of her personality unpleasant. He remembered that at one point she had told him she "wanted to move to Hackney and live like 'the common people'".
I'm not crazy about the video but the tune is catchy and the lyrics...






Well, let's just say that the lyrics make up in emphasis what they might lack in subtlety.

I took her to a supermarket,
I don't know why,
But I had to start it somewhere,
So it started there.
I said pretend you've got no money,
She just laughed and said,
"Oh you're so funny."
I said "Yeah?
Well I can't see anyone else smiling in here.

...

But she didn't understand,
She just smiled and held my hand.
Rent a flat above a shop,
Cut your hair and get a job.
Smoke some fags and play some pool,
Pretend you never went to school.
But still you'll never get it right,
'Cause when you're laid in bed at night,
Watching roaches climb the wall,
If you called your Dad he could stop it all.

...

Sing along with the common people,
Sing along and it might just get you through.
Laugh along with the common people,
Laugh along even though they're laughing at you,
And the stupid things that you do.
Because you think that poor is cool.

...

'Cause everybody hates a tourist,
Especially one who thinks it's all such a laugh,