You are currently browsing Jonathan Weinstein’s articles.

Last night, with about 8 minutes to go in the Indiana-Miami NBA playoff game, Danny Granger for Indiana picked up his 5th foul. Loyal readers will know that I was rooting hard for Granger to be left in (especially since, like so many fans, I would like nothing better than for Miami’s stars to take their talents home for a long offseason.) This time, my hope was actually fulfilled as the coach did not substitute. Just when the evening appeared to be a triumph for rationality, announcer Mike Breen said “Well, you have to leave him in…it’s an elimination game” (meaning a loss would eliminate Indiana.) Now, finding inane comments by sportscasters is like shooting garrulous fish in a barrel, but I think there are some common and important fallacies at work here, so let’s dissect why Breen would have said what he did. As in most fallacious thinking, he was applying reasoning which would apply in closely related situations, but not here.

1. Desperate times call for desperate measures. In some situations, this intuition can be invaluable. If you are down 3 points with time expiring, you had better try a 3. But it only applies to the state of the series if decisions have spillover effects from game to game. Now if we were talking about players becoming injured, or extremely fatigued, there might be spillover effects to the next game, and then you actually should consider the state of the series. But not for fouls (in basketball, unlike soccer.) Unless your decision affects the next game, you play to maximize your chance of winning the current game, whether ahead or behind in the series. The proverbial “one game at a time” really does apply here.

2. Leaving a player in with 5 fouls is a risky move. It’s easy to think this way, but wrong. I won’t rehash my earlier post. Incidentally, the argument I posted here appeared (independently, apparently) in the book Scorecasting, an enjoyable compendium of insights that go against sports conventional wisdom.

I am a big fan of Paul Krugman, but I think he missed something important in today’s column.

First, let’s go back to November. In this blog post, Krugman pointed out correctly that it is silly to perceive an inconsistency or “hypocrisy” when wealthy individuals promote progressive taxation. If Warren Buffett believes that the good of the nation is against his self-interest, this is civic-minded unselfishness, the furthest thing from hypocrisy. Furthermore, the belief that the wealthy should pay more should never be confused with hatred of the wealthy, or self-hatred; one does not imply the other.

Today, Krugman points out a supposed contradiction between (a) conservative opposition to the social safety net and (b) the fact that social programs send more benefits to red states (which tend to be poorer) than blue states. What, conservatives can’t be civic-minded? Just as it is not inconsistent for Mr. Buffett to fail to volunteer higher tax payments, it is not inconsistent to accept benefits while believing they shouldn’t exist. If I find myself playing Monopoly with the horribly misguided house rule that money is placed under Free Parking, am I morally compelled to refuse the money, on the grounds that I believe with all my heart it shouldn’t be there? Clearly, no. It would be hypocritical to complain about other players’ accepting the Free Parking money while I do so myself, but not hypocritical to advocate that the rule itself be changed so that no one receives money including me.

(Side note: One shouldn’t actually conclude from a state-by-state correlation that the individuals receiving benefits are the ones opposing them. It is equally possible, based only on such data, that seeing one’s red-state neighbors receive benefits leads one to oppose them.)

Finally, while I think failing to note the analogy with his previous post was a big omission today, I do think that other evidence in the column tends to recover Krugman’s point. He wants to show that support for conservative austerity measures is based not on principle and willingness to fairly share sacrifice, but on perceived self-interest, which is in some cases misperceived. The column cites a study by Suzanne Mettler stating that over 40% of those receiving benefits from Social Security, unemployment and Medicare believe they “have not used a government program.” This does suggest the possibility that some conservatives are opposed to such programs only “for other people.” A lack of self-awareness can facilitate the cloaking of self-interest in a purported principled stand, which would indeed be hypocrisy. In contrast, Mr. Buffett could hardly miss the fact that a “Buffett tax” would fall heavily on him.

It is well-known that a non-linear transformation of a random variable does not transform the mean in an entirely straightforward way. That is, for a random variable X and function f, we can easily have E(f(X)) \neq f(E(X)). In our intro decision science courses, we call this the “flaw of averages,” a term coined by Sam Savage. See his book of that title for many examples of how one can, often inadvertently, fall into the false assumption that it suffices to replace a random variable by its average.

