<div dir="ltr">Please see below:<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Kosuke Imai</div><div>Department of Politics<br></div><div>Princeton University</div><div><a href="http://imai.princeton.edu" target="_blank">http://imai.princeton.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 25, 2015 at 3:41 PM, Xian Cao <span dir="ltr"><<a href="mailto:Xian.Cao@business.uconn.edu" target="_blank">Xian.Cao@business.uconn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">Dear Dr. Imai,
<div><br>
</div>
<div>I am a third year PhD student at UCONN Management Department. I read your study "casual mediation analysis" - it is very interesting and useful. My advisor and I are working on a paper using your R package. I have a few questions that wonder whether I
 may have your answers. </div>
<div><br>
</div>
<div>1. Can I use this method when the X->M path is nonlinear. That means X is related to M curvelinearily.</div></div></div></blockquote><div><br></div><div>Yes, that's exactly why this method is developed.   I encourage you to read the following paper, which describes the methods implemented in this package: <a href="http://imai.princeton.edu/research/files/BaronKenny.pdf">http://imai.princeton.edu/research/files/BaronKenny.pdf</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
<div><br>
</div>
<div>2. For the hypotheses testing part (med.fit and out.fit in the R package), can I use a bayesian method (mcmc) instead? Will this influence the subsequent casual mediation effect analysis?</div></div></div></blockquote><div><br></div><div>Currently, we are not implementing Bayesian MCMC.  Our simulation method is a (quasi-bayesian) monte carlo method, which is described in the aforementioned paper.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
<div><br>
</div>
<div>3. Can I use this package to test the mediated moderation? That is, testing whether there is a mediator mediates the relationship between X and a moderator. </div></div></div></blockquote><div><br></div><div>Yes, please have a look at this JSS paper: <a href="http://imai.princeton.edu/research/files/mediationR2.pdf">http://imai.princeton.edu/research/files/mediationR2.pdf</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
<div><br>
</div>
<div>Thank you so much for your time,</div>
<div>
<div><br>
<div style="font-size:13px;font-family:Tahoma">
<div><span style="font-size:11pt;color:rgb(31,73,125)">Xian Cao</span></div>
<div><span style="font-size:11pt;color:rgb(31,73,125)"></span> </div>
<div><span style="font-size:11pt;color:rgb(31,73,125)">Management Department,</span></div>
<div><span style="font-size:11pt;color:rgb(31,73,125)"></span> </div>
<div><span style="font-size:11pt;color:rgb(31,73,125)">University of Connecticut,</span></div>
<div><span style="font-size:11pt;color:rgb(31,73,125)"></span> </div>
<div><span style="font-size:11pt;color:rgb(31,73,125)">Tel: <a href="tel:989-528-9566" value="+19895289566" target="_blank">
989-528-9566</a> </span></div>
<div><span style="font-size:11pt;color:rgb(31,73,125)"></span> </div>
<div><span style="font-size:11pt;color:rgb(31,73,125)"></span><span style="font-size:11pt;color:rgb(31,73,125)">Email:
<span style="color:rgb(31,73,125)"><a href="mailto:Xian.Cao@business.uconn.edu" target="_blank"><font color="blue"><u>Xian.Cao@business.uconn.edu</u></font></a><font color="#000000"> </font></span></span></div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br></div></div>