[R] Multi-level (nested) correlation structures via geepack package

Bert Gunter
Sun, 12 Jul 2020 20:18:37 -0000

You may get lucky, but generally such package-specific questions don't get
responses here. There are about 20000 packages after all. You might do
better posting on the r-sig-mixed-models list or by asking the package
maintainer (?maintainer) whether there is some sort of support list for the
package.

Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Sun, Jul 12, 2020 at 9:59 AM Phat Chau <phat.chau at mail.utoronto.ca>
wrote:

> Hello,
>
> I have a multi-level, cohort dataset with three levels: repeat measures of
> a response (level 1), that are collected from individual participants
> (level 2) who are students within a school (level 3). I would like to do a
> generalized estimating equation (GEE) analysis of this clustered data, but
> to do so I need to specify ?nested? correlation structures (e.g.
> exchangeable, compound symmetric, Toeplitz) to account for the
> within-individual and within-cluster correlations.
>
> Here is a reference paper that describes a nested exchangeable correlation
> structure and nested compound symmetry:
> doi:10.1111/j.1541-0420.2009.01374.x.
>
> The geepack is available in R to do GEE analyses, but it seems to me that
> it only allows the user to specify a correlation structure via the
> geepack(??corstr = ?) option which only accounts for the within-individual
> correlations (that arise from repeated measures). Would it be possible to
> specify the nested correlation structures that I refer to here to also
> account for the within-cluster correlations using this package?
>
> Thank you,
>
> Edward
>
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>