What if instead of the average, we talk about the mode, or most likely outcome? Denote this M(X). Surely, if f is a one-to-one function, the most likely value of f(X) must be f(M(X))? Amazingly, this can be false as well! It is much “closer to true,” in that it is true for all discrete distributions, but we run into trouble with continuous distributions. Here is an example:

Let X follow a standard normal distribution, and let Y=e^X. The distribution of Y is called “lognormal.” Here is a graph of its density:

Notice that while the standard normal distribution is peaked at 0, this distribution is not peaked at e^0=1! What is going on?

We can work this out with algebra and calculus, but here is a conceptual way of looking at it. The key is that probability densities differ fundamentally from probabilities, and the precise definition of the mode is different for continuous than discrete distributions. Saying that 0 is the “most likely” value for a standard normal variable X isn’t quite right. Any particular exact value, of course, has probability zero. What we really mean is that X is more likely to be near 0 than near any other value. Fine, so then why isn’t Y=e^X more likely to be near 1=exp(0) than any other value? Because the exponential transformation does funny things to “near.” Nearby values get stretched out more for larger X. So, while more realizations of X are near 0 than near -1, they are spread out more thinly when we exponentiate, so that the maximum density of Y occurs not at exp(0) but at exp(-1). It takes some algebra to find the exact value, but this argument makes it fairly clear it should be less than exp(0).

Why is this important? One reason is that in regression analysis we often use a model which predicts ln y rather than y. Then we need to convert the predicted value for ln y to a predicted value for y. It is well-known (and has been taught for years in our intro stats course) that if we are predicting the average y, it does not suffice to exponentiate; a correction must be made. But for predicting an individual observation of y, we all teach that no correction is necessary. It only occurred to me last week, after teaching the course for 6 years, that this is problematic if we seek the “most likely” value of y.

What is the resolution? First of all, there is no distortion for the median. If k is the point prediction for ln y, then we can conclude that y has a 50% chance of being above exp(k). So the method we have been teaching is a fine way to estimate the median value of y. Our lectures and textbook haven’t really said in precise language whether we are predicting a median or modal value, so I am glad to report we haven’t been teaching anything unambiguously wrong. Secondly, the problem goes away if we work with prediction intervals rather than single-value predictions, as we often encourage students to do. If we are 95% confident that ln y is in [a,b], we can certainly conclude that we are 95% confident y is in [e^a,e^b].

Most importantly, we should reinforce the lesson from the “flaw of averages” that any single number – mean, median or mode – is a poor summary of our knowledge of a random variable. This is especially true for a variable that is lognormal (or any asymmetric distribution) rather than normal, in which case all three values are usually different.

Postscript: To learn more about “the muddle of the mode,” here are two basic PhD-level exercises:

1. Show “Reverse Jensen’s inequality for modes”: If f is an increasing convex function, X is a continuous random variable, and both X and f(X) have a unique mode (point of maximum density), then mode(f(X)) <= f(mode(X)) . If f is strictly convex and X has continuously differentiable density, the inequality is strict.

2. (Based on a suggestion from Peter Klibanoff.) Let X have a continuously differentiable density and a unique mode, and Y=exp(X). Define the density of Y “on a multiplicative scale” by

g(y) = \lim_{\epsilon \rightarrow 0} P(Y \in [y,y(1+\epsilon)])/\epsilon

Show that g is maximized at exp(mode(X)). Note that the above formula is similar to the standard density, but with y(1+\epsilon) having replaced y + \epsilon. That is, if we consider Y to be measured on a multiplicative scale, with multiplicative errors, there is no distortion in the mode.

There are many ways to hold an election with more than two candidates. For most major elections in this country, we are stuck with perhaps the worst, the familiar plurality voting, in which each voter picks one candidate and the highest vote total wins. If you are unfamiliar with the deficiencies of plurality voting, one place to look is this excellent blog post, written by mathematician Tim Gowers in the context of Britain’s recent (sadly unsuccessful) referendum to change their system. If this seems like a mere technical issue, one should look here at a notorious historical election in which the winning party carried 33% of the vote.

