You are here

Control Covariates in metaSEM

7 posts / 0 new
Last post
Xin Lin's picture
Offline
Joined: 06/10/2019 - 15:24
Control Covariates in metaSEM

Hi all,

Can we control covariates (i.e., age, SES, problem type) in metaSEM? To be more specific, can I add them directly to the model like regression?

Thank you!

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
Dear Xin Lin,

Dear Xin Lin,

Yes, you may refer to the following paper.

Jak, S., & Cheung, M. W. -L. (2019). Meta-analytic structural equation modeling with moderating effects on SEM parameters. Psychological Methods. Advance online publication. https://doi.org/10.1037/met0000245

The R code for the examples is available at https://github.com/mikewlcheung/code-in-articles/tree/master/Jak%20and%20Cheung%202019

Best,
Mike

Xin Lin's picture
Offline
Joined: 06/10/2019 - 15:24
Error: ‘name’ is not a slot in class “list”

Dear Dr. Cheung,

Thanks for getting back to me! I have read the paper and used the code with my data. I am trying to conduct a TSSEM with moderators. Yet, that paper only included codes for OSMASEM.

I have tried to modify the OSMASEM code for TSSEM using
random2 <- tssem2(random1, model.name="Moderator with WPF", Amatrix=M1a, Smatrix=S1, intervals.type="z")

and got that Error message
Error in (function (cl, name, valueClass) :
‘name’ is not a slot in class “list”

Can we conduct a moderation analysis with TSSEM?
I appreciate your help!

Best,
Xin

Marius2905's picture
Offline
Joined: 12/03/2018 - 04:15
Dear Xin,

Dear Xin,

yes you can do that. Look at this article (Jak/Cheung 2018: Testing moderator hypotheses in meta-analytic structural equation modeling using subgroup analysis):

https://link.springer.com/article/10.3758/s13428-018-1046-3

Best,

Marius

Xin Lin's picture
Offline
Joined: 06/10/2019 - 15:24
Dear Marius,

Dear Marius,

Thank you for sharing this article!

Best,
Xin

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
Dear Xin,

Dear Xin,

tssem2() does NOT allow continuous moderators. As shown in the paper, it is osmasem() which allows moderators.

Best,
Mike

Xin Lin's picture
Offline
Joined: 06/10/2019 - 15:24
Dear Dr. Cheung,

Dear Dr. Cheung,

Thanks for making this clear to me. It is really helpful!

Best,
Xin