<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>Unfortunately, no.  However, you can follow our algorithm if you are able to program it.</div>
<div><br>
</div>
<div>Best,</div>
<div>Kosuke</div>
<br>
<div>
<div style="color: rgb(0, 0, 0); font-family: Courier;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>---------------------------------------------------------<br>
Kosuke Imai               Office: Corwin Hall 036<br>
Professor                 Phone: 609-258-6601<br>
Department of Politics    Fax: 609-258-1110<br>
Princeton University      Email: <a href="mailto:kimai@Princeton.Edu">kimai@Princeton.Edu</a><br>
Princeton, NJ 08544-1012  <a href="http://imai.princeton.edu/">http://imai.princeton.edu</a><br>
---------------------------------------------------------</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div>
<div>On Oct 23, 2013, at 10:28 PM, Eduardo Costa <<a href="mailto:eduardoleitecosta@gmail.com">eduardoleitecosta@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif">Dear Dr. Imai,</span></div>
<div><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif"><br>
</span></div>
<div><font face="Tahoma, sans-serif">is there a way to run a survival analysis with random effects in your mediation package?</font></div>
<div><font face="Tahoma, sans-serif"><br>
</font></div>
<div><font face="Tahoma, sans-serif">Thanks,</font></div>
<div><font face="Tahoma, sans-serif"><br>
</font></div>
<div><font face="Tahoma, sans-serif">Eduardo</font></div>
<div><font face="Tahoma, sans-serif"><br>
</font></div>
<div>
<div>Dr Eduardo Leite Vieira Costa</div>
<div>Médico da UTI Respiratória HC FMUSP</div>
<div>Disciplina de Pneumologia HC-InCor<br>
Av Dr. Enéas de Carvalho Aguiar, 45<br>
6 andar, sala 6031<br>
CEP 05403000</div>
<div>São Paulo, SP, Brasil</div>
<div>
<p><span style="font-size:10pt">Tel: <a value="+551130617361">55-11-2661-7843</a><u></u><u></u></span></p>
<p><span style="font-size:10pt">Fax: <a value="+551130612492">55-11-3061-2492</a></span></p>
</div>
<div><br>
</div>
<div>Dr. Eduardo Leite Vieira Costa<br>
Attending Physician</div>
<div>Respiratory ICU, University of Sao Paulo<br>
Av Dr. Enéas de Carvalho Aguiar, 45<br>
6th floor, room 6031<br>
Zipcode 05403000</div>
</div>
<b><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif">
<div><b><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif"><br>
</span></b></div>
De:</span></b><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif"> Kosuke Imai [mailto:<a href="mailto:kimai@Princeton.EDU" target="_blank">kimai@Princeton.EDU</a>] </span><br>
<div class="gmail_extra">
<div class="gmail_quote">
<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 lang="EN-US" link="blue" vlink="purple">
<div>
<div>
<div style="border-style:solid none none;border-top-color:rgb(181,196,223);border-top-width:1pt;padding:3pt 0in 0in">
<p class="MsoNormal"><span lang="PT-BR" style="font-size:10pt;font-family:Tahoma,sans-serif"><b>Enviada em:</b> Tuesday, October 08, 2013 5:59 PM<br>
<b>Para:</b> Schoenfeld, David Alan,Ph.D.,Biostatistics<br>
<b>Cc:</b> Marcelo Amato; <a href="mailto:mediation-information@r-forge.wu-wien.ac.at" target="_blank">
mediation-information@r-forge.wu-wien.ac.at</a><br>
<b>Assunto:</b> Re: Mediation in R<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">It sounds like you want to do the moderated mediation: see Section 3.2 of this paper <a href="http://imai.princeton.edu/research/files/mediationR2.pdf" target="_blank">http://imai.princeton.edu/research/files/mediationR2.pdf</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif">Best,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif">Kosuke<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif">---------------------------------------------------------<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Helvetica,sans-serif">Kosuke Imai               Office: Corwin Hall 036<br>
Professor                 Phone: 609-258-6601<br>
Department of Politics    Fax: 609-258-1110<br>
Princeton University      Email: <a href="mailto:kimai@Princeton.Edu" target="_blank">kimai@Princeton.Edu</a><br>
Princeton, NJ 08544-1012  <a href="http://imai.princeton.edu/" target="_blank">http://imai.princeton.edu</a><br>
---------------------------------------------------------<u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Oct 7, 2013, at 9:31 AM, "Schoenfeld, David Alan,Ph.D.,Biostatistics" <<a href="mailto:DSCHOENFELD@partners.org" target="_blank">DSCHOENFELD@partners.org</a>> wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br>
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif"> <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">I am doing a mediation meta-analysis and I am trying to use your software.</span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"> </span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">The problem is that I have several different studies with somewhat different treatments that all affect the same mediator, and the same outcome but affect them differently.  A reasonable
 model would have to contain a treatment-study interaction.  I can't figure out how to do that with your R package.</span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">I am trying to estimate the Proportion Mediated and associated p-value and confidence intervals,</span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"> </span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">I would appreciate any help you would give.</span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"> </span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif">Thanks</span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Arial,sans-serif"> </span><span style="font-family:Arial,sans-serif"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Courier"><u></u> <u></u></span></p>
</div>
<p><span style="font-size:13.5pt;font-family:Courier">The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a><span> </span>. If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>