Wednesday, November 18, 2009

Buridan's Ass

I didnt know that donkeys had any analytical skills until I heard about Buridan's ass, which refers to a philosophical paradox. It states that a donkey placed exactly between two stacks of hay of equal size and quality will continuously evaluate its options and ultimately starve to death. That reminds me of computers running into infinite loops, but it also happens to us on several occasions. Only, we use the more acceptable euphemism of analysis paralysis. Now, more than ever, we are susceptible to this lunacy.

Every time I go shopping, I feel like an ass myself. The men's section usually spans an entire floor, and it sounds mighty stupid to pick up the first shirt I like without checking what else is out there. But by the time I have surveyed the entire section, I am only more confused. And its too late now to simply pick up my first choice because choice is always relative and never absolute. So I am running 2x2 matrices in my head comparing looks, price, brands and what not. And a clear winner is extremely rare. In the best case, I am too confused to choose so I drop everything and walk out of the store. Worst case, I pick up something as a compromise and then keep second guessing my choice until I reach home.

The proliferation of shopping malls and supermarkets has made matters worse. Not only do we have more choices for what we need (toothpaste, soap etc), we are also introduced to newer stuff that we dont need. So the process of buying has become inefficient and, more often than not, we buy stuff only to regret later. I remember the days when grocery shopping simply meant going to the neighborhood kirana store with a list of items - toothpaste, refined oil etc. Brands were mentioned sometimes, not out of loyalty but convenience, for a brand name always represented the category - Sunsilk meant shampoo and Surf meant detergent. Neither did the storeowner have the shelf space to stock multiple brands nor was the consumer adventurous enough to try something new. But the best part was the efficiency - it took hardly 10 minutes to buy provisions for the month despite having to manually add up the purchases. Sometimes, I had to wait an additional 5 or 10 minutes because of the rush, and that felt like an eternity. Now, I dont even blink after spending 5 hours at a Big Bazaar.

Tuesday, November 17, 2009

Domestic Terrorism

The recent shooting rampage in Texas by an army psychiatrist has complicated matters for the US. It was a simple open and shut case if the gunman was a Hispanic, European or a South East Asian. But he turned out to be a Muslim. Even then, had he refrained from taking the name of Allah, as some reports suggest, the matter could be conveniently sidelined. But the combination of these two facts poses a question that cannot be avoided: Was the Texas firing an act of terrorism? Apparently, there is now evidence that the gunman was in contact with an individual sympathetic to Al Qaeda. That may not mean much, but it is hard to ignore that the US Army, supposedly the mightiest in the world, has just been shown to be vulnerable.

Now this is precisely the problem India has faced since Independence. A small minority of our population has perpetrated terror attacks on our soil. Inevitably, they owe allegiance to Pakistan and happen to be Muslims. To separate the criminals from the innocent majority is no mean feat, and we have failed horribly. And as support, the US has offered nothing more than platitudes such as India being an important ally in the war against terror. The US had no idea how difficult it is to tackle domestic terrorism. Until now.

When you are attacked by foreign forces, the enemy is clear (not necessarily easy) and you can kindle the spirit of unity and patriotism and get into a war. But when attacked internally, you dont know who the enemy is. Where do you start?

It will be interesting to see what the US does now. I doubt if they will let this pass as a one-off incident. But then there is no way the US can create two classes of citizens based on religion - that will be a slap on the face of American values. Neither can it afford to assume that all US citizens are beyond doubt. The current case of David Headley is an example. Even pulling up Asians for additional security checks post-9/11 caused a huge backlash against "racial profiling".

One thing is certain. Whatever measures are adopted, we wont know the complete details. The American intelligence agencies are good at these things.

Friday, November 13, 2009

The Utility of Probability

We intuitively understand probability, but its application is incredibly complex. For the record, probability is defined as the likelihood of an event occurring, expressed in % terms. Textbook explanations talk of rolling a dice and predicting the chance of getting a 6. These are benign experiments with results of little consequence. But when probability is applied to real events, interesting, if slightly unnerving, possibilities emerge.

Let’s take power cuts as an example. In most Indian metros, we are used to 24-hour power, but there is always a probability of grid failures that will cause a blackout. I don’t think even power equipment manufacturers provide 100% uptime guarantee, although the probability of failure is extremely low. So if we didn’t have any grid failures in the last five years, the probability of such failure increases with each additional day. Yet, the way we look at it, if something hasn’t failed in the last five years, it probably won’t in the future.

This paradox is explained to an extent by the framing of the situation. Underlying every probability data is the assumption of a very large number of observations. We think five years is large enough, when apparently it is not, as is seen from the recent crisis. If property prices are rising over the last few years, it is probably time for a correction, but we believe otherwise. However, we do grasp probability pretty well in other areas. For example, when a batsman hits a century, we expect that he will soon get out. We know scores above 150 are very rare. (Why so many batsmen get out between 100 and 150 is another question altogether.) In a game of cricket, with a definite start and end, we can easily imagine possibilities and compute probabilities. But in life, defining a start and end period is easier said than done.

