| baseball {hyper2} | R Documentation |
Baseball results, following Agresti
Description
Results from repeated games among seven baseball teams, following Agresti
Usage
data(baseball)
Format
A hyper2 object that gives a likelihood function
Details
Agresti discusses results from seven baseball teams in the 1987 season of the Eastern Division of the American League.
A results table and likelihood function is given in the package as
baseball_table and baseball respectively. The maximum
likelihood estimate is given as baseball_maxp, but can be
reproduced by maxp(baseball).
These objects can be generated by running script
inst/home_advantage.Rmd, which includes some further discussion
and technical documentation, and creates file baseball.rda which
resides in the data/ directory.
References
A. Agresti 2002. “Categorical data analysis”. John Wiley and Sons; p437
See Also
Examples
baseball_table
baseball_table[1:3,1:3]
home_away3(baseball_table[1:3,1:3],1.3)
[Package hyper2 version 3.1-0 Index]