Wednesday, November 28, 2018

Honey Baked Ham arbitrage

I stood in line in the rain for 2.5 hours at 7 a.m. the day before Thanksgiving for a Honey Baked Ham.

I chit-chatted with the people around me in line. We saw someone who had arrived much earlier load her ham into her car. I pointed out that I could have made that person an offer, which elicited some chuckles.

But I failed as a true student of Coase by not realizing until afterwards the possibility that I could have bought four hams and sold three of them to people at the end of the line. Woof!

Thursday, November 6, 2014

Infinite Jest vs. Technology

David Foster Wallace's magnus opus Infinite Jest is in many ways difficult for the sake of being difficult. It seems like a practical joke on the reader: 1,100 pages, 100 of which are small-point endnotes; jarring changes in writing style; non-linear narrative; dozens and dozens of characters; and jargon from myriad fields. One reader suggests to use three bookmarks or perhaps even tear the book in half for easier transport.

Reading has changed in subtle ways since the book's release in 1996, giving us new tools to eliminate some of the drudgery:

1) Newer Kindles can overlay the endnote right on top of the page you're reading, while older ones can seamlessly jump from endnote to main text in a tap
2) The Kindle can render the originally tiny endnote font into whatever size you'd like.
3) The Kindle can instantly define the tough words, though it can't help with the invented jargon or acronyms.
4) The web offers tons of guides. I have bookmarked chapter summaries, the chronology of Subsidized Time, and a list of characters. I can also Google random things I'm wondering about. It's easy to forget that not long ago, it was impossible to get this information instantly.

All of this has made Jest an easier task. Is that good or bad?

Thursday, June 26, 2014

Bases in Baseball

First base

This is the most important one. Outs are baseball's currency, so getting on first any way you can goes a long way toward your team's success (as Billy Beane's A's famously exploited). Reaching first base prolongs the inning, tires out the pitcher, potentially allows earlier runners to advance, and represents a potential run based on how the following batters fare.

However, the team still has a long way to go to cash in the runner, needing either a well-placed extra-base hit or two or more of a single, a walk, a stolen base, a passed ball, or a wild pitch. Additionally, the runner is in constant jeopardy of being part of a double play on a ground ball.

Second base

Second base is squarely in scoring position, where most singles will score the runner.

A team with a runner on second and no outs can attempt to play small ball: sacrificing most of their potential for the inning in exchange for a reasonable shot of scoring a single run. This is accomplished by bunting, hitting ground balls behind the runner, or hitting sacrifice flies.

The runner is no longer much of a threat to be doubled off, aside from force outs at third, line-drive outs, or base-running blunders.

Second base's position on the field affects many things: It's the closest base to the outfielders who are returning batted balls to the infield. It's the hardest base to advance to on a fly ball (runners usually err on the side of returning to first on fly balls). It's the easiest to steal, given that the catcher has to throw roughly 127 feet, as opposed to 90 feet to the corner bases.

