Friday, October 28, 2016

Reverse Engineering Airline Costs from Fares

I thought it would be good fun to do a scatter plot of flights with how much they cost vs how long they are. I did them in two groups of international and US domestic flights (about 20 each), getting the best fares 3 weeks out with Google Flights, and then got the linear equation that described them.

What it showed:

The Y-intercept for US flights was $92; that is, it costs you $92 to get on the plane, and then $32 for every hour you fly. So flying from one of the Norcal cities to San Diego (1.5 hrs) should be about $140. Checks out.

That $92 would be for maintenance and all the other fixed costs. Now, not including the TTD (through-the-door) cost, at a domestic rate of $32 for every hour you fly, you can figure out how much that balances against fuel costs. At a jet fuel cost of $5.02/gallon at the time of writing, and a 737 mid-air burn rate of 750 gallons per hour, a 737-MAX (200 passengers) that's less than two-thirds full will lose money just considering fuel costs alone. Including the TTD, they have to be only 15% full before it drops below that. Again, that's just fuel costs. Pilots and flight crew eat up money and that $92 might be better thought of as gate-time costs. Of course not everyone will get the good fare that I was using for my comparison, but the average fare certainly won't be double what I got here.

Interestingly, international flights showed a negative Y-intercept of -$12 - which initially I thought could represent a subsidy, but is essentially zero. Plus, then I noticed that the per-hour cost of flying is almost four times as expensive as the domestic numbers I had above. Of course long international flights aren't using 737s, and fuel is probably taxed more than in the U.S. but does this really work out to a factor of four? More than likely this is because most countries' airlines are heavily subsidized (and/or socialized), and even beyond that international route scheduling changes only very slowly and so often doesn't represent what the market would actually bear. For this reason, when I was traveling to Vancouver a lot I found it was worth both my time and money to fly to Seattle and drive, regardless of whether I was looking at American or Canadian airline prices.

Tuesday, October 25, 2016

Tepuys Are Cool

I have long been obsessed by Mount Roraima and tepuys, and it's easy to see why. (This is the second time I'm blogging about them.) They are a chain of sheer-walled flat-topped mountains jutting vertically a thousand meters from the Venezuelan and Brazilian jungle. Some of them are over a hundred miles from the closest road, but even if you could drive right up to the base of one of them, so what? Their isolation produces their alienness, with reproductive isolation producing bizarre frogs with long legs, carnivorous plants, and other evolutionary nonsense. The only communication between the summits and the surrounding jungle is by flying animals, and many of them were not reached by humans until the 60s and 70s with aircraft (or more recently by balloon in the movie Up.) Adding to this they also have deep sinkholes that are cut off even from the surrounding plateaus. The weather at the top is frigid, rarely breaking 10 degrees centigrade, making life hard for whatever jungle-adapted organisms find themselves stranded up there. Combine all this with the extreme weathering of the summit plateaus - they're two billion years old, with predictable bizarre rock formations and bedrock constantly swept clean of nutrients by daily rain - and you have the recipe for what is easily the strangest place on this planet.

Though normally I'm intrigued by trying to get to bizarre places, in this case I'm quite content to read about the mountain in biologists' reports. This report goes out of its way to warm about the rain and the damp, and I believe him - the few pictures I've seen of people at the top makes it look unpleasantly moist in all respects. This report is written in an inappropriately cheerful tone, given the description of inch-long ants eating their faces and flying beetles they mistook for birds.

Images 1, 2, and 5 from All That Is Interesting. 3 is from profanofeminino.com, 4 is from Wiki.








One can be forgiven for thinking that Roraima is a boundary not just for three countries, but for other dimensions.


I made it onto Boingboing with my other blog post for pointing out that these mountains clearly demonstrate we are in a simulation, and that the simulation is Minecraft.

Monday, October 24, 2016

Were There Demographic Triggers for the American Revolution?

I'd often been curious about whether there was a generational tipping point in colonial America that led the colonists to seek separation. In other words: was it just that by the 1770s, there were enough native-born Americans that at some point they were going to stop feeling close kinship with the mother country, and would find some flashpoint to use as a case for separation, taxes or otherwise? This is attractive because it gives us a number and can be simply modeled; you could see where a colony is on the "revolution curve".


