<?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: Help! proc MI FCS weird error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760002#M240276</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thanks. The question is even I downsized to only use one predictor, the same error is still there. I tried many ways to regress.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 16:00:53 GMT</pubDate>
    <dc:creator>AmyJuly</dc:creator>
    <dc:date>2021-08-06T16:00:53Z</dc:date>
    <item>
      <title>Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759809#M240184</link>
      <description>&lt;P&gt;Hi, Please help.&lt;/P&gt;&lt;P&gt;I am trying to impute my data (contiounous), and these are the variables. Starting from y_T11, the missing starts.&lt;/P&gt;&lt;P&gt;I have my code as below. However, SAS always gave me error message&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable N N Miss&lt;BR /&gt;y_T0 39 0&lt;BR /&gt;y_T1 39 0&lt;BR /&gt;y_T2 39 0&lt;BR /&gt;y_T3 39 0&lt;BR /&gt;y_T4 39 0&lt;BR /&gt;y_T5 39 0&lt;BR /&gt;y_T6 39 0&lt;BR /&gt;y_T7 39 0&lt;BR /&gt;y_T8 39 0&lt;BR /&gt;y_T9 39 0&lt;BR /&gt;y_T10 39 0&lt;BR /&gt;y_T11 37 2&lt;BR /&gt;y_T12 35 4&lt;BR /&gt;y_T13 34 5&lt;BR /&gt;y_T14 27 12&lt;BR /&gt;y_T15 25 14&lt;BR /&gt;y_T16 20 19&lt;BR /&gt;y_T17 16 23&lt;BR /&gt;y_T18 13 26&lt;BR /&gt;y_T19 6 33&lt;BR /&gt;y_T20 6 33&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mi data=y_hr_wide nimpute=30 out=imp_reg seed=1234 ;&lt;BR /&gt;class gender; /*patient charactersitic data are not missing.*/&lt;BR /&gt;var gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T12 y_T13 y_T14 y_T15 y_T16 y_T17 y_T18 y_T19 y_T20;&lt;BR /&gt;fcs regpmm(y_T11 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10) ;&lt;BR /&gt;fcs regpmm(y_T12 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11) ;&lt;BR /&gt;fcs regpmm(y_T13 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T12);&lt;BR /&gt;fcs regpmm(y_T14 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T12 y_T13) ;&lt;BR /&gt;fcs regpmm(y_T15 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14) ;&lt;BR /&gt;fcs reg(y_T16 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14 y_T15) ;&lt;BR /&gt;fcs reg(y_T17 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14 y_T15 y_T16) ;&lt;BR /&gt;fcs reg(y_T18 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14 y_T15 y_T16 y_T17) ;&lt;BR /&gt;fcs reg(y_T19 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14 y_T15 y_T16 y_T17 y_T18) ;&lt;BR /&gt;fcs reg(y_T20 = gender age bmi y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T13 y_T14 y_T15 y_T16 y_T17 y_T18 y_T19) ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR: Not enough observations to fit regression models for variable y_T16 with an FCS &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;regression method.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to impute T11-T15 successfully, but every time starting T16, it failed. I searched online and I couldn't find anything. I tried to simplify the regression model many ways and still not working. What are the possible reasons and how to fix this? Please help! I am waiting online and Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 21:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759809#M240184</guid>
      <dc:creator>AmyJuly</dc:creator>
      <dc:date>2021-08-05T21:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759820#M240187</link>
      <description>Well, starting at T16 you have only 20 observations going down to 6 at the end. &lt;BR /&gt;&lt;BR /&gt;If the model has 18 variables that's impossible mathematically as you have more predictors than observations. &lt;BR /&gt;You need more data or to drop some variables from the model.</description>
      <pubDate>Thu, 05 Aug 2021 21:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759820#M240187</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-05T21:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759832#M240195</link>
      <description>So you are saying that FCS cannot handle missing observations that are more than about 50%? As it is assumed MAR, the regression line can use the imputations just calculated, so I didn’t think this would be a problem. Do you have some more references on that?&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Aug 2021 22:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759832#M240195</guid>
      <dc:creator>AmyJuly</dc:creator>
      <dc:date>2021-08-05T22:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759851#M240204</link>
      <description>&lt;P&gt;Even I downsized to only use one predictor, the same error is still there.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 00:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759851#M240204</guid>
      <dc:creator>AmyJuly</dc:creator>
      <dc:date>2021-08-06T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759974#M240259</link>
      <description>&lt;P&gt;Regression cannot handle cases where you have less observations than predictors.&lt;BR /&gt;&lt;A href="https://stats.stackexchange.com/questions/335263/more-predictors-than-observations" target="_blank" rel="noopener"&gt;https://stats.stackexchange.com/questions/335263/more-predictors-than-observations&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/392444"&gt;@AmyJuly&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;So you are saying that&lt;STRONG&gt; FCS cannot handle missing observations that are more than about 50%&lt;/STRONG&gt;? As it is assumed MAR, the regression line can use the imputations just calculated, so I didn’t think this would be a problem. Do you have some more references on that?&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:26:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/759974#M240259</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-06T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760002#M240276</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks. The question is even I downsized to only use one predictor, the same error is still there. I tried many ways to regress.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760002#M240276</guid>
      <dc:creator>AmyJuly</dc:creator>
      <dc:date>2021-08-06T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760007#M240280</link>
      <description>&lt;P&gt;Show your full code and log please for your new code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And check the cross between your missing data. For example, if you only have 6 values for the one variable and you're trying to predict it using another variable that has all missing it won't work either. For your last few I can see that easily happening.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760007#M240280</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-06T16:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760011#M240283</link>
      <description>&lt;P&gt;proc mi data=y_hr_wide nimpute=30 out=imp_reg seed=1234 ;&lt;BR /&gt;var y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T12 y_T13 y_T14 y_T15 y_T16 y_T17 y_T18 y_T19 y_T20;&lt;BR /&gt;proc mi data=y_hr_wide nimpute=30 out=imp_reg seed=1234 ;&lt;BR /&gt;var y_T0 y_T1 y_T2 y_T3 y_T4 y_T5 y_T6 y_T7 y_T8&lt;BR /&gt;y_T9 y_T10 y_T11 y_T12 y_T13 y_T14 y_T15 y_T16 y_T17 y_T18 y_T19 y_T20;&lt;BR /&gt;fcs regpmm(y_T11 = y_T0 y_T8 y_T9 y_T10) ;&lt;BR /&gt;fcs regpmm(y_T12 = y_T9 y_T10 y_T11) ;&lt;BR /&gt;fcs regpmm(y_T13 = y_T10 y_T11 y_T12);&lt;BR /&gt;fcs regpmm(y_T14 = y_T11 y_T12 y_T13) ;&lt;BR /&gt;fcs regpmm(y_T15 = y_T12 y_T13 y_T14) ;&lt;BR /&gt;fcs regpmm(y_T16 = y_T15) ;&lt;BR /&gt;fcs regpmm(y_T17 = y_T16) ;&lt;BR /&gt;fcs regpmm(y_T18 = y_T17) ;&lt;BR /&gt;fcs regpmm(y_T19 = y_T18) ;&lt;BR /&gt;fcs regpmm(y_T20 = y_T19) ;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 16:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760011#M240283</guid>
      <dc:creator>AmyJuly</dc:creator>
      <dc:date>2021-08-06T16:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help! proc MI FCS weird error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760014#M240284</link>
      <description>Show your full code and log please for your new code.</description>
      <pubDate>Fri, 06 Aug 2021 16:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Help-proc-MI-FCS-weird-error/m-p/760014#M240284</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-08-06T16:48:25Z</dc:date>
    </item>
  </channel>
</rss>

