Skip to content
Prev 3030 / 5632 Next

[R-meta] Adding random effect to SCE models

Dear Fred,

Just to clarify my answer in the post you linked, I misspoke when I
mentioned in brackets (what was a passing thought) the variance component
for "trt_grp" is non-interpretable (realized I had to edit that part out 1
minute later). You will not get "any" variance component for "trt_grp" at
all to worry about its interpretation.  You simply are using "trt_grp" (or
"grp" in your case) to make your grouping variable (i.e., what appears
to the right of `|`) more specific (e.g., combination of study-groups,
etc.) for the levels of the variable appearing to the left of `|` (often
taken to be the target of generalization).

Thus, you can't generalize beyond the levels of "trt_grp" or the like
unless you place "trt_grp" on the left of the `|`. To digress a bit, in the
general multilevel modeling literature, it is debated what really is
generalizable (the grouping variable, the varying intercepts/slopes, or the
predictions/estimates of random effects).

At any rate, we simply use an indexing variable (or what James referred to
as an ID variable) as a grouping variable in whatever combinations to make
our assumptions regarding true effects more specific. Remember that this
also means that we are adding more parameters to the model.

Thus, we may sometimes create but end up not using such ID variables if the
data structure or size (or both) don't support encoding such specific
assumptions about the random effects.

Just my two cents, James will have more to say, for sure,
Jack

ps. I'm developing an R function to make it visually possible to see
different study structures as well as their counts in
meta-analytic datasets and hope that such an approach would make the
modeling choices a tiny bit more clear (will share that in near future).
On Wed, Aug 4, 2021 at 12:42 PM Farzad Keyhan <f.keyhaniha at gmail.com> wrote: