Displaying 1 result from an estimated 1 matches for "amalg".
2003 May 20
0
Problem on model simplification with glmmPQL
...cept) 1 48 697.7770 <.0001
Xvar1 1 2 127.1378 0.0078
Xvar2 12 48 330.5172 <.0001
Block 2 2 22.7960 0.0420
Xvar1:Xvar2 12 48 282.0917 <.0001
OK, all variables are significative, now I try to make the model
simplification, I try to amalgamate levels of Xvar2.
Looking the mean:
> tapply(Yvar,list(Xvar2,Xvar1),mean)
A B
a 1.6666667 1.6666667
...
h 0.3333333 0.6666667
...
j 0.3333333 0.6666667
...
m 11.0000000 5.6666667
Look that the mean of h and j are exactly the same in A and B,
therefore h and j ma...