Plurality voting is especially bad in a crowded field where no single candidate has strong support, as in the current Republican presidential primary race. We open our daily paper and see that Herman Cain is a front-runner with a whopping 25% of the vote, but cannot tell if he is the second choice or last choice of the other 75%. This surely has an impact on his chances of success, both as the primary field narrows and in the general election.

Now, changing an electoral system is a very difficult thing, not least because those in power got there via the current system. But what of polls? These do not suffer from any similar institutional inertia, and there is no monopoly on polls; Gallup, Rasmussen, etc. are each free to ask whatever questions they see fit. Surely we would get a better picture of the mood of the electorate by, at minimum, asking each pollee to approve/disapprove of each candidate, or, better still, rank each candidate on a numerical scale of 1 to 5 or 10, or simply rank all candidates in order of preference. No single method is perfect, so some variety might be ideal. Since polls have an impact on real elections, improving polls might reduce some of the idiosyncrasies that arise from plurality voting. Of course, it would also be the responsibility of attention-span-deficient news outlets to report not just the familiar plurality-based polls, but also those which give a more detailed picture of the electorate’s preferences.

In bargaining theory, a “disagreement point” or “threat point” is the policy which is implemented if no agreement is reached. Typically, it is bad for both sides, but may be worse for one. The disagreement point has a profound impact on the outcome of negotiations, even if it never comes to pass. (In theory-land, say in Nash or Rubinstein bargaining, there is never disagreement, but the threat of disagreement is a crucial determinant of the outcome.)

 

Obviously, in our government’s current situation, the disagreement point is a shutdown. TV pundits have been speculating for weeks about which side this hurts more. But this isn’t the only imaginable disagreement point. The system could decree that, say, last year’s budget gets extended automatically if no new budget is passed. This would drastically impact the negotiations (favoring the Democrats in this particular case.) My question to anyone who knows the history of government better than I do is: How did we come to have a system where the government shuts down unless a new budget is passed each year? And do other countries differ on this point?

This puzzle, which appeared on the blog associated with the cute webcomic xkcd, would make a good exercise in a game-theory course:

Alice secretly picks two different real numbers by an unknown process and puts them in two (abstract) envelopes.  Bob chooses one of the two envelopes randomly (with a fair coin toss), and shows you the number in that envelope.  You must now guess whether the number in the other, closed envelope is larger or smaller than the one you’ve seen.

Is there a strategy which gives you a better than 50% chance of guessing correctly, no matter what procedure Alice used to pick her numbers?

A good start is to notice that the possibility that Alice may randomize is a red herring. You need a strategy with a greater than 50% chance of winning against any pair she may choose. If you can do this, it takes care of her randomized strategies for free. (A familiar argument to those who enjoy computing values of zero-sum games.)

“Everything should be made as simple as possible, but no simpler.” – Einstein.

This is one of my favorite maxims. It is also a very difficult rule to follow, giving it a certain humor which was probably not lost on Einstein. How simple is too simple? Well, if adding just a little more detail reverses the analysis completely, it was too simple. Here’s an example from this weekend’s diversion, the NFL playoffs.

With 4:08 left in their game against the Packers, the Eagles faced 4th and goal, inches from the goal line. They trailed by 11. To win, they would either need to score a touchdown with two-point conversion and field goal (in either order), then win in overtime, or score two touchdowns. Eagles coach Andy Reid called timeout to think it over. What should he have done?

Announcer Troy Aikman argued that they should kick the field goal, saying that “you have to cut it to a one-possession game.” This is a classic example of what decision theorists call coarse decision-making. Aikman knows that it’s better to cut it to 5 or 3 than 8, but he simplifies the decision by considering 3, 5 and 8 to be similar to one another (in each case, one possession may suffice to tie or win) while they are very different from 11. Is his analysis good enough? No, it turns out he made it too simple, and in the wrong way.

