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
-
3662 Solvers
-
2924 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1820 Solvers
-
961 Solvers
-
Matrix multiplication across rows
329 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!