<?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: Generate parameters form Proc CAUSALMED for MIANALYZE in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818203#M40400</link>
    <description>&lt;P&gt;Since you have CLASS effects in your CAUSALMED code, you probably need the CLASS statement in your PROC MIANALYZE step. You may also need the CLASSVAR option on the PARMS= option to further identify how your CLASS variables are represented in the input to MIANALYZE.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 20:21:49 GMT</pubDate>
    <dc:creator>StatsMan</dc:creator>
    <dc:date>2022-06-14T20:21:49Z</dc:date>
    <item>
      <title>Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817752#M40380</link>
      <description>&lt;P&gt;Hi everyone! I’m working on the causal mediation analysis. Because of missing data in my study variables, I chose multiple imputation to generate 5 completed datasets. After finishing the causalmed analysis of all dataset. I found it difficult to pool the results together. The examples given in the sashelp use ‘ods output parameterestimates = result’ to generate the result for MIANALYZE. But when I put same syntax in sas, a warning occurred listed below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Output 'parameterestimates' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options are used to produce the requested output object. For example, verify that the NOPRINT option is not used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve tried to replace ‘ParameterEstimates’ with ‘MediatorEstimates’. The result stayed same. Is there any code that could generate parameter estimates in proc causalmed that could be used in MIANALYZE?&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code&lt;/P&gt;&lt;P&gt;proc mi data = pat nimpute = 5 out = newpat5 minimum = 0 seed = 309943001;&lt;/P&gt;&lt;P&gt;fcs regpmm(leptin) outiter = para5;&lt;/P&gt;&lt;P&gt;var hwbmi vsage1 cvd leptin;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc causalmed data = newpat5;&lt;/P&gt;&lt;P&gt;class status(ref = first) drink smoke bmi cvd;&lt;/P&gt;&lt;P&gt;model status = event leptin;&lt;/P&gt;&lt;P&gt;mediator leptin = event; covar drink smoke bmi cvd;&lt;/P&gt;&lt;P&gt;bootstrap CI (PERC) Nboot = 1000;&lt;/P&gt;&lt;P&gt;by _Imputation_;&lt;/P&gt;&lt;P&gt;ods output parameterestimates = result;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 11:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817752#M40380</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-13T11:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817763#M40381</link>
      <description>&lt;P&gt;Moved this post to 'Statistical Procedures' board&lt;/P&gt;
&lt;P&gt;and asking&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;for help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 12:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817763#M40381</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-13T12:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817817#M40391</link>
      <description>Thanks!</description>
      <pubDate>Mon, 13 Jun 2022 15:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817817#M40391</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-13T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817818#M40392</link>
      <description>&lt;P&gt;So can &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt; kindly give me an answer?&lt;/P&gt;&lt;P&gt;If there's no proper syntax for causalmed, can I create a dataset similar to the ParameterEstimats mentioned above and import it as the data for proc MIANALYZE?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 15:09:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817818#M40392</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-13T15:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817828#M40393</link>
      <description>&lt;P&gt;An update to the question. I've found the proper syntax, 'ods output EffectSummary = result;', which could output the ORs of CDE, NDE and NIE.&lt;/P&gt;&lt;P&gt;But I've encountered a new problem. How could I input proper syntax of 'modeleffects' syntax in MIANALYZE to pool the ORs of 5 datasets together?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My new code&lt;/P&gt;&lt;P&gt;proc causalmed data = newpat5;&lt;BR /&gt;class status(ref = first) drink smoke bmi cvd;&lt;BR /&gt;model status = event leptin;&lt;BR /&gt;mediator leptin = event;&lt;BR /&gt;covar drink smoke bmi cvd;&lt;BR /&gt;bootstrap CI (PERC) Nboot = 1000;&lt;BR /&gt;by _Imputation_;&lt;BR /&gt;ods output EffectSummary = result;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mianalyze parms = result;&lt;BR /&gt;modeleffects leptin;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;(I know it is not the proper syntax here)&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 15:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817828#M40393</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-13T15:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817859#M40394</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/415593"&gt;@Well21&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just checked the status of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173"&gt;@SAS_Rob&lt;/a&gt;&amp;nbsp;and he is unavailable for some time.&lt;/P&gt;
&lt;P&gt;And myself, I have very limited experience with the SAS / STAT&amp;nbsp;&lt;SPAN&gt;multiple imputation imputation procedures (MI &amp;amp; MIANALYZE).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="inherit"&gt;If no answer by tomorrow evening (CEST &lt;/FONT&gt;time zone&lt;FONT face="inherit"&gt;), I will ping someone from Technical Support to have a look !&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;( No time to dig into it myself this week&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;and I cannot respond from the top of my head )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 17:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817859#M40394</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-06-13T17:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817974#M40395</link>
      <description>Thanks! I'll recheck the topic in evening.</description>
      <pubDate>Tue, 14 Jun 2022 00:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/817974#M40395</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-14T00:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818203#M40400</link>
      <description>&lt;P&gt;Since you have CLASS effects in your CAUSALMED code, you probably need the CLASS statement in your PROC MIANALYZE step. You may also need the CLASSVAR option on the PARMS= option to further identify how your CLASS variables are represented in the input to MIANALYZE.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 20:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818203#M40400</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2022-06-14T20:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818757#M40463</link>
      <description>Thanks for the reply!&lt;BR /&gt;My focus is simply on the continuous variable 'leptin' here. So I think there's no need for classvar option in the PROC MIANALYZE.&lt;BR /&gt;The problem I think is how to quote the TE, CDE, NDE and NIE generated from PROC CAUSALMED and put into the 'modeleffects' syntax.</description>
      <pubDate>Fri, 17 Jun 2022 08:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818757#M40463</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-17T08:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generate parameters form Proc CAUSALMED for MIANALYZE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818762#M40464</link>
      <description>&lt;P&gt;Hi, everyone!&lt;/P&gt;&lt;P&gt;An update to the question.&lt;/P&gt;&lt;P&gt;Since my problem here is simply the forms of input data in the 'modeleffects' syntax in PROC MIANALYZE, I tried to create a dataset containing parameter estimates, standard error and 95% confidence intervals of the NDE, NIE and so on separately by _imputation_ numbers.&lt;/P&gt;&lt;P&gt;It works!&lt;/P&gt;&lt;P&gt;Below is the screenshot of my self-made input data, and the result of&amp;nbsp;PROC MIANALYZE.&lt;/P&gt;&lt;P&gt;Still I'm not quite sure of the results. Can anyone judge whether my way is right or not? (&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/155173" target="_blank"&gt;@SAS_Rob&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for help!)&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Well21_2-1655454450620.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72387i55EF0F2738A182BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Well21_2-1655454450620.png" alt="Well21_2-1655454450620.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Well21_1-1655454420153.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72386i375C564A61BA9617/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Well21_1-1655454420153.png" alt="Well21_1-1655454420153.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 08:30:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Generate-parameters-form-Proc-CAUSALMED-for-MIANALYZE/m-p/818762#M40464</guid>
      <dc:creator>Well21</dc:creator>
      <dc:date>2022-06-17T08:30:04Z</dc:date>
    </item>
  </channel>
</rss>

