<?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: Mediation Analysis in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/826776#M40944</link>
    <description>&lt;P&gt;Yes, the error message did go away, so I decided to just do the mediation analysis without the covariates!&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 03:57:20 GMT</pubDate>
    <dc:creator>zaldarsa</dc:creator>
    <dc:date>2022-08-03T03:57:20Z</dc:date>
    <item>
      <title>Proc Causalmed: Mediation Analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/824824#M40857</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I am trying to do a mediation analysis in which brain volumes are the mediator (continuous), meditteranean diet the exposure (continuous), and cognitive test scores (continuous) the outcome. However, whenver I run the analysis I get the following message in the log and my code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;FONT color="#008000"&gt;WARNING: The covariance matrix for the outcome model is not positive definite. The convergence is
         questionable.
WARNING: The covariance matrix for the mediator model is not positive definite. The convergence is
         questionable.
WARNING: Standard errors are not computed for the effect estimates.
&lt;/FONT&gt;

proc causalmed data=cog;
   model  icogstroop  = Meddietavg per_TBV25 ;
   mediator per_TBV25 =Meddietavg ;
   covar age0 sex race center education avgpact smoke avgbmi caloriesavg htn anycvd diab2hhba1ccum25;
run;


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 05:21:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/824824#M40857</guid>
      <dc:creator>zaldarsa</dc:creator>
      <dc:date>2022-07-22T05:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed: Mediation Analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/825371#M40881</link>
      <description>Would the warning go away if you comment out the covar statement?</description>
      <pubDate>Mon, 25 Jul 2022 22:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/825371#M40881</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-07-25T22:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed: Mediation Analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/825448#M40886</link>
      <description>&lt;P&gt;The general meaning of the message is that the data does not support either of the causal models.&amp;nbsp; The likely culprit is one or more of the covariates causing a singularity in the model.&amp;nbsp; Unfortunately it is sometimes difficult to know which one(s) so in practice the easiest thing to do is a process of elimination by starting with just a single covariate and then adding from there until the problem occurs.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 14:39:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/825448#M40886</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-07-26T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed: Mediation Analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/826776#M40944</link>
      <description>&lt;P&gt;Yes, the error message did go away, so I decided to just do the mediation analysis without the covariates!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 03:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/826776#M40944</guid>
      <dc:creator>zaldarsa</dc:creator>
      <dc:date>2022-08-03T03:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Causalmed: Mediation Analysis</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/826934#M40956</link>
      <description>That is because of overfitting. It is usually one or two of them that have a lot of categories. Like &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt; said, you can try adding them back one-by-one and leave out the trouble-makers.</description>
      <pubDate>Wed, 03 Aug 2022 16:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Causalmed-Mediation-Analysis/m-p/826934#M40956</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-08-03T16:25:49Z</dc:date>
    </item>
  </channel>
</rss>

