<?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 Warning: within-imputation StdErr is zero for Variable Risk in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-within-imputation-StdErr-is-zero-for-Variable-Risk/m-p/740581#M35997</link>
    <description>&lt;P&gt;Multiple imputation: using proc freq procedure to summarize an imputation dataset (number of imputation=5). The statistics need to find are "proportion of responders" and "95%CI of proportion".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="simsun,hei" size="2"&gt;PROC FREQ DATA= Impdsin;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; By NIMPUTE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Table TRTN*depvar / RiskDiff(Equal CL=(Wald));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Ods Output RiskDiffCol2 = Imp_propci01 (Where=(Index(Row, 'Row'))); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Ods Output RiskDiffCol2 = Imp_diffci01 (Where=(Index(Row, 'Difference'))); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="simsun,hei" size="2"&gt;PROC MIANALYZE DATA = Imp_propci01;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; By TRTN;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Modeleffects Risk ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Stderr ASE ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; ODS Output&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; ParameterEstimates= Imp_propci_Miana;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning Appear because&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yw2757_0-1620759727975.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59222iF4E27B2D9B4C7019/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yw2757_0-1620759727975.png" alt="yw2757_0-1620759727975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yw2757_1-1620759747551.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59223i39580F0284E6DD81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yw2757_1-1620759747551.png" alt="yw2757_1-1620759747551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway to solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&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, 11 May 2021 19:04:01 GMT</pubDate>
    <dc:creator>yw2757</dc:creator>
    <dc:date>2021-05-11T19:04:01Z</dc:date>
    <item>
      <title>Warning: within-imputation StdErr is zero for Variable Risk</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-within-imputation-StdErr-is-zero-for-Variable-Risk/m-p/740581#M35997</link>
      <description>&lt;P&gt;Multiple imputation: using proc freq procedure to summarize an imputation dataset (number of imputation=5). The statistics need to find are "proportion of responders" and "95%CI of proportion".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="simsun,hei" size="2"&gt;PROC FREQ DATA= Impdsin;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; By NIMPUTE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Table TRTN*depvar / RiskDiff(Equal CL=(Wald));&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Ods Output RiskDiffCol2 = Imp_propci01 (Where=(Index(Row, 'Row'))); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Ods Output RiskDiffCol2 = Imp_diffci01 (Where=(Index(Row, 'Difference'))); &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="simsun,hei" size="2"&gt;PROC MIANALYZE DATA = Imp_propci01;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; By TRTN;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Modeleffects Risk ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; Stderr ASE ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; ODS Output&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;&amp;nbsp; ParameterEstimates= Imp_propci_Miana;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="simsun,hei" size="2"&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning Appear because&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yw2757_0-1620759727975.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59222iF4E27B2D9B4C7019/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yw2757_0-1620759727975.png" alt="yw2757_0-1620759727975.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yw2757_1-1620759747551.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/59223i39580F0284E6DD81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yw2757_1-1620759747551.png" alt="yw2757_1-1620759747551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway to solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&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, 11 May 2021 19:04:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-within-imputation-StdErr-is-zero-for-Variable-Risk/m-p/740581#M35997</guid>
      <dc:creator>yw2757</dc:creator>
      <dc:date>2021-05-11T19:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Warning: within-imputation StdErr is zero for Variable Risk</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-within-imputation-StdErr-is-zero-for-Variable-Risk/m-p/740626#M35999</link>
      <description>&lt;P&gt;When there is no variability for a variable within a group the SdtErr is 0. Can't be "fixed" as that comes from you data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;data example;
  input x y;
datalines;
1   23
1   22
1   24
2   18
2   18
2   18
2   18
;

proc means data=example min max mean stderr lclm uclm;
  by x;
  var y;
run;&lt;/PRE&gt;
&lt;P&gt;Note that for X=2 the STDERR is 0 because all of the values of Y are the same for that value of X.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Likely that means for one or more values of your variable TRTN your dependent variable has the same values, i.e. all of them imputed(possibly) to the same value, or before your imputation no values were missing, all the same and none imputed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 21:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-within-imputation-StdErr-is-zero-for-Variable-Risk/m-p/740626#M35999</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-11T21:27:41Z</dc:date>
    </item>
  </channel>
</rss>

