eagles.RdKnight and Skagen collected during a field study on the foraging behaviour of wintering Bald Eagles in Washington State, USA data concerning 160 attempts by one (pirating) Bald Eagle to steal a chum salmon from another (feeding) Bald Eagle.
eaglesThe eagles data frame has 8 rows and 5 columns.
yNumber of successful attempts.
nTotal number of attempts.
PSize of pirating eagle (L = large, S = small).
AAge of pirating eagle (I = immature, A = adult).
VSize of victim eagle (L = large, S = small).
Knight, R. L. and Skagen, S. K. (1988) Agonistic asymmetries and the foraging ecology of Bald Eagles. Ecology 69, 1188–1194.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S-PLUS. Fourth Edition. Springer.
eagles.glm <- glm(cbind(y, n - y) ~ P*A + V, data = eagles,
family = binomial)
dropterm(eagles.glm)
#> Single term deletions
#>
#> Model:
#> cbind(y, n - y) ~ P * A + V
#> Df Deviance AIC
#> <none> 0.333 23.073
#> V 1 53.737 74.478
#> P:A 1 6.956 27.696
prof <- profile(eagles.glm)
plot(prof)
pairs(prof)