Displaying 1 result from an estimated 1 matches for "hoyt1".
Did you mean:
host1
2010 Mar 01
0
MASS::loglm - exploring a collection of models with add1, drop1
...1 + 2 + 3 + 4
to the saturated model,
~ 1 * 2 * 3 * 4
I can use add1 starting with a baseline model or drop1 starting with the
saturated model,
but I can't see how to get the model formulas or terms in each model as
a *list* that I can work with
further.
Consider this 2 x 3 x 7 x 2 table:
Hoyt1 <-
structure(c(87, 125, 216, 136, 256, 65, 72, 233, 159, 269, 176,
125, 52, 572, 119, 635, 119, 300, 88, 351, 158, 355, 144, 147,
32, 137, 43, 131, 42, 65, 14, 155, 24, 152, 24, 67, 20, 116,
41, 106, 32, 47, 53, 96, 163, 176, 309, 144, 36, 138, 116, 308,
225, 327, 52, 598, 162, 901, 243, 711, 48...