[R] Gee with nested desgin

2009-04-22 Thread ONKELINX, Thierry
Dear all, Is it possible to incorporate a nested design in GEE? I have measurements on trees that where measured in two years. The trees are nested in plots. Each plot contains 24 trees. The number of plots is 72. Hence we would expect 2 * 24 * 72 = 3456 data points. A few are missing, so we end u

Re: [R] Gee with nested desgin

2009-04-22 Thread ONKELINX, Thierry
...@erasmusmc.nl] Verzonden: woensdag 22 april 2009 11:48 Aan: ONKELINX, Thierry CC: r-help@r-project.org Onderwerp: Re: [R] Gee with nested desgin Hi Thierry, in geeglm() and in connection with the GEE theory, argument "id" should identify the independent sample units in your data set, whi

Re: [R] Gee with nested desgin

2009-04-22 Thread Dimitris Rizopoulos
Hi Thierry, in geeglm() and in connection with the GEE theory, argument "id" should identify the independent sample units in your data set, which seem to be the plots. GEE will produce consistent estimates even if you misspecify the correlation structure in your data (i.e., ignore nested desig