<?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 warning messages in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805519#M39621</link>
    <description>&lt;P&gt;Without seeing the LOG with the CAUSALMED code in it, it is hard to be specific, but in general the message means that there are convergence issues with the outcome model.&amp;nbsp; The usual approach to solve the issue would be to simplify the model by either removing covariates from the COVAR statement or by removing the interaction between the mediator and treatment.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 15:01:56 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2022-04-01T15:01:56Z</dc:date>
    <item>
      <title>PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805515#M39618</link>
      <description>&lt;P&gt;&amp;nbsp;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to perform a mediation analysis using PROC CAUSALMED and the outcome is a binary variable. I've set dist=binomial and link=log, and I've tried dist=binary and link=log. Each time I receive these warnings:&lt;/P&gt;&lt;P&gt;WARNING: At least one element of the gradient for the outcome model is greater than 1e-3.&lt;BR /&gt;WARNING: The Hessian for the outcome model has been ridged with a maximum value of 524288.&lt;BR /&gt;Standard errors might not be accurate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know a) what these mean and b) how I can fix them? Thank you!!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 14:49:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805515#M39618</guid>
      <dc:creator>mepidemiology</dc:creator>
      <dc:date>2022-04-01T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805518#M39620</link>
      <description>Both messages indicate numerical problems fitting the model. This is extremely common when fitting a binary response model using a link function other than the default logit link. The log link does not guarantee that the estimated values are in the valid range for a binomial mean - between 0 and 1. So, use the logit link and see if that fixes the problem.</description>
      <pubDate>Fri, 01 Apr 2022 15:01:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805518#M39620</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-04-01T15:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805519#M39621</link>
      <description>&lt;P&gt;Without seeing the LOG with the CAUSALMED code in it, it is hard to be specific, but in general the message means that there are convergence issues with the outcome model.&amp;nbsp; The usual approach to solve the issue would be to simplify the model by either removing covariates from the COVAR statement or by removing the interaction between the mediator and treatment.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 15:01:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805519#M39621</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-04-01T15:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805520#M39622</link>
      <description>&lt;P&gt;You should include the entire code of the procedure call along with all of the messages from the log. IF you tried multiple sets of options then include them as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The folks that know more about this procedure may see some other option(s) that might be contributing to the issue. Plus then you don't get suggestions for options that you are already using.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 15:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/805520#M39622</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-04-01T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/806066#M39657</link>
      <description>&lt;P&gt;Thank you! I have tried this and while it does work, it only provides the Odds Ratio. I am trying to get the Risk Ratio (and link=log was suggested) because I'm trying to compare the output from R to SAS, but this is the problem I'm encountering.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:22:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/806066#M39657</guid>
      <dc:creator>mepidemiology</dc:creator>
      <dc:date>2022-04-05T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/806070#M39658</link>
      <description>&lt;P&gt;When you use the LOG link then they are actually relative risks and not odds ratios. They are mislabeled in earlier releases, but the more recent releases reflects the proper labeling, but&amp;nbsp; the label will say Odds Ratios until then.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/806070#M39658</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-04-05T14:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC CAUSALMED warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/811960#M40019</link>
      <description>&lt;P&gt;Hello, I'm handling the same problem recently. Since the outcome variable is not rare, the log link was suggested in SAS help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read these solutions you suggested, but as you can see, I've no reason to reduce those covariates, and there is no interaction option initially, so what else can I do to treat this problem, or if I can ignore the warnings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;code is as follows:&lt;/P&gt;&lt;P&gt;proc casusalmed data=data all;&lt;/P&gt;&lt;P&gt;class X(ref=first) M(ref=last) Y(ref=first) C(ref=first);&lt;/P&gt;&lt;P&gt;model Y=X M /link=log;&lt;/P&gt;&lt;P&gt;mediator M=X;&lt;/P&gt;&lt;P&gt;covar c;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 May 2022 11:32:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-warning-messages/m-p/811960#M40019</guid>
      <dc:creator>llllllll1</dc:creator>
      <dc:date>2022-05-07T11:32:50Z</dc:date>
    </item>
  </channel>
</rss>

