
i
i
“K23166” — 2015/1/28 — 9:35 — page 116 — #142
i
i
i
i
i
i
116 CHAPTER 7. REGRESSION GENERALIZATIONS AND MODELING
Beginning Cgee S-function, @(#) geeformula.q 4.13 98/01/27
running glm to get initial regression estimate
(Intercept) treat time
-1.9649 0.0443 -0.1256
In addition to returning an object with results, the gee() function displays the coefficients
from a model assuming that all observations are uncorrelated.
> coef(geeres)
(Intercept) treat time
-1.85169 -0.00874 -0.14593
> sqrt(diag(geeres$robust.variance))
(Intercept) treat time
0.2723 0.2683 0.0872
> geeres$working.correlation
[,1] [,2] [,3] [,4]
[1,] 1.000 0.299 0.299 0.299
[2,] 0.299 1.000 0.299 0.299 ...