Bookmark and Share

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

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

Re: st: mediation with a categorical mediator

From   John Antonakis <>
Subject   Re: st: mediation with a categorical mediator
Date   Thu, 05 May 2011 23:06:43 +0200


Instal -cmp- : ssc install cmp.

Here the code (just estimating any old thing) that does not make sense--though fem_work is binary):

webuse laborsup
cmp (kids = fem_work) (fem_work = fem_educ), ind($cmp_oprobit $cmp_probit) vce(robust)
nlcom [fem_work]fem_educ*[kids]fem_work



Prof. John Antonakis
Faculty of Business and Economics
Department of Organizational Behavior
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny
Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305

Associate Editor
The Leadership Quarterly

On 05.05.2011 21:55, Kate Welti wrote:

How do I test for mediation in Stata when my mediator is a categorical
variable (type of child care used in the year prior to kindergarten).


*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index