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: mediation with a categorical mediator
From
John Antonakis <[email protected]>
To
[email protected]
Subject
Re: st: mediation with a categorical mediator
Date
Thu, 05 May 2011 23:06:43 +0200
Hi:
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
HTH,
John.
__________________________________________
Prof. John Antonakis
Faculty of Business and Economics
Department of Organizational Behavior
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny
Switzerland
Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305
http://www.hec.unil.ch/people/jantonakis
Associate Editor
The Leadership Quarterly
__________________________________________
On 05.05.2011 21:55, Kate Welti wrote:
Hello,
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).
Thanks,
Kate
*
* 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/
*
* 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/