Getting there via the steal is a nice bonus, but you need to convert some huge percentage to make stealing a good strategy (I've discussed this in the past); the incremental base benefits the team much less than the cost of potentially turning a runner into an out.

Third base

There's an old baseball adage saying "Never make the first or third out at third base." The marginal benefit of third base over second is the smallest of any advancement.

Under the first scenario, a runner staying at second with no outs can often be converted into a run using small ball (as discussed above).

Under the second scenario, there aren't enough incremental ways to score from third with two outs over ways you would have still scored from second. Balls in play that could advance runners simply end the inning instead. However, there are a few extra ways to score from third, such as passed balls, wild pitches, or even stealing home.

Wednesday, June 25, 2014

Is a Long, Smooth Commute Better Than a Short, Frustrating One?

When I lived in Virginia, I had a 6-mile, 30-minute commute down the two-lane Interstate 66, characterized by riding the brakes and inching along. Now in the Bay Area, when I'm not taking advantage of the techno-elite bus, my drive is 50 miles down Interstate 280. No matter when you leave, you can usually find enough space to go over the speed limit, so you're constantly making good progress. Still, since it's so far, it's about double my previous commute time. Yet I am finding myself less annoyed with the new one.

This recalls the peak-end rule discussed in Thinking, Fast and Slow. The intro from Wikipedia is spot on:

The Peak-End rule is a theory that describes how humans hedonically evaluate past experiences. This heuristic process leads people to judge an experience by its most intense point and its end, as opposed to the total sum or average of every moment of the experience. It occurs regardless of whether a ‘peak’ is pleasant or unpleasant, and regardless of the duration of the experience.

I know intellectually that an hour commuting is longer than half an hour, but the objective experience is much better. My new commute is not punctuated by any frustrating moments, unlike my life in congested Northern Virginia. If anything, it's kind of awesome to be driving 75-80 mph at 8 a.m. on a major freeway.

Tuesday, April 22, 2014

Tell Me Again How Biased We Are

I've just started reading The Information Diet, which compares how we consume information to how we eat. Just as people are growing more obese while loading up on cheap, calorie-filled snacks, we prefer to consume information that we deem more tasty: the type that conforms with our previously held beliefs. Fox News and MSNBC dominate the ratings by appealing to the respective right and left of the political spectrum, while the more unbiased CNN drags behind.

Of course, the thought occurred to me that I would like this book, given how much I think about how arbitrary decision making is and how terrible humans are at looking at things objectively. I don't often seek out books talking about how rational we are.

Friday, April 18, 2014

Coin Appears to Be Headed toward Failure

Remember Coin? They caused a stir last year with a video about how their device could replace all of your wallet's credit cards. You could bring the George Costanza wallet into the digital age.

Reading over the FAQ section, either the company is running out of money or has a fundamentally flawed understanding of how customers behave. Companies that can appease customers' risk aversion can go far; look at how reassuring Zappos's return policy is.

I've launched a pretend conversation below.

FAQ section: How much does a Coin cost? Each Coin costs $100. For you early adopters there is a very limited quantity that can be purchased for $50.

Risk-averse consumer: I have the choice of buying now and getting an as-yet unfinished product at an unknown time, or waiting and feeling a loss of paying nearly double.

FAQ: How many cards can a Coin hold? A. The Coin mobile app can store an unlimited number of cards, however, a Coin can hold up to 8 cards at a time.

RAC: I'm probably one of the 90+% of people who can get by with only eight cards, but this limit is freaking me out! I hate this just like how I hate cellphone companies limit my monthly data usage, and how I worried about my download limit with my cable provider until they caved.

FAQ: Why do I have to buy a new Coin when my battery runs out? A. Coin is the size of a typical credit card and we were not able to fit a replaceable battery nor recharging components into this form factor. Coin is an electronic device, not a plastic card. We must charge for each device to cover the costs of research and development, manufacturing, and support.

RAC: This is another thing for me to stress about. Why won't you let me charge it? How can I believe your claims about the typical battery life? What if it runs out at an inopportune time (after all, I will have left all of my other cards at home and have no way to settle my bill)? Can't this come with some sort of warranty? I would feel terrible about buying something that I already bought.

FAQ: How do I get help or support? A. Please email us at help@onlycoin.com. We currently only offer email support. Our support hours are 8 am-5 pm PT Monday-Friday.

RAC: That sounds vaguely uninspiring.

Thursday, April 17, 2014

Is It Worth Risking the Caltrain Fine Instead of Buying a Ticket?

I take the techno-elite bus to work (you know, those ones that are becoming increasingly popular with the locals). Since the bus only leaves / departs once per day, I occasionally take Caltrain for one leg of the journey.

Caltrain is a proof-of-payment system. You can simply waltz onto the train without paying, but the conductor issues stern warnings that Caltrain retains the right to check your ticket and issue fines.

Should you actually buy a ticket? To the economically trained, this becomes an intriguing empirical question, solved by the expected-value equation.

Using my Clipper stored-valued card, I ride three zones, which costs $6.75 (see full fare chart). Getting an estimate on the fine is a little tougher. A Yelp post from 2007 says the fine is $300, while another blogger who asked himself this same question in 2012 cites $250. Let's go with the $250 number, since it's more recent, and it can bias my answer toward "you should not pay" (the outcome that all economists are secretly rooting for).

The equation would be as follows: 250x = 6.75, where x is the percentage chance that they'll check my ticket. Turns out that if tickets are checked any more frequently than 2.7% of the time,  you should buy a ticket. Things actually are a bit worse than that, as this equation doesn't factor in the shame you may feel if the conductor yells at you, the anxiety you may feel worrying about whether tickets are checked, or the hassle of physically paying the fine. On the flip side, maybe you could contest the assumption that you'll have to pay 100% of the time when they find you without a ticket, depending upon how good you at sweet-talking or claiming to be a clueless tourist. My wife's cousin also suggests that the "the machine wasn't working for me" excuse might work better if you actually have a Clipper card in your pocket instead of arguing that you were trying to buy a paper ticket but failed.

How often does Caltrain check tickets? Estimates vary widely: I have ridden Caltrain from Millbrae to San Jose or vice versa 10 times and have yet to be checked. My wife's cousin estimates that tickets are checked 1 in 6 times. The aforementioned blogger experienced checks on 45% of his rides in 2012.

Even though I've yet to see a Caltrain ticket check myself, I have to put my Bayesian reasoning to work here and assume the true rate is at least 2.7%. So while I can't squeeze any gains out of a government agency this time, at least I had fun trying.