[R] Generalized Estimating Functions

Thomas Lumley tlumley at u.washington.edu
Mon May 13 21:47:04 CEST 2002


On Mon, 13 May 2002 ripley at stats.ox.ac.uk wrote:

> On Mon, 13 May 2002, Frederico Zanqueta Poleto wrote:
>
> > Hi Thomas,
> >
> > Thank you for your help.
> > You are right. I've tried the OME example and the working correlation was
> > right.
> > Maybe it is a problem with Poisson, what do you think?
>
> No, that works too in other examples.
>
> It's most likely a problem with your use of gee, as the working
> correlation matrix shows, plus the fact that it only did one iteration.
> Please check very carefully all your inputs.
>

In particular check the ordering:

>From help(gee)
     id: a vector which identifies the clusters.  The length of `id'
          should be the same as the number of observations.  Data are
          assumed to be sorted so that observations on a cluster are
          contiguous rows for all entities in the formula.


	-thomas

Thomas Lumley			Asst. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list