Even among the many great allrounders who have played the game, Imran Khan stands out. He was the complete package: a technically sound batsman who could defend or attack as the situation demanded; an aggressive fast bowler who could swing and seam the new ball and the old one; and an inspirational captain who held the Pakistan team together by the sheer force of his personality and gave Pakistan their proudest moment in international cricket. Apart from Garry Sobers, his stats compare favourably with every other allrounder. Imran finished with a Test batting average of almost 38 and a bowling average of 23, and those numbers didn't flatter him, for he was as good as they suggest.

Perhaps where Imran stood out, even when compared to other great allrounders, was that at various times in his career his stats were among the world's best in both bowling and batting. Over his entire career, bowling was undoubtedly his stronger suit, but when a severe stress fracture in his shin forced him to restrict his bowling, he improved his batting so much that in his last five years in international cricket his batting average was among the highest in the world.

Imran began his Test career in England in the summer of 1971, but he established his credentials as a genuine Test player only in late 1976: first, he took 14 wickets in three home Tests against New Zealand, and then, on the tour to Australia later that season, he destroyed the home team in Sydney with a pair of six-wicket hauls, which gave him his first ten-for in Tests. It remains the best match figures by a Pakistan bowler in Australia. Riding on that momentum, Imran picked up 25 wickets in five Tests in the West Indies, and then matched up well against the big boys in two seasons of the World Series, again taking 25 wickets at an excellent average of 20.84. Despite all that success, though, his overall stats in the 1970s were quite modest when compared with what was to follow in the next decade.

In the 1980s, Imran was in his pomp, and he was easily among the top five players in the world during this period. Till the end of 1988, both his batting and his bowling were in fine fettle: he averaged almost 40 with the bat and less than 18 with the ball, numbers which indicate quite emphatically just how dominant he was. He was even more lethal in the 14 months between November 1981 and January 1983: in 16 Tests during this period he averaged almost 48 with the bat, and took 104 wickets at an incredible average of 14.87, with eight five-wicket hauls. India and Australia played six Tests each against Pakistan during this period, and both suffered extensively at the hands of Imran: he destroyed India's much-vaunted batting line-up with 40 wickets at 13.95, while Australia fared only slightly better, conceding 29 wickets to him at 16.65. Of the 11 Man-of-the-Match awards he won in his entire Test career, five came in a six-month period from August 1982 to January 1983. In the third Test of that series against India, Imran scored 117 in Pakistan's first innings and had match figures of 11 for 117, making him one of only two players - Ian Botham is the other - to score a century and take ten wickets in the same Test.

In his last three years in Test cricket Imran didn't bowl much, averaging only about 25 overs per Test, but his batting went to a new level altogether, as he went past 50 nine times in 20 innings.

In ODIs too, Imran's career followed a similar pattern: the 80s were his most prolific period with bat and ball, while in the last three years of his career his bowling took a back seat. His biggest ODI exploit was obviously leading Pakistan to the World Cup win in 1992, where his contribution extended beyond his inspirational leadership: his bowling wasn't a huge force, but with the bat his efforts at No.3 were key in the semi-final and the final, where his 72 was the highest score of the match.

While his best period in Test cricket was the 1982-83 season, in ODIs, quite surprisingly, his peak year was 1989. He played 26 matches that year, easily his highest in a calendar year, and shone with both bat and ball, scoring 793 runs at 46.64, and taking 29 wickets at 25.79. Of the 13 Man-of-the-Match awards he won in his entire ODI career, six came in that year alone.

During his peak years in Test cricket, Imran was easily the best allrounder among his peers. In the nine years between 1980 and 1988, his bowling average of 17.77 was almost 22 lesser than his batting average - the difference was clearly the best among those with 1500 runs and 100 wickets during this period. Hadlee's bowling performances were exceptional during this period, but he couldn't quite match up to Imran with the bat, while both Botham and Kapil had far lesser success with the ball.

