# WASP (cricket calculation tool)

Winning and Score Predictor (WASP) is a calculation tool used in cricket to predict scores and possible results of a limited overs match, e.g. One Day and Twenty 20 matches.

The prediction is based upon factors like the ease of scoring on the day according to the pitch, weather and boundary size. For the team batting first, it gives the prediction of the final total. For the team batting second, it gives the probability of the chasing team winning, although it does not just take the match situation into the equation. Predictions are based on the average team playing against the average team in those conditions.[1]

The models are based on a database of all non-shortened One Day International (ODI) matches and Twenty20 games played between top-eight countries since late 2006 (slightly further back for Twenty20 games). The batting-first model estimates the additional runs likely to be scored as a function of the number of balls and wickets remaining. The batting-second model estimates the probability of winning as a function of balls and wickets remaining, runs scored to date, and the target score. Projected score or required run-rate will not qualitatively show the real picture as they fail to take into the account the quality of the batting team and the quality of the bowling attack. WASP[2] is a very good quantitative parameter.[3]

## History

The WASP technique is a product of some extensive research from PhD graduate Dr Scott Brooker and his supervisor Dr Seamus Hogan at the University of Canterbury (UC) in Christchurch, New Zealand. They worked on this project for four years and started after they received a phone call from the university's economics department asking them to investigate alternatives to the Duckworth–Lewis method.[4]

WASP was first introduced by Sky Sport New Zealand in November 2012 during Auckland's HRV Cup Twenty20 game against Wellington.[5]

## Theory

The WASP system is grounded in the theory of dynamic programming. It looks at data from past matches and estimates the probability of runs and wickets in each game situation, and works backwards to calculate the total runs or probability of winning in any situation.

This is how Dr Seamus Hogan – one of the creators of WASP – described the system:

Let V(b,w) be the expected additional runs for the rest of the innings when b (legitimate) balls have been bowled and w wickets have been lost, and let r(b,w) and p(b,w) be, respectively, the estimated expected runs and the probability of a wicket on the next ball in that situation.

We can then write,

${\displaystyle V(b,w)=r(b,w)+p(b,w)V(b+1,w+1)+(1-p(b,w))V(b+1,w)}$

Since V(b*,w)=0 where b* equals the maximum number of legitimate deliveries allowed in the innings (300 in a 50 over game), we can solve the model backwards.

This means that the estimates for V(b,w) in rare situations depends only slightly on the estimated runs and probability of a wicket on that ball, and mostly on the values of V(b + 1,w) and V(b + 1,w + 1), which will be mostly determined by thick data points.

The batting second model is a bit more complicated, but uses essentially the same logic.[3]

## Drawbacks

If a batsman gets retired hurt, the model will not work well as it does not know the position in which the retired hurt batsman will come to bat again. This happened in a match between England and New Zealand,[6] as injured Martin Guptill came to the crease again in the ninth position and gave a staggering performance which is unusual for a ninth position batsman and helped his team to win the match.[7][8]

WASP also fails when a team beats the predicted score batting first, as was the case when Black Caps beat the predicted score at Otago University Oval of 270 in the fourth game of the seven-game series against Sri Lanka by a large margin, when Grant Elliott and Luke Ronchi set the record for their highest 6th wicket partnership to set a score of 360/5, at which case, runs per over rate will resume showing. The team batting second will not have WASP showing if the likelihood of winning falls below 5% before the 5th over. These reasons make this unpopular outside of Sky broadcasts. Two days later, due to a greener surface, the predicted score at the same ground drops to 257 at the start of the match, which Black Caps still went on to post a score of 315/8. After those matches, Sky abandoned showing this statistic in future matches, and it was not featured during 2015 Cricket World Cup. WASP, however, was featured again in NatWest T20 Blast, ODI and Twenty20 broadcasts in England.

## References

1. ^ "What's WASP all about?". Corporate News. New Zealand Cricket. 23 January 2014. Retrieved 21 May 2014.
2. ^ "What is wasp". ESPN Upcricinfo. Retrieved 2014-09-03.
3. ^ a b Hogan, Seamus (2012-11-22). "Offsetting Behaviour: Cricket and the Wasp: Shameless self promotion (Wonkish)". Offsettingbehaviour.blogspot.in. Retrieved 2014-02-03.
4. ^ Charley Mann (2012-04-28). "Cricket formula 'fairer'". The Press. Fairfax New Zealand Limited. Retrieved 2014-02-03.
5. ^ Banare, Abhijit (January 20, 2014). "WASP: Winning and Score Predictor makes for an interesting watch on television". CricketCountry. Retrieved 2014-02-03.
6. ^ "1st ODI: New Zealand v England at Hamilton, Feb 17, 2013 | Cricket Scorecard". ESPN Cricinfo. Retrieved 2014-02-03.
7. ^ Hogan, Seamus (2013-11-01). "Offsetting Behaviour: More Cricket: The Return of the Wasp". Retrieved 2014-02-03.
8. ^ Mike Selvey. "England beaten after injured Martin Guptill digs in for New Zealand | Sport". The Guardian. Retrieved 2014-02-03.