<?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: Using  mcmc inest = option with PROC MI in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/737916#M35858</link>
    <description>&lt;P&gt;As a work-around, you might consider reading mcmc_est_parms into the WORK library, and then hardcoding from TYPE= to TYPE=EST.&amp;nbsp; Without seeing that particular dataset, I can't say for sure what might be happening that would make the out= option lead to the behavior you mention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 13:56:42 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2021-04-29T13:56:42Z</dc:date>
    <item>
      <title>Using  mcmc inest = option with PROC MI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/737773#M35857</link>
      <description>&lt;P&gt;Running into a strange problem:&lt;/P&gt;
&lt;P&gt;I am trying to perform multiple imputation, save the estimates and apply that on a different dataset later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc mi data = rest out = rest_mi seed = 1234 nimpute = 5 noprint;
&amp;nbsp; mcmc chain = single initial = em outest = storedir.mcmc_est_parms;
&amp;nbsp; var f_:;
run;&lt;/PRE&gt;
&lt;PRE&gt;proc mi data = test out = mi noprint;
    mcmc inest = storedir.mcmc_est_parms;
    var f_:;
run;&lt;/PRE&gt;
&lt;P&gt;When I run both code within the same script one after the other, things work fine.&lt;/P&gt;
&lt;P&gt;But when I try to run the second part in a different program I get this message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;WARNING: The INEST= data set has TYPE=, not the required TYPE=EST. INEST= option will not be used.
WARNING: The default number of imputations has been changed from 5 to 25.&lt;/PRE&gt;
&lt;P&gt;Any thoughts would be appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 00:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/737773#M35857</guid>
      <dc:creator>mprathap</dc:creator>
      <dc:date>2021-04-29T00:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using  mcmc inest = option with PROC MI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/737916#M35858</link>
      <description>&lt;P&gt;As a work-around, you might consider reading mcmc_est_parms into the WORK library, and then hardcoding from TYPE= to TYPE=EST.&amp;nbsp; Without seeing that particular dataset, I can't say for sure what might be happening that would make the out= option lead to the behavior you mention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/737916#M35858</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-04-29T13:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using  mcmc inest = option with PROC MI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/738551#M35867</link>
      <description>&lt;P&gt;I suspect that you have accidentally changed the data set before you use it again as it should have no bearing on whether you use it right away or not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would run a Proc CONTENTS right before the distant MI call to find out what is going on with the data set type.&amp;nbsp; You could set it to TYPE=EST as someone else suggested previously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Using-mcmc-inest-option-with-PROC-MI/m-p/738551#M35867</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-05-03T11:31:12Z</dc:date>
    </item>
  </channel>
</rss>

