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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Would _sgmediation_ work for dichotomous dependent variable?


From   Philip Ender <ender97@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Would _sgmediation_ work for dichotomous dependent variable?
Date   Sun, 1 Aug 2010 13:17:51 -0700

Bo MacInnis <bo@macinnis.org> wrote:

Interested in using the wonderful _sgmediation_ command that Phil
Ender provided, I wonder if the use of _sgmediation_ is restricted to
linear regression with continuous dependent variable. I have a case
where the dependent variable is categorical or even dichotomous, and
I've been using probit for the main (total effect) for the dichotomous
dependent variable. I'd like to use _sgmediation_ for the mediational
analysis.


----

-sgmediation- was not meant for models with either binary mediators or
binary response variables.  I suggest you try -binary_mediation-
(findit binary_mediation) which estimation using the product of
coefficients approach with all of the variables standardized.  The
command syntax is very similar to -sgmediation-.

-- 
Phil Ender
UCLA Statistical Consulting Group
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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