match_win: Match Win Probability

View source: R/match_win.R

match_winR Documentation

Match Win Probability

Description

Match win probability given serve and return performance and assuming points in a match are i.i.d

Usage

match_win(serve, return, bestof3 = TRUE)

Arguments

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)

References

O'Malley, A. J. (2008). Probability formulas and statistical analysis in tennis. Journal of Quantitative Analysis in Sports, 4(2).

Examples

match_win(serve = 0.65, return = 0.20) # Best of 3
match_win(serve = 0.65, return = 0.20, bestof3 = F) # Best of 5

skoval/deuce documentation built on March 7, 2023, 2:39 p.m.