<?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/780558#M38327</link>
    <description>&lt;P&gt;Can you run the following and post the output and LOG?&lt;/P&gt;
&lt;P&gt;PROC reg data=ch3ex;&lt;/P&gt;
&lt;P&gt;model salary = Time Cits/collin;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Nov 2021 20:22:38 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2021-11-16T20:22:38Z</dc:date>
    <item>
      <title>PROC CAUSALMED Warning messages</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780529#M38325</link>
      <description>&lt;P&gt;I am trying to use PROC CAUSALMED through SAS OnDemand for Academics (SAS Studio). I'd like to obtain the bootstrap CI for the mediation effect in a very simple mediation model (one predictor, one mediator). I am using the program shown below, and am getting the warning messages below the program (and no standard errors or test output). The variables are all continuous, and are somewhat correlated but are not linearly dependent. I can get all output using PROC REG so I know the models can be estimated. Any ideas on how I can get output for testing the mediation effect?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC CAUSALMED data=ch3ex;&lt;/P&gt;&lt;P&gt;model salary = Time Cits;&lt;/P&gt;&lt;P&gt;mediator Cits = Time;&lt;/P&gt;&lt;P&gt;bootstrap;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;WARNING: The covariance matrix for the outcome model is not positive definite. The convergence is questionable.&lt;/P&gt;&lt;P&gt;WARNING: Standard errors are not computed for the effect estimates.&lt;/P&gt;&lt;P&gt;WARNING: Bootstrapping is not done because the convergence of the fitting for either the outcome or the mediator model is&lt;/P&gt;&lt;P&gt;questionable.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 18:58:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780529#M38325</guid>
      <dc:creator>RAStats</dc:creator>
      <dc:date>2021-11-16T18:58:53Z</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/780537#M38326</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My colleague&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;is probably a good "resource" to help you out here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would say the data is not supporting the model&amp;nbsp;but that may be a little short (the model is indeed very simple and you can fit something&amp;nbsp;close to it with PROC REG).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This usage note may be an additional inspiration :&lt;BR /&gt;Usage Note&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;59081:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/I&gt;Mediation analysis&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/kb/59/081.html" target="_blank"&gt;http://support.sas.com/kb/59/081.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 19:30:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780537#M38326</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2021-11-16T19:30:42Z</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/780558#M38327</link>
      <description>&lt;P&gt;Can you run the following and post the output and LOG?&lt;/P&gt;
&lt;P&gt;PROC reg data=ch3ex;&lt;/P&gt;
&lt;P&gt;model salary = Time Cits/collin;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 20:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780558#M38327</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-11-16T20:22:38Z</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/780602#M38330</link>
      <description>&lt;P&gt;Sure; I even added vif... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Collinearity is not an issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RAStats_0-1637100481709.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65781i627C477BA036BA87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RAStats_0-1637100481709.png" alt="RAStats_0-1637100481709.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 22:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780602#M38330</guid>
      <dc:creator>RAStats</dc:creator>
      <dc:date>2021-11-16T22:08:23Z</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/780716#M38334</link>
      <description>&lt;P&gt;Could you also post the full output from:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means&amp;nbsp;data=ch3ex min max mean std;&lt;/P&gt;
&lt;P&gt;var salary Time Cits;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect that, given the magnitude of the estimates, the data itself might be ill-conditioned, but this would confirm that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 12:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780716#M38334</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-11-17T12:20:28Z</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/780780#M38338</link>
      <description>&lt;P&gt;Sure, here is the output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RAStats_0-1637167912232.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65840i7ECBEFB33FE0E71B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RAStats_0-1637167912232.png" alt="RAStats_0-1637167912232.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's really a very simple data set and I find it strange that it is causing problems for this PROC.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 16:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780780#M38338</guid>
      <dc:creator>RAStats</dc:creator>
      <dc:date>2021-11-17T16:55:18Z</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/780790#M38341</link>
      <description>&lt;P&gt;Update: based on your response, I used salary/1000 instead of salary and that produced output. The coefficients would be on a different scale, though, and I'm not sure how I'd explain the need for this. If you have an explanation as to why/when re-scaling is necessary, I'd be interested in understanding it better (and I hope that in the future the PROC can be made more flexible).&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 17:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780790#M38341</guid>
      <dc:creator>RAStats</dc:creator>
      <dc:date>2021-11-17T17:22:35Z</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/780839#M38343</link>
      <description>&lt;P&gt;Very often you will see things such as salary reported on a different scale for this reason--ill conditioned data due to large units.&amp;nbsp; All you end up doing is changing the units by rescaling so you would just report the results in the new units.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 19:20:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780839#M38343</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-11-17T19:20:45Z</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/780878#M38346</link>
      <description>&lt;P&gt;I can certainly re-scale, it is just unclear why it would be considered ill-conditioned with this PROC when it can be analyzed (and the models converge) without issue using all other regression procedures.&lt;/P&gt;&lt;P&gt;I would also gently recommend a more accurate/informative "Warning" message for this situation (in case anyone who has control over that reads this).&lt;/P&gt;&lt;P&gt;In any case, thanks for identifying the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 21:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-CAUSALMED-Warning-messages/m-p/780878#M38346</guid>
      <dc:creator>RAStats</dc:creator>
      <dc:date>2021-11-17T21:27:42Z</dc:date>
    </item>
  </channel>
</rss>

