Problem 56533. Cricket - You Miss, I Hit (Rank Bowlers by Proportion of Bowled and LBW Wickets)
Solution Stats
Problem Comments
-
3 Comments
The example is wrong, but the problem description is correct. We must not count the caught-and-bowled events, and probability can also be equal to the threshold despite the example.
Overall these problems are not hard, but they require close attention. And I recommend using tables; these problems are perfect for a DBMS lecture.
@Raphael: Thank you for catching that - I was tweaking the example and didn't update the image correctly. I have now.
To clarify: Raphael is correct that "caught and bowled" does *not* count to the "bowled" category. And yes, in the example, if Ned's second wicket was "bowled" or "lbw" instead of "caught and bowled", then he would have WWProp = 0.5 and should be included as the last row of the output table, having at least 2 wickets and a proportion of at least 0.5.
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
7295 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3169 Solvers
-
Back to basics 3 - Temp Directory
368 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
823 Solvers
-
1402 Solvers
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!