Dear Erin, Great videos. I am looking for resources on how to do a mediation analysis with a panel/longitudinal data. Can you please advice?
@StatisticsofDOOM5 жыл бұрын
Unfortunately, I don't have any good resources for those ... mostly because I haven't don't panel type analyses, mostly I stick to multilevel models when I have longitudinal data.
@arghavanomidi37183 жыл бұрын
Thanks for this video! any package/function suggestions for multilevel mediation with categorical data?
@StatisticsofDOOM3 жыл бұрын
Note that multilevel here does mediation, not multilevel models (well it might but I would recommend lme4 or nlme). I don't know which variable you mean is categorical but nlme and lme4 can handle most of it.
@miathomaidou40903 жыл бұрын
Thanks so much for the video! I have a question regarding my data. I have a dichotomous IV, continuous M, and categorical (ordered) DV. Would I be able to run this mediation as shown in this video? Is there a need to separately dummy code the DV? MANY thanks!
@StatisticsofDOOM3 жыл бұрын
You should consider a logistic regression for a categorical DV, this version is assumes you have a continuous DV.
@miathomaidou40903 жыл бұрын
@@StatisticsofDOOM thanks very much for your response! I have done a logistic regression and I wanted to see next whether there was a mediation. This example didn’t work indeed, still really helpful for me to understand why it doesn’t work. I have now done a mediation by using an sem function for an ordered outcome, and this seems to work and makes sense with my data. PS Your videos have really changed my work for the better, thanks very much!
@StatisticsofDOOM3 жыл бұрын
@@miathomaidou4090 SEM is also a good choice (it's the same math for ordinal regression, so go with that!).
@xcathyxMacx5 жыл бұрын
Hi Erin, Thanks for the great video. Do you happen to use the mlma package at all? If so, do you have any advice on good resources for this?
@StatisticsofDOOM5 жыл бұрын
I do not use it - best suggestion is the CRAN documentation: cran.r-project.org/web/packages/mlma/mlma.pdf
@xcathyxMacx5 жыл бұрын
@@StatisticsofDOOM Thanks!
@jessemaombi3 жыл бұрын
My X variable is a factor with 3 levels... My Y variable is a continous variable while my M variable is a factor with 8 levels... How do i test the significance of the mediation effect because ive tried both the mediation package and the multilevel package...using the sobel test, everything is okay except when it comes to refressing X on M... The standard values, t values and p values are NA.. The indirect effect is given but the SE and Z. Value are NA... Please help me.. Am doing a school project
@StatisticsofDOOM3 жыл бұрын
Likely because the X and M variables are factors, which makes for lots of indirect effects. Are there enough people in each of these combinations?
@huanlee93254 жыл бұрын
Dear Erin, Thanks for the video,it is help me a lot. I have a big question, could you help me? i must run a multilevel mediation model and then i use lavaan, but when i want to check mediation analysis with bootstrap, i can not find the method by R. hope you help me figure it out,thanks very much!
@StatisticsofDOOM4 жыл бұрын
Lavaan has bootstrapping functions built in - and mediation as well - check out lavaan.ugent.be/tutorial/mediation.html
@anamatic9525 жыл бұрын
Dear Erin, I've looked at this and the other video on mediation but kind of stuck on what to do when I have multiple (parallel) mediators (more than two). do I just simply do each of the steps for each one of the mediators or might I hope for maybe one more video on this matter? thanks!
@StatisticsofDOOM5 жыл бұрын
Yeah, I am not sure if I would know how to three either - you would have to figure out how to calculate the indirect paths for each one ... you might consider a structural equation model if you have a more complex picture.
@a.n.40664 жыл бұрын
Great Video. I'm searching for a Mediation Analyses with Multilevel with hierarchical structur.
@StatisticsofDOOM4 жыл бұрын
Not sure I understand the question. This video covers MLM and mediation.
@oui03844 жыл бұрын
@@StatisticsofDOOM this video seems to be a regular mediation not MLM
@StatisticsofDOOM4 жыл бұрын
@@oui0384 I noted in the description the name of the package is multilevel, and added an update to clarify this is not a multilevel model (I do have those examples on the channel though).