<?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 mianalyze in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784516#M38509</link>
    <description>&lt;P&gt;Please post your code so that we can have a better chance of answering your questions.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 13:17:00 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2021-12-07T13:17:00Z</dc:date>
    <item>
      <title>proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784465#M38507</link>
      <description>&lt;P&gt;Hello statisticians,&lt;/P&gt;&lt;P&gt;I have been using proc mianalyze for&amp;nbsp;sometimes and i found that some variables showed statistical significance in each dataset after multiple imputation, but they didn't show&amp;nbsp;statistical significance in&amp;nbsp; proc mianalyse. I tried to change the number of imputation but unfortunately found that it did not work. I would be very grateful if anyone could explain this phenomenon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 04:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784465#M38507</guid>
      <dc:creator>FanRu</dc:creator>
      <dc:date>2021-12-07T04:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784513#M38508</link>
      <description>&lt;P&gt;Calling&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 12:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784513#M38508</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-12-07T12:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784516#M38509</link>
      <description>&lt;P&gt;Please post your code so that we can have a better chance of answering your questions.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 13:17:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784516#M38509</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-12-07T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784534#M38510</link>
      <description>&lt;P&gt;I am using proc traj to build a trajectory model and explore whether the covariates affect each trajectory group. Since proc traj does not have a by statement, I put together the parameter estimates for building the model using each impuation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;trajectory_imputation(data):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID TIME&amp;nbsp; &amp;nbsp; BMI&amp;nbsp; &amp;nbsp; pulse&amp;nbsp; &amp;nbsp;HDLC&amp;nbsp; &amp;nbsp; LDLC&amp;nbsp; &amp;nbsp; TC&amp;nbsp; &amp;nbsp; TG&amp;nbsp; &amp;nbsp; &amp;nbsp;glucose&amp;nbsp; &amp;nbsp; UA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp; &amp;nbsp;2002&amp;nbsp; &amp;nbsp; 23.0&amp;nbsp; &amp;nbsp; 87.0&amp;nbsp; &amp;nbsp; &amp;nbsp; 1.16&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.82&amp;nbsp; &amp;nbsp; &amp;nbsp;5.16&amp;nbsp; &amp;nbsp;1.93&amp;nbsp; &amp;nbsp; 4.82&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 357&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp; &amp;nbsp;2003&amp;nbsp; &amp;nbsp; 22.8&amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.18&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.80&amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A&amp;nbsp; &amp;nbsp;2004&amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;86 . 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2.30&amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4.54&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;359&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B&amp;nbsp; &amp;nbsp;2003&amp;nbsp; &amp;nbsp; 24.0&amp;nbsp; &amp;nbsp; 86 .0&amp;nbsp; &amp;nbsp; &amp;nbsp;1.19&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2.30&amp;nbsp; &amp;nbsp; &amp;nbsp; 5.17&amp;nbsp; &amp;nbsp;1.75&amp;nbsp; &amp;nbsp; 4.54&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; 358&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*mi*/&lt;/P&gt;&lt;P&gt;proc mi data=trajectory_imputation out=imputed&lt;BR /&gt;seed=2021 nimpute=20;&lt;BR /&gt;var BMI pulse HDLC LDLC TC TG glucose UA;&lt;BR /&gt;mcmc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*traj*/&lt;/P&gt;&lt;P&gt;data ParameterEstimates;&lt;BR /&gt;set oe; /*include PARMS STDERR COV*/&lt;BR /&gt;if _TYPE_="PARMS" or _TYPE_="STDERR";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;/*mianalyze for one trajectory group*/&lt;/P&gt;&lt;P&gt;proc transpose data=ParameterEstimates out=ParameterEstimates (rename=(_NAME_=Parameter PARMS=Estimate STDERR=StdErr));&lt;BR /&gt;var INTERC01 LINEAR01 QUADRA01 CUBIC01&amp;nbsp; BMI001 PULSE001&amp;nbsp; HDLC001 LDLC001 TC001 TG001 GLUCOSE001 UA001;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;id _TYPE_;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ODS OUTPUT ParameterEstimates=RESULT;&lt;BR /&gt;proc mianalyze parms=ParameterEstimates;&lt;BR /&gt;modeleffects INTERC01 LINEAR01 QUADRA01 CUBIC01&amp;nbsp; BMI001 PULSE001&amp;nbsp; HDLC001 LDLC001 TC001 TG001 GLUCOSE001 UA001;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also found that this situation may occur if the parameter estimates and standard errors of the variables between each imputation are large.Unfortunately, I&amp;nbsp; can't&amp;nbsp;figure out the reason for the large difference between each imputed datasets.Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 14:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784534#M38510</guid>
      <dc:creator>FanRu</dc:creator>
      <dc:date>2021-12-07T14:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784535#M38511</link>
      <description>&lt;P&gt;Without seeing your code I would say that this is likely due to a large fraction of missing information (FMI).&amp;nbsp; You should expect an increase in the variance (and thus a reduction in significance), specifically the between imputation variance, when the FMI is high.&amp;nbsp; This section of the documentation will be helpful in that regard.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_mianalyze_details09.htm" target="_blank"&gt;SAS Help Center: Multiple Imputation Efficiency&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other possible cause is that you have a bad imputation model (in the Proc MI step) or there is non-convergence in the MI models.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_mi_details34.htm" target="_blank"&gt;SAS Help Center: Checking Convergence in MCMC&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can post your code and LOG (including the MI, modeling and MIANALYZE steps) then there might be something more concrete I can suggest.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 14:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784535#M38511</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2021-12-07T14:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784551#M38512</link>
      <description>Thank you for your help! I also found that there is a large gap between the coefficient estimates and standard errors of some covariates between different datasets after imputation.Here below my code and LOG:&lt;BR /&gt;/*MI for longitudinal data*/&lt;BR /&gt;proc mi data=trajectory_imputation out=imputed seed=2021 nimpute=20;&lt;BR /&gt;var BMI pulse HDLC LDLC TC TG glucose UA;&lt;BR /&gt;mcmc timeplot(mean(BMI) mean(pulse) mean(HDLC) mean(LDLC) mean(TC) mean(TG) mean(glucose) mean(UA));&lt;BR /&gt;run;&lt;BR /&gt;WARNING: The TIMEPLOT option is ignored when ODS Graphics is enabled.&lt;BR /&gt;NOTE: The EM algorithm (MLE) converges in 12 iterations.&lt;BR /&gt;NOTE: The EM algorithm (posterior mode) converges in 1 iterations.&lt;BR /&gt;/*Trajectory modeling*/&lt;BR /&gt;proc traj data=imputed out=of. outplot=op outstat=os outest=oe;&lt;BR /&gt;id ID;&lt;BR /&gt;var target_variable0-target_variable12;&lt;BR /&gt;indep time0-time12;&lt;BR /&gt;model cnorm;&lt;BR /&gt;max 240;&lt;BR /&gt;ngroups 4;&lt;BR /&gt;order 3 5 4 5;&lt;BR /&gt;risk age sex;&lt;BR /&gt;tcov BMI0-BMI12 pulse0-pulse12 HDLC0-HDLC12 LDLC0-LDLC12 TC0-TC12 TG0-TG12 glucose0-glucose12 UA0-UA12;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data ParameterEstimates;&lt;BR /&gt;set oe;/*include PARMS,STDERR and COV*/&lt;BR /&gt;if _TYPE_="PARMS" or _TYPE_="STDERR";&lt;BR /&gt;run;&lt;BR /&gt;/*mianalyze for one trajectory group*/&lt;BR /&gt;proc transpose data=ParameterEstimates out=ParameterEstimates(rename=(_NAME_=Parameter PARMS=Estimate STDERR=StdErr));&lt;BR /&gt;var INTERC01 LINEAR01 QUADRA01 CUBIC01 BMI001 PULSE001 HDLC001 LDLC001 TC001 TG001 GLUCOSE001 UA001;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;id _TYPE_;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;ODS OUTPUT ParameterEstimates=RESULT;&lt;BR /&gt;proc mianalyze parms=ParameterEstimates.;&lt;BR /&gt;modeleffects INTERC01 LINEAR01 QUADRA01 CUBIC01 BMI001 PULSE001 HDLC001 LDLC001 TC001 TG001 GLUCOSE001 UA001;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2021 15:36:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784551#M38512</guid>
      <dc:creator>FanRu</dc:creator>
      <dc:date>2021-12-07T15:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc mianalyze</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784552#M38513</link>
      <description>Thanks a lot!</description>
      <pubDate>Tue, 07 Dec 2021 15:39:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-mianalyze/m-p/784552#M38513</guid>
      <dc:creator>FanRu</dc:creator>
      <dc:date>2021-12-07T15:39:24Z</dc:date>
    </item>
  </channel>
</rss>

