<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Mediation analysis with survival data in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Mediation-analysis-with-survival-data/m-p/898347#M105833</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/75826"&gt;@Pau_lina&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SEM platform can be used to specify mediation models with or without latent variables (LVs). If you don't have LVs, then the 2-min video in &lt;A href="https://www.jmp.com/en/learning-library/topics/multivariate-methods/structural-equation-modeling" target="_blank" rel="noopener"&gt;this link&lt;/A&gt; shows how to use the Model Shortcuts menu to specify the model. If you do have LVs, then you have to specify the model using the From and To Lists (that is, specify the LVs first, then link them with the single and double headed arrow buttons). Note that the main red triangle menu offers an "Inference &amp;gt; Bootstrap" option to obtain bias-corrected confidence intervals for your indirect effect. This is in addition to the indirect and total effects you can get in the model-specific red triangle menu (those have standard errors that use the delta method). Moreover, if you're interested in testing the interaction between predictor and mediator (aka "causal mediation"), then you can take advantage of a &lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/Moderation-and-Mediation-Add-In/ta-p/527203" target="_blank" rel="noopener"&gt;cool add-in&lt;/A&gt; that was developed for this purpose. The add-in produces a very nice Johnson-Neyman plot to probe the interaction (if it's significant), in addition to other useful output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key issue is modeling your time-to-event outcome. One approach for this is to create a new variable that takes the log of your outcome (right-click on the header of the column in your data table, go to New Formula Column &amp;gt; Log), and then use that in the SEM platform. This would be similar to assuming a lognormal distribution of the outcome and using&amp;nbsp;&lt;A href="https://www.jmp.com/en/learning-library/topics/reliability-and-survivability/accelerated-life-testing" target="_blank" rel="noopener"&gt;accelerated life testing&lt;/A&gt;. This would also make it possible to use the SEM platform, as we don't otherwise have special handling of time-to-event data yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH!&lt;/P&gt;
&lt;P&gt;~Laura&lt;/P&gt;</description>
    <pubDate>Tue, 02 Sep 2025 17:38:52 GMT</pubDate>
    <dc:creator>LauraCS</dc:creator>
    <dc:date>2025-09-02T17:38:52Z</dc:date>
    <item>
      <title>Mediation analysis with survival data</title>
      <link>https://community.jmp.com/t5/Discussions/Mediation-analysis-with-survival-data/m-p/898013#M105797</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was wondering how you can build a mediation analysis with survival data in JMP Pro 18. I am attempting to use SEM to test if my X (continuous) variable mediates the relationship between Treatment (binary) and abstience duration since post-treatment (survival variable).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Aug 2025 03:16:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mediation-analysis-with-survival-data/m-p/898013#M105797</guid>
      <dc:creator>Pau_lina</dc:creator>
      <dc:date>2025-08-30T03:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Mediation analysis with survival data</title>
      <link>https://community.jmp.com/t5/Discussions/Mediation-analysis-with-survival-data/m-p/898347#M105833</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/75826"&gt;@Pau_lina&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SEM platform can be used to specify mediation models with or without latent variables (LVs). If you don't have LVs, then the 2-min video in &lt;A href="https://www.jmp.com/en/learning-library/topics/multivariate-methods/structural-equation-modeling" target="_blank" rel="noopener"&gt;this link&lt;/A&gt; shows how to use the Model Shortcuts menu to specify the model. If you do have LVs, then you have to specify the model using the From and To Lists (that is, specify the LVs first, then link them with the single and double headed arrow buttons). Note that the main red triangle menu offers an "Inference &amp;gt; Bootstrap" option to obtain bias-corrected confidence intervals for your indirect effect. This is in addition to the indirect and total effects you can get in the model-specific red triangle menu (those have standard errors that use the delta method). Moreover, if you're interested in testing the interaction between predictor and mediator (aka "causal mediation"), then you can take advantage of a &lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/Moderation-and-Mediation-Add-In/ta-p/527203" target="_blank" rel="noopener"&gt;cool add-in&lt;/A&gt; that was developed for this purpose. The add-in produces a very nice Johnson-Neyman plot to probe the interaction (if it's significant), in addition to other useful output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The key issue is modeling your time-to-event outcome. One approach for this is to create a new variable that takes the log of your outcome (right-click on the header of the column in your data table, go to New Formula Column &amp;gt; Log), and then use that in the SEM platform. This would be similar to assuming a lognormal distribution of the outcome and using&amp;nbsp;&lt;A href="https://www.jmp.com/en/learning-library/topics/reliability-and-survivability/accelerated-life-testing" target="_blank" rel="noopener"&gt;accelerated life testing&lt;/A&gt;. This would also make it possible to use the SEM platform, as we don't otherwise have special handling of time-to-event data yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH!&lt;/P&gt;
&lt;P&gt;~Laura&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 17:38:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Mediation-analysis-with-survival-data/m-p/898347#M105833</guid>
      <dc:creator>LauraCS</dc:creator>
      <dc:date>2025-09-02T17:38:52Z</dc:date>
    </item>
  </channel>
</rss>

