tennis.Rd
Match outcomes from repeated doubles tennis matches
data(tennis)
A hyper2 object corresponding to the match outcomes listed below.
There are four players, p1 to p4. These players play doubles tennis matches with the following results:
match | score |
{p1,p2} vs {p3,p4} | 9-2 |
{p1,p3} vs {p2,p4} | 4-4 |
{p1,p4} vs {p2,p3} | 6-7 |
{p1} vs {p3} | 10-14 |
{p2} vs {p3} | 12-14 |
{p1} vs {p4} | 10-14 |
{p2} vs {p4} | 11-10 |
{p3} vs {p4} | 13-13 |
It is suspected that p1 and p2 have some form of team cohesion and play better when paired than when either solo or with other players. As the scores show, each player and, apart from p1-p2, each doubles partnership, is of approximately the same strength.
Dataset tennis
gives the appropriate likelihood function for the
players' strengths; and dataset tennis_ghost
gives the
appropriate likelihood function if the extra strength due to team
cohesion of {p1,p2} is represented by a
ghost player.
These objects can be generated by running script
inst/tennis.Rmd
, which includes some further discussion and
technical documentation and creates file tennis.rda
which
resides in the data/
directory.
Doubles tennis matches at NOCS, Jan-May 2008
Robin K. S. Hankin (2010). “A Generalization of the Dirichlet Distribution”, Journal of Statistical Software, 33(11), 1-18
summary(tennis)
#> A hyper2 object of size 4.
#> pnames: p1 p2 p3 p4
#> Number of brackets: 11
#> Sum of powers: 0
#>
#> Table of bracket lengths:
#> 1 2 4
#> 4 6 1
#>
#> Table of powers:
#> -32 -24 -20 -19 -18 -17 9 20 23 37 41
#> 1 1 1 1 1 1 1 1 1 1 1
tennis |> psubs(c("Federer","Laver","Graf","Navratilova"))
#> log(Federer^20 * (Federer + Graf)^-20 * (Federer + Graf + Laver +
#> Navratilova)^-32 * (Federer + Laver)^9 * (Federer + Navratilova)^-18 *
#> Graf^41 * (Graf + Laver)^-19 * (Graf + Navratilova)^-24 * Laver^23 *
#> (Laver + Navratilova)^-17 * Navratilova^37)
## Following line commented out because it takes too long:
# specificp.gt.test(tennis_ghost,"G",0)