In fact, extending this analysis to all Test cricket, only Sobers had a higher difference between batting and bowling averages (among those with at least 3000 runs and 200 wickets, and two wickets per Test). Jacques Kallis is the other allrounder who has more than 3000 runs and 200 wickets - and a huge difference between batting and bowling averages - but for much of his career Kallis has been a batsman who bowls a bit: his 266 wickets have come from 140 Tests, an average of less than two wickets per match.

In his pomp, not only was Imran the best allrounder, he was also the best bowler in the world. At a time when a connoisseur of fast bowling would have been spoilt for choice, for there were so many great ones going around, Imran was still the best of the lot with an average of 17.77 and a strike rate of less than 44 balls per wicket. Hadlee was next in line, with three West Indians following in their wake. The top six all averaged less than 25, which is also a telling commentary on the balance of power between bat and ball during that period.

What's more surprising, though, is the sort of numbers Imran racked up as a batsman when his glory days as a bowler were over. He was technically sound and could play with the straightest of bats, and when he worked on his patience and temperament, the result was a batsman who could play long innings and adapt his game according to the needs of the hour. In the last five years of his career, Imran averaged 59.69 in 28 Tests, and four of his six Test hundreds came during this period. Among those who scored at least 1500 runs during this period, only New Zealand's Martin Crowe had a better average.

Admittedly, the average was boosted by the number of not-outs he notched up - 11 in 37 innings - but that further illustrates how difficult he was to dismiss during the last years of his Test career. Even Javed Miandad had a lower average, though he scored almost 1000 more runs than Imran.

One of the highlights of Imran's career was his battles against the best team of his times, West Indies. As a batsman he wasn't as effective against them, but as a bowler he was superb, taking 80 wickets at 21.18. Comparing the stats of the four superstar allrounders of that era against West Indies, it's clear that three of them raised their games against them - Hadlee and Kapil too had terrific numbers against them - but the disappointment was Botham, who struggled with both bat and ball.

Perhaps even more impressive than his individual performances against West Indies was the manner in which Imran inspired his team to raise their level against them. He led them on three occasions versus West Indies between 1985 and 1990, and each series was a classic, with each team winning a Test every time. Imran the bowler was outstanding in two of those series, taking 18 wickets at 11.05 in 1986, and 23 wickets at 18.08 in 1988. During that period Pakistan was the only team to win more than one Test against West Indies. (In complete contrast, England won one and lost 11 Tests against them during this period.)

In fact, one of the stand-out aspects of Imran Khan was the manner in which he lifted his performances when he became captain: in the 48 Tests in which he led Pakistan he averaged 52.34 with the bat and 20.26 with the ball; in the 40 Tests in which he wasn't captain his batting average was 25.43 and his bowling average 25.53. Imran's batting average of 52.34 is among the highest by captains - only four have led in 40 or more Tests and averaged higher. Sunil Gavaskar and Allan Border were among those whose batting average as captain was lower than Imran's. Under him, Pakistan also won 14 Tests, which remains the joint-highest (along with Miandad) for Pakistan.

Imran's ODI numbers were pretty impressive too, though his bowling average of almost 27 didn't do complete justice to his skills. He averaged only slightly more than one wicket per match, but that was also because of the stress fracture, which severely curtailed his bowling. When on song, even the best of batsmen found him difficult to handle: in Sharjah in 1985, he destroyed the Indian batting line-up with figures of 6 for 14, though Pakistan ended up losing by 38 runs.

As a batsman, Imran was a terrific matchwinner: in matches that Pakistan won, he averaged almost 47, which was well above his overall batting average of 33.41. Among Pakistan's batsmen who scored at least 2000 runs in wins, only four have a higher average. Given that he was a man for the big occasions, it's hardly surprising that his World Cup stats are better than his overall career numbers: his only ODI century came in a World Cup game, against Sri Lanka in 1983, while he is one of only six bowlers to take 25 or more wickets at an average of less than 20.