Тёмный

Testing a single mediator model involving binary dependent variable in Stata (Version 17) 

Mike Crowson
Подписаться 39 тыс.
Просмотров 10 тыс.
50% 1

This video demonstrates an approach that I've developed that should allow you to test mediation models involving a single continuous mediator and a single binary dependent variable. [The IV can be continuous or binary; but it cannot be treated as a factor variable using the i. prefix.] The approach involves using a do-file that I have created for performing the analysis and that can be used with some fairly minor modifications to generate results with your own data.
A copy of the do-file can be downloaded here: drive.google.com/file/d/1SePP...
A copy of the data used in the video can be downloaded here: drive.google.com/file/d/1BnVr...
A copy of the supplemental Powerpoint file can be downloaded here:
drive.google.com/file/d/1l2Zb...
SEE MY NEW BLOG ADDRESSING MEDIATION, MODERATION, AND MODERATED MEDIATION (PROCESS MODELS) USING STATA HERE: process-models-stata-spss.blo...
MY FIRST POSTING IS ON PROCESS MODEL #7 (as found in Hayes' Process Macro):
process-models-stata-spss.blo...
MY SECOND POSTING ON PROCESS MODEL #8 CAN BE FOUND HERE:
process-models-stata-spss.blo...

Опубликовано:

 

6 июн 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@omidmahdieh7882
@omidmahdieh7882 3 года назад
Thanks. informative and interesting. Could you please, share a video demonstration about how to handle "control variables" in research?
@user-gb1ov8em4e
@user-gb1ov8em4e Год назад
Great! Like this video! Do you have any examples showing Stata handles more than 1 mediators?
@avraam13
@avraam13 Год назад
Thank you Mike for your great video! A quick question please what if i have more than one mediator (two or three mediators)? For example in my model I have one IV = continuous, three Mediators = Continuous and one DV=binary? Thank you
@lisakramer1105
@lisakramer1105 3 года назад
Do you have a video on how this is done in SPSS? I'm testing a moderated mediation model with a binary outcome variable
@quetran8098
@quetran8098 2 года назад
Instead of bootstrap, with the same model, could you please guide how to handle BRR for complex survey data in STATA? Does earlier STATA versions (not 17) work? Thanks for your channel!
@heathersky8218
@heathersky8218 Год назад
hi i'm sorry if this sounds stupid but, the result we want from this is Indirect Effect right? So if 0 is out of confidence interval, it means that Political does mediate the relationship right? Also, do you treat confounder the same with covariate? thank you so much in advance
@elizabethbaumler8371
@elizabethbaumler8371 2 года назад
This is a great video, such a time saver. I downloaded the do file and am getting an error just after : *Path a coefficient . di e(b)[1,1] invalid syntax r(198); Do you have any idea what might be the issue? It runs the model but stops at this line. I did not alter anything other than adding the variable names in. Thanks for any help. This will be very useful for me if I can get it working.
@elizabethbaumler8371
@elizabethbaumler8371 2 года назад
Update, I was running Stata 15, updated version, now it work great! Thanks!
@sqworld9420
@sqworld9420 8 месяцев назад
Hello I have a model where the independent variables are binary and the mediator and dependent variables are continues is there a do file for that ?
@user-eo4tn5ms4y
@user-eo4tn5ms4y Год назад
Hi Dr Crowson, in the first example here, path a is a linear regression coefficient whereas path b is a logistic regression coefficient and so both of the regression coefficients have different interpretations and scales (change in a unit vs change in log-odds). Is it still acceptable to multiply path a and b to obtain the indirect effect? I am struggling to find an answer to this, your perspective would be very much appreciated. V
@3minuticolprof
@3minuticolprof Месяц назад
I have the same doubt, and cant find an answer
@samuelwakuma8088
@samuelwakuma8088 3 года назад
what if both the outcome and mediator are binary?
@mikecrowson2462
@mikecrowson2462 3 года назад
Hi Samuel, right now the syntax is just set up for a binary outcome and a continuous mediator (in the manner by Hayes with the Process macro). I hope to put something out there soon to address the model you are asking about. Cheers!
@mdhasibreza5161
@mdhasibreza5161 2 года назад
@@mikecrowson2462 Dr Crowson, thanks a lot for helping the community through your lectures. I am trying to use ANCOVA model in the Latent Change Score specification and estimate the mediation effect (ref: Valente and MacKinnon, 2017). However, I could not figure out how to do that in STATA. I have both the pretest-posttest measures of the outcome variable and the mediator from the treatment and control households. All the variables are binary. Could you please give me any idea regradig this?
@sqworld9420
@sqworld9420 8 месяцев назад
what did you do how did you solve the problem please? i have the IV binary data and the mediator and dependent variables are continues @@mdhasibreza5161
@ElizabethBodunde
@ElizabethBodunde 2 месяца назад
@@mikecrowson2462 Hi Mike, I am just wondering if you have been able to put together something regarding this., thank you.
Далее
Testing mediation using 'medsem' package in Stata
17:21
Я тоже так могу
00:12
Просмотров 1,2 млн
Mediator or Moderator?
4:50
Просмотров 237 тыс.
How to do a mediation analysis in R...with visuals!
11:22
Lecture 8   Binary Dependent Variable Models
1:44:50
Просмотров 3,7 тыс.
Confirmatory factor analysis using Stata (2023)
37:26
Я тоже так могу
00:12
Просмотров 1,2 млн