Let me simplify it differently. I won’t even need the language of probability; I can put it purely in terms of verbal logic, perhaps a kind you could even explain on TV (almost). First, assume that if we score a touchdown now, the 2-point conversion will fail and the deficit will be 5 (this goes against the decision I’m advocating, so it’s an acceptable simplification.) Now, since we are going to be down at least 5, assume that we will get the ball back and score a touchdown; otherwise, our decision now is irrelevant. This makes it very easy to see which option is best right now:

 

If we kick a field goal, victory will depend on later converting the 2-pointer (from the 2-yard line), then winning in overtime.

If we go for it now, victory will depend only on making it now from inches away.

 

Would you rather try to score from 2 yards out for a tie, or try to score from inches away for a win? Looked at this way, it’s a total no-brainer. And of course, I ignored the fact that you might cut it to 3 if you score now, which gives you an even better chance to win. Andy Reid got this decision right (though one colleague, an Eagles fan, is harsh on him for needing a timeout to think about it, I find this forgivable.) The Eagles indeed scored a touchdown to cut the lead to 5, then were in position to go for the win later but were thwarted by an interception in the end zone.

What went wrong with Aikman’s simplification, or “coarsening”? One way to look at it is that he lumped the wrong scores together. His way of thinking comes very naturally, especially since one-possession vs. two-possession corresponds roughly to alive vs. dead, and this is how we tend to categorize probabilities. But in terms of win probability, an 8-point deficit is actually closer to 11 than it is to 5! If t is the probability of scoring a later touchdown, then if the deficit after this possession is

5, the probability of winning is t

8, the probability of winning is (roughly) .25t

11, the probability of winning is roughly 0.

This is based on a 50/50 chance at a two-point conversion (published figures vary) and a 50-50 chance at winning in overtime. These figures mean that it would be worthwhile to try for a touchdown even if it only worked 25% of the time (the actual figure is over 70%), and even if you never successfully cut the deficit to 3. It turns out it would be better to think of an 8-point deficit as “not quite dead” rather than “alive.”

This situation also relates to my previous entry “Risky Move.” In principle, all strategies are risky, and you should pick the one with the best chance of success. In practice, people think of the decision which resolves more of the uncertainty immediately as “risky,” and are biased against this decision. They sometimes then choose a slower, but more certain, death.

“Gifts! Especially, gift certificates!” sneered Ebenezer Scrooge. “A finer piece of humbug the world has never seen. Why, for no charge at all, they will convert my hard-earned cash to a card that can be redeemed at one store only. No doubt the store hopes the recipient will lose it. How generous!”

“But, Uncle Scrooge,” Fred explained patiently, “when I buy my wife a gift card for Havisham’s, her favorite fine clothing shop, I know that she will spend the money there, on something she will truly enjoy, when she would hesitate to indulge herself on a purchase made with money.”

“Are there no thrift shops? No doubt she could be attired comfortably enough for a few shillings at Nickleby’s without making herself a slave to fashion. And what, may I ask, does she get for you?”

“Well, for instance,” said Fred, “last year, Clara gave me a gift certificate for Copperfield’s Jewelers. I purchased this reliable timepiece there, when I might have allowed my punctuality to continue to suffer with my sad old pocket-watch if deciding on my own account.”

“A fine watch, nay, a fine waste indeed!” harrumphed Scrooge. “I do quite well with the old pocket-watch my grandfather gave me, fifty years ago, thank you – I wind it three times a day, and have never been late a minute in my life. Now, I suppose your gifts to one another were of equal value?”

“Yes, of course. Neither of us would wish to be less generous than the other.”

“Forgive an old money-lender his arithmetic,” Scrooge began craftily, “but I wish to ensure I understand this aright. You each gave the other a gift certificate for, I shudder to think it, five pounds?”

“That’s exactly it.”

“Bah, my clerk Cratchit and his large family live quite comfortably on five pounds a month, I am sure! You proceeded to use these certificates on goods which your natural sense of thrift and clear-headedness would have told you were mere frivolity?”

“Well, perhaps…”

“Young sir, my long experience in financial matters tells me exactly what you have here: a money-laundering scheme!”

