Skip to content
Prev 3637 / 5632 Next

[R-meta] multivariate fixed-effect meta-analysis

Actually, I think you could fit a model with gls that does include
correlated sampling errors:

gls(yi ~ 0 + outcome,
     weights = varFixed(~ vi),
     correlation = corCompSymm(rho, ~ 1 | studyID, fixed = TRUE),
     control = glsControl(sigma = 1),
     data = data)

I've always wondered about whether it would make sense to fit a model
like this but allowing the sampling correlation to be estimated rather
than fixed.

James
On Wed, Nov 24, 2021 at 11:07 AM Luke Martinez <martinezlukerm at gmail.com> wrote: