Sehwag versus Tendulkar

Though he hasn’t formally retired yet, given that he is hopelessly out of form, one can probably conclude that Virender Sehwag is unlikely to play for India again, and hence it is time to pay tribute.

I have developed a little visualization where I plot the trajectories of a batsman’s innings based on his past records. There are basically two plots – in the first, I track the expected number of runs he would have scored as a function of the number of balls he has faced. In the second, I plot the probability of the batsman still batting as a function of the number of balls faced.

I’ve created an interactive visualization using the Shiny Server plugin for R, on a little Digital Ocean server that I’ve leased. In this application, you can compare the innings trajectories of different players in different formats. I have taken my raw ball by ball data for this application from cricsheet and have analyzed and visualized the data using R.

Having built this “app”, I was playing around with random combinations of players and formats, and soon started comparing Sachin Tendulkar with Virender Sehwag. Medium-timers like me might remember that back when Sehwag started out in the early 2000s, he was called “the clone” for his batting style was extremely similar to that of Sachin Tendulkar. That they are both short and chubby also helped fuel this comparison. One thing that sets Sehwag apart, though, is his sheer pace of scoring, especially in Test matches.

So while playing around with the “app”, when I loaded Sehwag and Tendulkar together, I noticed one interesting thing – Sehwag in Test matches plays exactly like how Tendulkar plays in ODIs, and Sehwag in ODIs plays like Tendulkar does in T20s (data includes IPL  games). Check out the graphs for yourselves!

srtvssehwag1

srtvssehwag2

 

I’m not sure how much load my small server can take so I’m not putting the link to the app here. However, if you think you’ll find this interesting and will want to play with it, write to me and I’ll send you the link.

Gyaan From a Former All India Topper

CAT is less than a month away. Or more, depending on when you’re writing it. If any aspirants are reading this, I have just one piece of advice for you – which no one in any CAT Factory will give you. It’s about going for it. About batting like Sehwag. About reaching out far outside the off stump and playing every ball. I just want to assure you that percentages are in favour of this kind of a game.

In my zamaana, every correct answer in CAT gave you one mark, and every incorrect answer took away a third of a mark. Every question had four possible answers of which exactly one was correct. This negative marking had a completely psyching out effect on most takers, and people are afraid to go for it. And six years back, I liked it. For it made my own risk-taking strategy much easier – since I could now afford a larger number of errors.

The arithmetic is simple. Even if you have no clue about the question, and just put inky-pinky-ponky (or even better mark ‘C’, since years of research has proven that it’s the statistically most probable answer in CAT) you have one-fourth chance of getting it right – which gives a three-fourth probability of getting it wrong. And given the payoffs for correct and incorrect answers (1; -1/3) you can clearly see that the expected payoff of taking a completely random guess is ZERO!

So while this obviously rules out insane inky-pinky-ponkying, what it does tell you is that if you can eliminate at least one of the four choices, you are in the money! If you have to pick one of three possible answers, the expected payoff is 1/9 which is greater than zero. Yeah it doesn’t look very high but then the expected payoff is positive! So you need to go for it.

Back when I was in my 3rd year, there was some free mock CAT at IITM. And some of us 3rd years went just for the heck of it. I attemped 130 out of 150 questions, getting 90 right and 40 wrong. It still gave me a significantly higher score than any of my seniors (who were writing CAT that year) – most of whom attemped not more than seventy. Later that day a senior called me aside and told me that the art of CAT was about leaving questions. And that it was all about the questions that you left.

Leaving the ball makes sense in cricket where one mistake ends your innings. What if instead of ending your innings you were just deducted 2 runs everytime you got out? Would you still leave the balls outside off and play the waiting game? How on earth would you score runs if you were to leave every ball? It’s all about scoring, and you can score only if you attempt a shot.

I understand that CAT format has changed now and you have 5 possible correct answers for every question while the negatives are still at 1/3. Even then, if you can eliminate two out of the five answers (shouldn’t be too gouth), you have a positive payoff. And you must go for it. Keep in mind that you can’t score if you don’t play the ball.

I leave you with a video. The message is in the name of the song. Idu One Day Matchu Kano. This is a one day match dude. So you must go for every ball. And look to score.

Fighter Batsmen and Stud Bowlers

Insight of the day: Batting is inherently fighter and bowling is inherently stud. Of course there are severral stud batsmen (eg. Sehwag) and fighter bowlers (eg. Giles) but if you look at it broadly – a batsman needs to get it right every ball, while a bowler needs only one ball to succeed.

The fundamental idea is that bowling success can be more lumpy than batting success – for example the maximum that a batsman can do if he has one great over is to score 36 runs – whcih in the context of the average game won’t amount to much. However, if a bowler has one great over and picks up six wickets, the impact is tremendous.

The bowler can afford to be much more inconsistent than the batsman. He might get a few balls wrong, but he can suddenly make an impact on the game. For a batsman to have a significant impact, however, he should be able to carry it on for a significant amount of time. An “impulse”  (a large force acting for a small time period) will do the batting team no good, while it can be a tremendous boost for the bowling team. On the other hand, steady unimaginative play by the batsman is good enough, while a bowler needs to necessarily show patches of spectacularity to have an impact.

Hence, batting is fighter and bowling is stud.

However, what the advent of one day cricket has done is to invert this. By limiting the number of overs, and creating conditions where a team need not be bowled out, it has turned things upside down. Of course, a stud performance by a bowler (say a hat-trick) can have a significant impact on the game, but inconsistent and wayward bowling is likely to cost the bowling team significantly more than it does in Test cricket.

Similarly, with the game getting shorter, an impulse by the batsman (say a quick 40 by Sehwag) has a much larger impact on the game than it does in Test cricket. And on the other hand, dour batting  – which is so useful in Tests – may actually be a liability in ODIs. Similarly the mantra for bowlers has become containment, and thus fighterness in bowlers has a greater impact – and so people now do respect bowlers who can bowl long spells without taking wickets, but just containing.

Remember that even now, to succeed in Test cricket, you need to have the correct characteristic – Sehwag’s batting might appear stud and risky, but he has the ability to play really long innings which is why he is a really good Test batsman. If he didn’t have the “longevity gene”, he would’ve still remained a one-day wonder. Yes – now teams do pick a fourth bowler to do the “holding role” – keeping one end tight while others attack. Still, the holding guy needs to have some ability to pick up wickets by himself.

Preliminary reading on studs and fighters theory:

Studs and Fighters

Extending the studs and fighters theory