match_win | R Documentation |
Match win probability given serve and return performance and assuming points in a match are i.i.d
match_win(serve, return, bestof3 = TRUE)
serve |
probability that favored player wins a point on serve |
return |
probability that favored player wins a point on return |
bestof3 |
logical indicator whether best-of-3 match (TRUE) or best-of-5 (FALSE) |
O'Malley, A. J. (2008). Probability formulas and statistical analysis in tennis. Journal of Quantitative Analysis in Sports, 4(2).
match_win(serve = 0.65, return = 0.20) # Best of 3 match_win(serve = 0.65, return = 0.20, bestof3 = F) # Best of 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.