Statistics Made Easy 6.5: Testing Mediation in Stata

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

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

  • @gondegoogoo
    @gondegoogoo 6 дней назад

    Hi! Thanks for the explanation video. Can the mediate command calculate partial mediation? Further, can we also include multilevel effects in here, as is possible in the gsem command?

    • @statisticsmadeeasy5458
      @statisticsmadeeasy5458  5 дней назад

      Thank you!
      1) To test for partial mediation in Stata's mediate command:
      > Check direct effect: If significant after accounting for the mediator, it suggests partial mediation.
      > Compare direct & indirect effects: Significant direct effect and/or substantial difference in their magnitudes indicate partial mediation.
      2) The standard mediate command doesn't handle multilevel data:
      > Instead you could try the user-written ml_mediation command (type "help ml_mediation")
      > For further information see: stats.oarc.ucla.edu/stata/faq/how-can-i-perform-mediation-with-multilevel-data-method-1/
      I hope this helps!

    • @gondegoogoo
      @gondegoogoo 3 дня назад +1

      @@statisticsmadeeasy5458 Thanks, super helpful!

  • @kalemguy
    @kalemguy 2 месяца назад

    Is this mediate command designed for cross sectional data only? How about panel data?

    • @statisticsmadeeasy5458
      @statisticsmadeeasy5458  2 месяца назад

      Currently, the "mediate" command is limited to cross-sectional data. Perhaps the following discussion will provide some further background to your panel data question: www.statalist.org/forums/forum/general-stata-discussion/general/1659266-mediation-analysis-panel-data

  • @JP-uf6cd
    @JP-uf6cd 8 месяцев назад +1

    Thank you for making this useful video!

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

    Thank you, sir, for your useful video and your great instruction. If we have two mediators with 3 and 4 categories. Please kindly give me some advice on how we can proceed with the mediate command?

    • @statisticsmadeeasy5458
      @statisticsmadeeasy5458  2 месяца назад

      You can use factor variables with the mediate command (type "help mediate" in Stata's command line). The simplest solution is to use "i." in front of categorical variables (e.g., i.var_name) so that Stata knows that the variable is not continuous.

  • @hafidhahmadrizqipratama7608
    @hafidhahmadrizqipratama7608 4 месяца назад +1

    Thank you sir for the explanation video!
    Could you tell me the references explanation for my citation on my thesis, sir? Thank you so much for help!

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

      You are welcome. Please have a look at the references in the video description. You can also refer to the official Stata help file.