<?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: Proc Causalmed for Mediation Analysis with Time-to-event data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/846904#M82329</link>
    <description>&lt;P&gt;So is there a way to run PROC CAUSALMED with time-to-event data in&lt;SPAN&gt;&amp;nbsp;SAS v9.4-based systems?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 20:04:06 GMT</pubDate>
    <dc:creator>soosas</dc:creator>
    <dc:date>2022-11-29T20:04:06Z</dc:date>
    <item>
      <title>Proc Causalmed for Mediation Analysis with Time-to-event data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/839242#M82135</link>
      <description>&lt;P&gt;I have a project related to mediation analysis with time-to-event data (Cox model is preferred), and tried to rerun the SAS code for "Example 38.5 Causal Mediation Analysis of a Time-to-Event Outcome".&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_008/statug/statug_causalmed_examples05.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_008/statug/statug_causalmed_examples05.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, it did NOT in the SAS on my computer. I got the follow error message from the log:&lt;/P&gt;&lt;P&gt;4546&amp;nbsp; proc causalmed data=RedDye ciratio=log poutcomemod pmedmod;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 202&lt;BR /&gt;WARNING: Ignoring second data set reference.&lt;BR /&gt;NOTE: PROCEDURE CAUSALMED used (Total process time):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALL, ALPHA, CASECONTROL, DATA,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DECOMP, DESC, DESCEND, DESCENDING, EPSILON, NAMELEN, NAMELENGTH, NLOPTIONS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOPRINT, ORDER, PALL, PMEDMOD, POUTCOMEMOD, PSHORT, PSUMMARY, RORDER, SINGULAR,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THREADS.&lt;BR /&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;4547&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class RedDye Female Tumor;&lt;BR /&gt;4548&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Weeks*Censor(1) = RedDye | Tumor / aft;&lt;BR /&gt;4549&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mediator Tumor(event='1') = RedDye(treat='3');&lt;BR /&gt;4550&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; covar Female;&lt;BR /&gt;4551&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; freq Freq;&lt;BR /&gt;4552&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please let me know why this&amp;nbsp;happened? How can I fix it? Or you can suggest other procedures. Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 17:00:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/839242#M82135</guid>
      <dc:creator>Lyansu</dc:creator>
      <dc:date>2022-10-18T17:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed for Mediation Analysis with Time-to-event data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/839256#M82139</link>
      <description>&lt;P&gt;Some of these options were added in SAS Viya 2020.1 and might not work in SAS v9.4-based systems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_008/pgmsaswn/p0a2nipviaha6nn1dpkrlnx9pa72.htm" target="_self"&gt;What's New &lt;/A&gt;&amp;nbsp;and search for CAUSALMED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excerpt:&lt;/P&gt;
&lt;H3 id="p0jtg5cuuq869bn1vrh670d66olf" class="xisDoc-title"&gt;CAUSALMED Procedure&lt;/H3&gt;
&lt;P class="xisDoc-paragraph"&gt;The following enhancements have been made to the CAUSALMED procedure:&lt;/P&gt;
&lt;UL class="xisDoc-listUnordered"&gt;
&lt;LI class="xisDoc-item"&gt;The procedure now supports the causal mediation analysis of time-to-event outcomes. You can specify the following two types of models for the time-to-event outcome in the MODEL statement:
&lt;UL class="xisDoc-listUnordered"&gt;
&lt;LI class="xisDoc-item"&gt;Cox proportional hazard models (with the COXPH option)&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;accelerated failure time models (with the AFT option)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;The new CIRATIO= option enables you to compute confidence intervals for ratio-type causal mediation effects on the log scale, original (nontransformed) scale, or both. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM class="xisDoc-statValue"&gt;z&lt;/EM&gt;-value and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM class="xisDoc-statValue"&gt;p&lt;/EM&gt;-value for testing null hypothesis of no effect are also computed separately for each of the chosen scales.&lt;/LI&gt;
&lt;LI class="xisDoc-item"&gt;You can now specify the treated or control level of a binary treatment variable by using the TREAT= or CONTROL= option, respectively, in the MEDIATOR statement. You can specify the event or reference level of a binary outcome variable by using the EVENT= or REF= option, respectively, in the MODEL statement.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 18 Oct 2022 18:44:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/839256#M82139</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2022-10-18T18:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed for Mediation Analysis with Time-to-event data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/846904#M82329</link>
      <description>&lt;P&gt;So is there a way to run PROC CAUSALMED with time-to-event data in&lt;SPAN&gt;&amp;nbsp;SAS v9.4-based systems?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 20:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/846904#M82329</guid>
      <dc:creator>soosas</dc:creator>
      <dc:date>2022-11-29T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed for Mediation Analysis with Time-to-event data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/846910#M82330</link>
      <description>&lt;P&gt;I just answered this for myself. The answer is no, referencing this thread:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/error-73-322-when-using-proc-causalmed-for-survival-analysis/td-p/738487" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/error-73-322-when-using-proc-causalmed-for-survival-analysis/td-p/738487&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 20:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Causalmed-for-Mediation-Analysis-with-Time-to-event-data/m-p/846910#M82330</guid>
      <dc:creator>soosas</dc:creator>
      <dc:date>2022-11-29T20:08:46Z</dc:date>
    </item>
  </channel>
</rss>

