[Mediation-information] Question regarding mediator function
Kosuke Imai
kimai at princeton.edu
Sat Nov 5 04:17:41 CET 2011
Dear Boya,
Unfortunately, our package does not yet support lmer functions. If you have some programming experience in R, however, you should be able to implement our general algorithm (see our Psychological Methods paper) relatively easily with any model including mixed effects models.
Best,
Kosuke
Department of Politics
Princeton University
http://imai.princeton.edu
On Nov 4, 2011, at 2:10 PM, Ma Ya (Boya) wrote:
> Hello, Mr. Kosuke Imai;
>
> I am working on a projects that we would like to look at the mediation effect of the number of math video a student watched on their performance on Algebra test. We randomized on class level for this project.
>
> We are using a mixed model design, students are clustered within classes, so classes are modeled random effect.This requires a lmer function in R, so my question is will the mediate function takes results from lmer funcation, cause on the powerpoint you have showed example of a one level lm funcation.
>
> Thank you.
>
> Boya Ma
> Manager of design and analysis
> Empirical Education Inc.
More information about the Mediation-information
mailing list