How to do a mediation analysis in R...with visuals!

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 38

  • @nickvarney8148
    @nickvarney8148 2 года назад +10

    This video is incredible. You described this better in 11 minutes than my professor did in two hours. Thank you!

  • @ericomarcon
    @ericomarcon Год назад +2

    This video is pure gold. I would just recommend some assumptions' checking at the beginning of the analysis. Otherwise, 10/10

  • @allenshaw9996
    @allenshaw9996 Год назад +1

    The music (and your energy) makes it so much better! 🤣

  • @mikhaeldito
    @mikhaeldito 2 года назад +7

    Bootstrap video, please! And then proceed to parametric and semi-parametric bootstrapping for mixed-effects models :D

  • @DrAnaWeidenauer
    @DrAnaWeidenauer Год назад

    you are not only a good teacher, you are hilarious

  • @capricious8929
    @capricious8929 3 месяца назад

    EXTREMELY HELPFUL! THANK YOU!

  • @HarmonicaTool
    @HarmonicaTool 2 года назад +7

    What about covariates / control variables? are they just added in both models? Do we need to normalize predictors? U love how fast and on the point this lesson is but a hint to limitations / precautions would improve even more. That being said: Thanks so much!

  • @KN-tx7sd
    @KN-tx7sd Год назад +2

    as usual excellent, Bootstrap video, please! Also are the variables are all continuous or is any of them categorical. Can mediation be done when few variables are categorical in nature.

  • @janja7471
    @janja7471 2 года назад +1

    Great vid! And yes, pls do Bootstrap!

  • @symeonmandrinos9528
    @symeonmandrinos9528 5 месяцев назад

    Thank you for your effort

  • @jesusgarza-noriega1394
    @jesusgarza-noriega1394 Год назад +1

    I fucking love this guy

  • @nl7247
    @nl7247 Год назад

    Thank you very much ❤

  • @kriegsmandot1
    @kriegsmandot1 Год назад

    Thanks so much, this is great! Why did you include exercise in the plot? Seems like that's a question unrelated to our variables of interest?

  • @noemimicheli6803
    @noemimicheli6803 2 года назад +1

    What if the mediator is a categorical binary variable? Thank your for your videos!!

  • @caviper1
    @caviper1 2 года назад

    Gracias man.

  • @capricious8929
    @capricious8929 3 месяца назад

    What if I have two independent sample groups and two mediators, and 1 dependent variable I want to test out?

  • @IsobelFrench
    @IsobelFrench 21 день назад

    Where can I get the dataset used in this video please? Thanks!

  • @davidwang8971
    @davidwang8971 Год назад

    Hi,
    thank you for this amazing video!!
    I have one question, is it possible to do medaition analysis with "multiple mediators" (assuming they are uncorrelated with each other) in this package "mediation"? Many thanks.

  • @ito945
    @ito945 2 года назад

    Thank you very much for your videos. I would like to do the mediation analysis using multiple imputation for missing value using the "amelidiate" function in "mediation" package. If you know how to use this function , please give me the information.

  • @edafade
    @edafade 2 года назад

    Is it possible for flexplot to handle moderated mediation analysis with multiple predictor variables? I don't think it can visualize this, as we don't want to control for variables necessarily after the pipe.

  • @nadjaburgel9931
    @nadjaburgel9931 Год назад

    How do I do a mediation when my mediator is a latent variable consisting of four measured variables?

  • @erickcampos50
    @erickcampos50 2 года назад

    Great video!
    It's possible to do mediation using Jamovi and GLM?
    And yes, I would like to see a video about bootstrap

  • @LaraFontana-dh5oh
    @LaraFontana-dh5oh 4 месяца назад

    Using mediation function, the ACME is significant, but on the graph the two slopes are almost identical... why?

    • @QuantPsych
      @QuantPsych  4 месяца назад

      Do you have a large sample size? What's the effect size? It might be significant, but the effect size is tiny. This is probably what's happening.

  • @rogerakanji5154
    @rogerakanji5154 Год назад

    Hi
    I am currently having a go at mediation path analysis model but I am stuck in the "error sem"
    My specify model is shown below:
    specmod

  • @carolinaochoa3309
    @carolinaochoa3309 2 года назад

    Hi, thanks for the great work! I work with time to event data for the outcome. My exposure and mediatior as continuous variables. I used survreg function, which is suppoted by the mediation package. I'd like to represent my mediation model in a plot, like the mediate_plot you just showed. Do you have already a code for plotting mediation on this kind of outcome? Thanks!

  • @user-kx5mx7rz2x
    @user-kx5mx7rz2x 9 месяцев назад

    Can you also visualize longitudinal mediation with flexplot?

  • @qizhengli7952
    @qizhengli7952 2 года назад

    what could I do when r reports the error "mediator model is not yet implemented", THANK YOU!!!

  • @perevilaltahuguet5383
    @perevilaltahuguet5383 7 месяцев назад +1

    What do you think of the lavaan package?

  • @caviper1
    @caviper1 Год назад

    Q: Can "mediate_plot" function be used with a binary response variable? If so, how?

  • @nicujo
    @nicujo 3 года назад

    Hello from Denmark! Thank you very much for your videos, I found them VERY instructive. I am studying the univariate and multivariate playlists but I cannot install the flexplot package. Is it still available? Thanks for your effort :)

    • @QuantPsych
      @QuantPsych  3 года назад

      It is: devtools::install_github("dustinfife/flexplot")

  • @AmanzholBekmagambetov
    @AmanzholBekmagambetov 2 года назад

    On 5:30, Aren't we supposed to establish first the relationship between Depression and Quarantine as a base model and only after that test full model?

    • @QuantPsych
      @QuantPsych  2 года назад +1

      Yes, that is customary.

  • @jodi9434
    @jodi9434 2 года назад

    Are mediation models technically additive?