- add
type = "ability"
topredict.BTm()
to allow prediction of abilities in more complex models. - make
BTm
objects compatible withbroom::augment()
. anova.BTm
now respectstest
anddispersion
arguments for models that inherit fromglm
.- fix bug in
anova.BTmlist
affecting models where ability is modelled by predictors but ability is estimated separately for some players due to missing values. - fix bug in
glmmPQL
affecting models with.
in formula and either offset or weights specified.
- fix bug in setting contrasts in internal function
Diff()
that gave warning under R-devel. - update urls (using https where possible).
- fix a couple of
if
statements where argument could be > 1.
- fix bug in
qvcalc.BTabilities
- new examples of prediction added, including using
predict.BTm
to estimate abilities with non-player abilities set to non-zero values (for models with a fixed reference category). qvcalc.BTabilities
moved over from package qvcalc.- package imports rather than depends on lme4.
- default
level
inpredict.BTm
andpredict.glmmPQL
is 0 if a fixed effects model has been fitted, 1 otherwise.
-
BTabilities now works (again) for models where the reference category is not the first player. Players are kept in their original order (levels of
player1
andplayer2
), but the abilities are returned with the appropriate reference. -
BTabilities now works when ability is modelled by covariates and some parameters are inestimable (e.g. as in
chameleons.model
on?chameleons
). -
predict.BTglmmPQL
now works for models with inestimable parameters
BTabilities
now returnsNA
for unidentified abilities
- BTabilities now respects contrasts argument and contrasts attributes of
player1
andplayer2
factors. Also handle unidentified coefficients correctly.
- no longer imports from gnm, so gnm need not be installed.
- depends on lme4 (>=1.0).
- updated football data to include full 2011-12 season.
- added football example presented at useR! 2013 with generalised Davidson model for ties.
- renamed
glmmPQL
objectBTglmmPQL
to avoid conflict with lme4 (which loads MASS). - fixed
BTm
so that it is able to find variables when called inside another function (stackoverflow.com question 14911525).
- updated references and CITATION to cite JSS paper on BradleyTerry2
-
fixed
anova.BTmlist
to work for models with random effects -
allow models to be specified with no fixed effects
- updated vignette, including example of bias-reduction, a new example incorporating random effects and a new example on preparing data for use with package
-
fixed
offset
argument to work as documented -
corrected documentation for
citations
data
- updated vignette, to provide more explanation of setting up the data
- updated contact details
- added ice hockey example presented at useR! 2010
predict.BTm
now works for models with no random effects and handles new individuals with missing values in predictors.
- added predict method for BTm objects.
- fixed bug in
BTm.setup
causing problems in finding variables whenBTm
nested within another function.