We shouldn’t feel too sorry for the theory itself is weirdly structured. It says, for example, that the probability of getting heads or tails when tossing a “fair coin” is 50% when the experiment is repeated a large number of times. So if I take a random coin, what’s the probability of heads? This dilemma is beautifully captured in one of my favorite Jay Leno punch lines, “George Bush’s popularity rating hit a low of 25%, which means, now only one in four people support his presidency. So when the President is having dinner with his wife and two daughters, he is the only one that thinks he is doing a good job.” The second statement logically flows from the first one, but one can immediately see the fallacy. So if autism affects 1 in 10 children, we know there is no way to rule out our kid by gathering a group of 10 children. The statistic is chilling, but it has no practical utility, which leads us to believe that our child is not the “1”, resulting in complacency and complications.

So what to do with probability data? One could argue that we should strive to minimize the probability of adverse events (or failures). For example, the probability of traffic snarls can be minimized through electronic monitoring of traffic patterns and adjusting the timing of signals or diverting traffic through alternate routes. This will work, and brilliantly so, but here’s the problem. Once these things work on a consistent basis, we assume that they will never fail. So when they do fail for whatever reason, we are caught unawares. And my uneducated opinion is that as we keep minimizing the probability of failure, the magnitude of failure goes on increasing. If the traffic signals were coordinated and centrally controlled, a break down will result in unmanageable chaos. And with every day such a system works brilliantly, the probability of failure, infinitesimal as it may be, keeps mounting. But a high probability doesn’t mean the event will occur:)

Tuesday, November 10, 2009

The Consequences of Drunk Driving

We have seen several cases of negligent or drunk drivers losing control of their vehicles and running over pedestrians. In some cases, such as the recent one in Noida, the consequences are fatal. The outrage against the offenders is understandable, but the saddening outcomes prevent us from making an objective assessment.

First, one would say hit-and-runs must be punished severely for it shows utter disregard to the life of a fellow human being. But if you drive on Indian roads, you very well know the fate that awaits you should you stop to check on the victim. A mob quickly gathers and you are the target of all their pent up frustration. In several cases, mob assaults have caused deaths too. Can one really blame the driver for fleeing the crime scene?

On the question of negligent and drunk driving, there is no dispute that such offenders must be severely punished. But the most stringent penalty for such an offence is probably to revoke their driver’s license and levy a huge monetary fine, and possibly a few days in prison. Were the offence of rash/drunk driving committed in the day during heavy traffic, it could be argued that the driver put lives of fellow commuters at risk, and a more stringent penalty is required – possibly charging with intent to murder or something like that. But during the night, when the roads are deserted, is rash driving so bad? It is understandable that the victims and their survivors, and even the general public, will be in no mood to consider this. A life has been lost, and that implies the offender must be tried for murder.

Of course, the law makes a difference between murder and manslaughter. Murder implies premeditated killing whereas manslaughter denotes no prior intent. But even a manslaughter charge is harsh from the offenders’ perspective. You are returning from a late-night party with a nice buzz when you see a deserted patch of road and decide to let it go. The worst you expect is to crash against the pavement. Imagine your shock when you hit the pavement only to realize you have just crushed three people sleeping there.

My point is that harsh punishments in individual cases won’t change anything beyond providing emotional relief to the victims and survivors. The underlying risk of recurrence remains. The solution must be to create a strong disincentive against rash and drunk driving. And there must be an equally strong disincentive against squatting/occupying pavements and roadsides. I realize both are easier said than done, but the risks are worrisome if not addressed. If you drive on a regular basis, you know the feeling when you watch pedestrians crossing the road with no regard to the oncoming traffic.

Thursday, November 5, 2009

LCDs and DTH

Flat screen LCD TVs are probably the most sought after gadget today. But their ads are beyond my comprehension. What's the point of showing attributes of clarity, fidelity etc on regular TVs? The Samsung ad, for example, shows a football game is immaculate detail - the emotion on the players' faces, sweat trickling off their bodies, the giant-sized football. Well, if I can see all this clearly in my 21", what's the point of getting an LCD TV?

Same goes for DTH ads that purpotedly claim to have better quality. I think Airtel has Saif watching a football game - half the screen is blurred to represent regular cable and other is bright to represent Airtel signal!! I feel insulted watching these ads. The BIG TV ad is much better. A wife is talking about the husband's excitement at purchasing an LCD TV followed by his disappointment when he saw much better picture quality at his friend's place. Apparently, BIG TV makes the difference, but in doing so the message conveyed is also that you only need such a connection if you have an LCD TV. Chances are, if you have an LCD TV, you are on DTH already and the switching costs are not negligible.

Sun DTH has found the right formula in my mind - the price. When one has to switch from a Rs. 300/mo cable connection, the biggest resistance is in the cost. Yes, there is a segment that wouldnt mind paying a premium for better quality, but I doubt if there is such a perceptible difference between the providers there. Tata is even smarter. They only advertise Tata SKY+ which is the premium offering that comes with a DVR. The ads are exciting but most people would balk at the high price. Oh no problem, sir, we have a cheaper option without the DVR. Bingo!