<?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: Imputation in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939768#M46902</link>
    <description>I think you don't need CLASS statement in PROC MIANALYZE ,&lt;BR /&gt;Just list the value of PAIS in MODELEFFECTS ,or using colon operator to represent them all.&lt;BR /&gt;&lt;BR /&gt;PROC MIANALYZE PARMS=lgparms;&lt;BR /&gt;MODELEFFECTS intercept pais: ;&lt;BR /&gt;or&lt;BR /&gt;MODELEFFECTS intercept pais_a  pais_b ..........;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 18 Aug 2024 01:07:12 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-08-18T01:07:12Z</dc:date>
    <item>
      <title>Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939756#M46895</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am attempting to obtain the combined parameters from 25 logistic regressions using imputed datasets.&lt;/P&gt;&lt;P&gt;At this stage, I am not concerned about the imputation method.&lt;/P&gt;&lt;P&gt;Initially, I followed an example from the SAS manual, which worked fine.&lt;/P&gt;&lt;P&gt;However, when applying the same approach to my dataset, I successfully obtained the parameter estimates and standard errors, but the other statistics appear as missing values.&lt;/P&gt;&lt;P&gt;Could you please help me identify what might be wrong with my code?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CODES:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC LOGISTIC descending DATA=TOT1;&lt;BR /&gt;CLASS PAIS (REF='BR')/ param=glm;;&lt;BR /&gt;MODEL IVA=PAIS;&lt;BR /&gt;BY _IMPUTATION_;&lt;BR /&gt;ODS OUTPUT PARAMETERESTIMATES=lgsparms;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC MIANALYZE PARMS(classvar=classval)=lgparms;&lt;BR /&gt;class pais;&lt;BR /&gt;MODELEFFECTS intercept pais;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RESULTS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;The MIANALYZE Procedure&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Model InformationPARMS Data SetNumber of Imputations &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;WORK.LGPARMS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;25&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Variance Information (25 Imputations)Parameter pais Variance DF RelativeIncreasein Variance FractionMissingInformation RelativeEfficiencyBetween Within Totalintercept &amp;nbsp;pais MEpais PE &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0.023737&lt;/TD&gt;&lt;TD&gt;0.023737&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0.049479&lt;/TD&gt;&lt;TD&gt;0.049479&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0.049514&lt;/TD&gt;&lt;TD&gt;0.049514&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Parameter Estimates (25 Imputations)Parameter pais Estimate Std Error 95%&amp;nbsp;Confidence&amp;nbsp;Limits DF Minimum Maximum Theta0 t for H0:Parameter=Theta0 Pr&amp;nbsp;&amp;gt;&amp;nbsp;|t|intercept &amp;nbsp;pais MEpais PE &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;5.382674&lt;/TD&gt;&lt;TD&gt;0.154068&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;5.382674&lt;/TD&gt;&lt;TD&gt;5.382674&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.150375&lt;/TD&gt;&lt;TD&gt;0.222438&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;0.150375&lt;/TD&gt;&lt;TD&gt;0.150375&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.210373&lt;/TD&gt;&lt;TD&gt;0.222518&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;TD&gt;-0.210373&lt;/TD&gt;&lt;TD&gt;-0.210373&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 18:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939756#M46895</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2024-08-17T18:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939758#M46896</link>
      <description>&lt;P&gt;When you have a CLASS variable, one of the levels will always have a zero or missing for its estimate.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 18:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939758#M46896</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-17T18:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939759#M46897</link>
      <description>&lt;P&gt;Dear Paige,&lt;/P&gt;&lt;P&gt;yes.&lt;/P&gt;&lt;P&gt;When I posted the results the platform changed the tables.&lt;/P&gt;&lt;P&gt;The variable pais has three categories and one is the reference. So, I have the results for two categories.&lt;/P&gt;&lt;P&gt;However in the results, I have only the parameter estimates and their respective standard errors. The p-value is missing and all the other statistics are missing.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 19:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939759#M46897</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2024-08-17T19:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939762#M46898</link>
      <description>&lt;P&gt;When SAS forces an estimate to be zero, there is no standard error or confidence interval.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you want to use the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_mianalyze_syntax06.htm" target="_self"&gt;TEST statement&lt;/A&gt; in PROC MIANALYZE to obtain the value of the linear combinations of the model effects.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 20:57:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939762#M46898</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-17T20:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939766#M46900</link>
      <description>&lt;P&gt;Dear Page,&lt;/P&gt;&lt;P&gt;I believe I figured out what is happening.&lt;/P&gt;&lt;P&gt;I will post here the results&amp;nbsp; for a variable that has no missing value (DST):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Parameter Estimates (25 Imputations)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Parameter&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Estimate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Std Error&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;95%&amp;nbsp;Confidence&amp;nbsp;Limits&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;DF&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Minimum&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Maximum&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Theta0&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;t for H0:&lt;BR /&gt;Parameter=Theta0&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;Pr&amp;nbsp;&amp;gt;&amp;nbsp;|t|&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;intercept&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-5.780452&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.219929&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-6.21156&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-5.34935&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10234&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-5.868025&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-5.683721&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;-26.28&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&amp;lt;.0001&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;dst&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1.030766&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.322012&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.39934&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1.66219&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2637.5&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.823595&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1.204587&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3.20&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0.0014&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, we have the estimate and its respective standard error, its 95% confidence limits, and the p-values. For the variable pais (country) we had only the values for the parameters and their respective confidence interval. But the country is a variable without any missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Regards&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>Sat, 17 Aug 2024 21:47:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939766#M46900</guid>
      <dc:creator>iuri_leite</dc:creator>
      <dc:date>2024-08-17T21:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939767#M46901</link>
      <description>&lt;P&gt;For a class variable like Country, one of the levels will always have a zero estimate, and missing for standard error and for confidence interval. There is nothing wrong with this, that's how SAS operates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please read this description of why SAS does this: &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/Interpreting-Multivariate-Linear-Regression-with-Categorical/m-p/591230#M28913&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 00:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939767#M46901</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-18T00:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939768#M46902</link>
      <description>I think you don't need CLASS statement in PROC MIANALYZE ,&lt;BR /&gt;Just list the value of PAIS in MODELEFFECTS ,or using colon operator to represent them all.&lt;BR /&gt;&lt;BR /&gt;PROC MIANALYZE PARMS=lgparms;&lt;BR /&gt;MODELEFFECTS intercept pais: ;&lt;BR /&gt;or&lt;BR /&gt;MODELEFFECTS intercept pais_a  pais_b ..........;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Aug 2024 01:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939768#M46902</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-18T01:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939784#M46906</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I think you don't need CLASS statement in PROC MIANALYZE ,&lt;BR /&gt;Just list the value of PAIS in MODELEFFECTS ,or using colon operator to represent them all.&lt;BR /&gt;&lt;BR /&gt;PROC MIANALYZE PARMS=lgparms;&lt;BR /&gt;MODELEFFECTS intercept pais: ;&lt;BR /&gt;or&lt;BR /&gt;MODELEFFECTS intercept pais_a pais_b ..........;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You can change the parameterization of the model so that the coefficient which SAS forces to be zero is no longer zero. But you haven't gained anything, because its still the exact same model. There are an infinite number of ways to parameterize the model and each produces different coefficients, but they are all the same model.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 14:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939784#M46906</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-08-18T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Imputation</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939793#M46910</link>
      <description>&lt;P&gt;I believe that if you check the LOG you will see an explanation for the missing results in the form of a WARNING about the between imputation variance being zero.&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csF53863FF"&gt;The message you are receiving can have a number of possible causes. &amp;nbsp;The first is that there is some problem with the imputation model itself (I have seen where people have left the response variable off the VAR statement in Proc MI as an example). &amp;nbsp;In general though it occurs when the missing data has no influence on the sampling error of a parameter estimate. &amp;nbsp;There is no fix or adjustment for that, but it does require some further investigation on your part. &amp;nbsp;Usually it is an indication of a problem with the imputation model with possible causes ranging from a poor imputation model to no real need to impute due to a very small fraction of missing information &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csF53863FF"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs2654AE3A"&gt;&lt;SPAN class="csF53863FF"&gt;Without fixing the problem, when the between imputation variance is zero then the number of Degrees of Freedom is undefined so you cannot get a confidence interval or p-values. &amp;nbsp;If you are unable to determine the cause then one suggestion would be that, if there are only minimum differences among these within-imputation variances, then look at the results for that variable for one of the imputations. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2024 22:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Imputation/m-p/939793#M46910</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2024-08-18T22:35:21Z</dc:date>
    </item>
  </channel>
</rss>