“Uncle!”

“Protest if you will; there is no other word for it. The final outcome is no different from that if you had each spent your five pounds on goods for yourselves, goods which you yourself would describe as wanton indulgences. By funneling this same money into gift certificates ‘for each other,’ you believe you have cleansed the money of its sinful use, and cleansed yourselves of the sin of waste, turning it into a so-called generous impulse. You convince yourselves you are all such noble creatures while indulging your most frivolous desires. But old Scrooge knows a bit of laundering when he sees it! A fine humbug!” In making this triumphant proclamation, Scrooge experienced the one hollow sort of pleasure of which his small old heart was capable: pleasure in his own cleverness at unmasking those who pretended to be more generous than he, at revealing them to be just as self-interested as the old miser himself, as he always knew they must be.

Fred responded in measured tones, but to those who knew this most affable of gentlemen, the slight steel in his voice would have made it resound as though he used a tone of thunder. “Those of us who believe that to be truly human, one must be a social creature, are not so poor at arithmetic as you seem to think. Yes, a child can understand your argument that purchasing gift certificates is a senseless ritual. Though a ritual may have an arbitrary aspect, this does not make it senseless. When I buy my wife a gift, it causes me to consider what brings her joy, and to empathize with her pleasure at receiving it, and it causes her to think of me when she uses it. And so it is in reverse. Gift-giving may be a ritual, but it is a ritual that brings us closer together. Of course, enhancing our consideration of those closest to us is only the first step. A truer expression of the Christmas spirit is generosity towards those most in need. Those who love and feel loved, as you do not, poor sir, are more likely to be generous to the poor who share our city. Clara and I always plan our charitable work for the year during the Christmas season.”

“Charity, humbug. Making idle people merry is no virtue.”

“There are many other purposes of charity, Uncle, but at the risk of my immortal soul, I shall debate you on your own coldhearted terms. Your logic concerning gifts appears infallible, but you have made what my dear old professor of economic philosophy would call an implicit assumption, and a most unwarranted one.”

“Eh? What’s this?”

“Why Uncle, you have assumed that each of us makes the best possible spending decisions if left entirely to our own devices, in an entirely anti-social world. As you follow the markets, you know it has been a harder few winters than usual for all of us in London. We are all a bit chary of unnecessary spending.”

“Chary, yes, cautious, of course!” Scrooge interjected. “Cautious as well you should be, and not any less so because of a supposed ‘Christmas spirit.’”

“Caution is a fine thing, Uncle, but should it lead us to consume nothing beyond the bare essentials of life? Is it rational for all to live as you do, spurning all material comforts for an ever-growing pile of gold? I am sure you take no pleasure in the thought of leaving your gold to your unworthy next of kin, so perhaps you intend to be buried with it.”

“Bah, perhaps I do, what of it? De gustibus non est disputandum. By your own description, you are no better than I. You prefer ‘comforts’ – indulgences, I call them – I prefer to keep my gold. Simply spare me your pretense of a generous spirit!”

“For the moment, spiritual worth is not the issue. To the extent that decisions are a matter of taste, who is to say that the decisions Clara or I would make as individuals are superior to the decisions we make as a harmonious unit? That point aside,” Fred continued, cutting off the retort rapidly forming on his uncle’s lips, “here is one that even you will appreciate. My dear Prof. Senyek, who is literally generations ahead of his time, acquainted me with the paradox of thrift.”

“What paradox could there be concerning the virtue of thrift?”

“Well, Uncle, if a virtue is, as the noted Prussian Mr. Kant would have had it, that which makes for a good society if followed as a universal law, then thrift, particularly in these hard times, is no virtue.”

“I beg your pardon? You mean to say thrift is an especial virtue in hard times!”

“No. In hard times, if everyone saves more, our factories are under-utilized, and goods rot away on the shelves of stores. The factories and stores reduce their workforce, precious wages are missed, and the icy hand of thrift grips the city’s purse-strings still tighter.”

