Skip to content
Prev 2413 / 5636 Next

[R-meta] "Categorical" moderator varying within and between studies

Hi Simon,

With a binary or categorical predictor, one could operationalize the
contextual effect in terms of proportions (0-1 scale) or percentages (0-100
scale). If proportions, like say proportion of vegetarians, then the
contextual effect would be the average difference in the DV between two
units who are both vegetarian (i.e., have the same value of the predictor),
but belong to clusters that are all vegetarian versus all omnivorous (i.e.,
that differ by one unit in the proportion for that predictor). That will
make the contextual effects look quite large because it's an extreme
comparison--absurdly so, in this case, since there can't be a vegetarian in
a cluster of all omnivores.

If you operationalize the contextual effect in terms of percentages (e.g.,
% vegetarians) then you get the average difference in the DV between two
units who are both vegetarian, but belong to clusters that differ by 1
percentage point in the proportion of vegetarians.

All of this works for multi-category predictors also. Say that you had
vegetarians, pescatarians, and omnivores, with omnivores as the reference
category, then the model would include group-mean-centered dummy variables
for vegetarians and pescatarians, plus group-mean predictors representing
the proportion/percentage of vegetarians and proportion/percentage of
pescatarians. You have to omit one category at each level to avoid
collinearity with the intercept.

James
On Thu, Oct 29, 2020 at 1:32 AM Simon Harmel <sim.harmel at gmail.com> wrote:

            

  
  
Message-ID: <CAFUVuJwbvzgLQK4emqHYFidtmkQuAyEhf+YtTAQWgwu3-NYwzA-4982@mail.gmail.com>
In-Reply-To: <CACgv6yXJ1oOOYsQr0GcokGqK70OTQ3Y9zopMiKf-jDMh=SVr+g@mail.gmail.com>