Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: st: binary mediation


From   "Ariel Linden, DrPH" <ariel.linden@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   re: st: binary mediation
Date   Wed, 1 May 2013 09:59:04 -0400

First off, individuals posting to the Statalist are requested to provide
information about the program they are using and where they can be found for
download (http://www.stata.com/support/faqs/resources/statalist-faq/). In
this case, you are referring to -binary_mediation-, a user-written program
(findit binary_mediation).

In regards to your question: no, the program is not intended to be used with
a multiple-categorical independent variable, and you can very easily have a
misspecified model on your hands if you use it as such.

I suggest you consider -khb-, a user-written program (net sj 13-1 st0236_2)
and an accompanying Stata Journal article
(http://www.stata-journal.com/article.html?article=st0236)

-khb- can be used with a multitude of variable types for Treatment, Mediator
and Outcome variables.

Ariel 

Date: Tue, 30 Apr 2013 13:45:07 +0300
From: Sharon Sznitman <sznitmans@gmail.com>
Subject: st: binary mediation

I have a question regarding binary_mediation:
My independent variable (IV) ethnicity has 3 categories (1=a,
2=b, 3= c). My mediation variable (MV) is a binary variable
(0=no, 1=yes) and my dependent variable is binary (0=no binge, 1=binge).

I think that stata's program binary_mediation will allow me to do a
mediation analysis with a binary DV and lets me calculate the proportion
mediated, and whether the mediation is significant. However, can the
command binary_mediation deal with the fact that my  IV has
3 categories?

 If binary_mediation does not allow for a three category  IV, do you have
suggestions for another way of doing the mediation analysis with the
types of variables I have?

Thanks,
Sharon


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index