For the first time, Scrooge was without an immediate retort. Was it possible that his good-for-nothing nephew was teaching him, Scrooge, about practical matters? “Then,” he continued slowly, “if every household does as you do, and bypasses their natural thrift through your most ingenious scheme of gift-giving and supposed generosity, the downward spiral is halted. Stores fill their shelves in anticipation of a great December rush! Factories are employed above their usual capacity!”

With this, Scrooge sprang up with a most uncharacteristic energy, and reached for his hat and coat. “Wherever are you going, Uncle Scrooge?” asked an astonished Fred.

“My fine, dear, boy, I am a major shareholder in Harrod’s. I must tell them at once to redouble their Christmas display, and make sure their leaflets reach all neighborhoods, from the poor to the great. Most importantly, the leaflets must emphasize the noble virtues of ‘generosity’ and ‘Christmas spirit.’ An eminently valuable humbug! Thank you, dear boy! Merry Christmas!” Concluding with this most unlikely of salutations, Scrooge leapt out the door, and he could be heard repeating “Merry Christmas!” with great enthusiasm to all he encountered as he passed through the streets of the city.

Fred was left standing alone in Scrooge’s office, a bemused half-smile on his face. He reflected that in changing his uncle’s mind, he had done all that was humanly possible. Saving the old man’s hardened soul would truly require supernatural intervention.

I’ve been watching NFL football all my life, and endgame timeout-strategy (being susceptible to analysis by non-football people) has always attracted my attention, but there is one numerical quirk with big potential consequences which I only noticed this season. Consider this scenario:

Late in an NFL game, Team A has the ball and a small lead. Team B has 1 timeout left. Team A, on 1st down, runs it up the middle for no gain. The play ends (to be precise, the 40-second play clock is reset) with 2:43 remaining. What is Team B’s strategy?

The obvious thing is to call the timeout now; when it appears not to matter, I mostly see teams use their timeouts on early downs rather than later downs. But in this case, that would be an enormous mistake! Consider the very likely continuations:

Use timeout now:

2nd down: Play begins 2:43, ends 2:38. Clock ticks down to 2:00. Two-minute warning.

3rd down: Play begins 2:00, ends 1:55. Clock runs to 1:16.

4th down: Punt, snap at 1:16.

 

Save timeout:

2nd down: Play begins at 2:04, ends 1:59. Two-minute warning.

3rd down: Play begins 1:59, ends 1:54. Team B calls final timeout.

4th down: Punt, snap at 1:54.

 

Using the timeout early costs almost 40 seconds! It costs almost the full value of a timeout, because it removes all the power of the two-minute warning. I can’t actually cite a game from memory where someone screwed this up, but I don’t think I would have been alert to it until recently. Given that I’ve never heard this mentioned on TV, and given the general propensity of NFL coaches to screw up timeout strategy in more obvious ways, I would expect a high proportion of mistakes when this situation arises.

The bottom line: If the clock resets with roughly 2:41-2:49 remaining, don’t use your timeout now. Wait until after the two-minute mark, to make sure you get proper value from the two-minute warning. Note that in college football there is no two-minute warning, so this whole discussion is moot.

One tiny caveat: The recommended strategy does give Team A a free license to throw the ball on 2nd down, since an incomplete pass won’t matter. They might do so and get a first down, ending the game. But there is no way this possibility cancels out the huge time savings. Team A always has the option to throw it anyway, if they want to take the risk of leaving 40 extra seconds. That is, the waiting strategy is (almost) dominant.

 

 

This essay started as a short post responding to an article by Greg Mankiw and grew longer than I expected, so to avoid cluttering the blog I switched formats. As you might guess from the potpourri in the title, the essay is intended to be readable by a broad audience. The portions which discuss the use or misuse of economic theory in the tax debate are, it is my fond hope, of interest to economists and accessible to non-economists, as is Mankiw’s article. I began this last week, so it doesn’t refer directly to this week’s big news of the Great Tax Compromise of 2010, but the ongoing negotiations were a major motivation.

I hope this has been enough of a teaser for you to click here.

Join 45 other followers

Follow

Get every new post delivered to your Inbox.

Join 45 other followers