Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: GLLAMM SYNTAX MEDIATION


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: GLLAMM SYNTAX MEDIATION
Date   Thu, 17 Feb 2011 12:54:37 -0600

Well, then this is simply

y = b2w1 + b1x1 + error

If you mean that the second equation you wrote is for b1, then it will
probably need an intercept (I would call it b3), and then you have

y = b0 + b1*b2*w1*x1 + b3*x1 + b1*x1*u + error

If y is binary, you can estimate this model using -xtmelogit-, and get
the remaining numerical results with -lincom- and -nlcom-.

On Thu, Feb 17, 2011 at 12:42 PM, Smith, Stephanie Moller
<Stephanie.Moller@uncc.edu> wrote:
> The equation is:
>
> y=b0 + b1x1
> b0=b2w1+u
> logit link
> where w1 is predicted to impact y via x1
>
>
> I found the attached logistic mediation spreadsheet online.
> Could I group mean center x1, and then put the slope, sd, etc of x1bar... into the attached spreadsheet
> here y=b0+b1(xij-xbarj)
> b0=b2xbarj + b3w1j + U
> (logit link)
>
> so that w1 is the causal variable and xbarj is the mediator variable?   If so, would I need to get descriptives for yij or for ybarj?
>
> Thank you.
>
> Stephanie Moller, Ph.D.


-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index