DRIFTING APART

A case is often made that after the Seven Years War, the colonies began to view themselves as able to defend themselves, while resenting restrictions the Crown placed on territorial expansion. Once this change in perspective occurred, along with a land-owning elite that had been reading a lot of Enlightenment books, the clock was ticking. Is that it? Or was the clock ticking because of basic demographic factors?

The answer is: not obviously. In 1790 the proportion of immigrants in the colonies was, at absolute most, 24% of the total population. (This simple data is mostly from Wikipedia.) English immigrants, who might be more loyal to the Crown, not even 6% were born in England (if you include the rest of the British Isles, that comes up to 11%.) In fact, the actual numbers of people born outside the colonies must be much lower than this, since this number assumes that everyone who ever immigrated to the colonies was still alive in 1790, which is obviously nonsense, and immigration slowed down around the time of the Seven Years War. So, if there is a native:homeland ratio serving as a "demographic trigger" for separation, it's well below one-quarter and maybe even around 10%.

You might be thinking, "the colonists must have felt completely separate by 1775!" Not so fast. The timing is suspect. Of the native-born colonists in 1775, many if not most of them would be at least second-generation. I don't have the numbers to determine how many were second- and third-generation, but it seems unlikely that a third-generation person would (independent of other conditions) be that much more disconnected from the homeland than the second-generation one. More intuitively, the big break in attitudes about the homeland would come between the initial immigrants and their first-generation native-born offspring. So why is the grandson of the immigrant all of a sudden taking up arms, and not the son? Why the 25 year waiting period? What's more, by 1775 there's no clear evidence of consistent, quickly identifiable cultural differences (e.g. a distinct accent) that would mark people as having been born on one side or the other of the Atlantic and thus drive a sense of colonial identity.

Another question would be what percentage of native-born people held high positions in the various colonial governments? I don't have access to such data and don't know if it exists, but a review of the birthplace of colonial governors shows no clear trends across the colonies. Pennsylvania had a number of native-born governors until 1763, when again it was run by British-born officials; Massachusetts was run by native sons starting in 1757 until administration was given back to an English-born military officer in 1774.


RICH ENOUGH TO QUIT

Another possible contributor to the break: colonial merchants and landowners had accumulated enough capital by the 1770s that they felt strong enough to challenge the Crown, but again that's speculation. Per capita income was higher, and taxation lower in the Americas on the eve of the Revolution. This greater wealth may have been a two-fold cause of the split: the colonies felt strong enough to revolt, and the Crown couldn't resist the chance to increase taxes on its wealthy colonies to cover its debt after decades of war. Of course, as we already know, the most obvious and direct cause for the Revolution was taxation, starting with the Stamp Tax just 2 years after the Treaty of Paris.

If this is the case, we should see something similar occurring in other British colonies as they become wealthier. We do suffer from a paucity of examples, but there has been one (and only one) other example of a revolt in an ethnic-majority-Anglo British colony that turned into a shooting war, the mystifyingly forgotten Canadian uprisings of 1837. I can't find data for per capita income at that time, or for that matter native:homeland ratio. In any event the revolt was not well-subscribed and was quickly put down, by a colonial government that also was interested in compromise in a way that they had not been 60 years earlier with the older colonies.

Moving out of the Anglophone world, it should also be pointed out that Mexico had been settled by Spain started in the early 1500s, and only revolted in 1810, undergoing this process almost a century and a half slower than the United States. (Arguably they only did so because of the external trigger of the Napoleonic Wars.) Given the much greater genetic and cultural admixture of natives with colonists in Mexico, it seems that national identity is not as important, though this could be confounded by an elite of greater European descent (still visible in Mexico today) that identifies more with Spain that the people and land around them.


BOTTOM LINE

I don't have enough data to make a revolution curve, but there are some qualitative statements I can make with moderate confidence. Chiefly, if you're going to govern people badly, and they're accumulating wealth and far away, you're not going to be governing them for long. And, "warm" cultural ties in the form of lots of people from the homeland living in the colonies seem not to be as important.