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.