<?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: Why the variable with missing value can't be all missing in pro mi (EM method)? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585863#M167173</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/287739"&gt;@diwang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Fitness1;
   input Oxygen RunTime  @@;
   datalines;
44.609   .
54.297   .     
49.874   .   
  .      .    
39.442   .   
50.541   .   
44.754   .     

;
run;

proc mi data=Fitness1 seed=1518971 simple nimpute=0;
   em itprint outem=outem;
   var Oxygen RunTime;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here log says:&amp;nbsp;WARNING: All observations are missing for variable RunTime. This variable will be excluded from the analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask if a&amp;nbsp;variable is all missing, the EM&amp;nbsp;&lt;SPAN&gt;algorithm&amp;nbsp;can't estimate the parameter? Why?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do I have my pocket? (to quote a famous hobbit)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure is attempting to make a "reasonable" estimate to replace missing values using information from records with non-missing values to build the rules. If there are no non-missing values then their is nothing to build a rule from.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2019 15:39:14 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-09-03T15:39:14Z</dc:date>
    <item>
      <title>Why the variable with missing value can't be all missing in pro mi (EM method)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585539#M166994</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Fitness1;
   input Oxygen RunTime  @@;
   datalines;
44.609   .
54.297   .     
49.874   .   
  .      .    
39.442   .   
50.541   .   
44.754   .     

;
run;

proc mi data=Fitness1 seed=1518971 simple nimpute=0;
   em itprint outem=outem;
   var Oxygen RunTime;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here log says:&amp;nbsp;WARNING: All observations are missing for variable RunTime. This variable will be excluded from the analysis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to ask if a&amp;nbsp;variable is all missing, the EM&amp;nbsp;&lt;SPAN&gt;algorithm&amp;nbsp;can't estimate the parameter? Why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 03:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585539#M166994</guid>
      <dc:creator>diwang</dc:creator>
      <dc:date>2019-09-02T03:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why the variable with missing value can't be all missing in pro mi (EM method)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585863#M167173</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/287739"&gt;@diwang&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Fitness1;
   input Oxygen RunTime  @@;
   datalines;
44.609   .
54.297   .     
49.874   .   
  .      .    
39.442   .   
50.541   .   
44.754   .     

;
run;

proc mi data=Fitness1 seed=1518971 simple nimpute=0;
   em itprint outem=outem;
   var Oxygen RunTime;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here log says:&amp;nbsp;WARNING: All observations are missing for variable RunTime. This variable will be excluded from the analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to ask if a&amp;nbsp;variable is all missing, the EM&amp;nbsp;&lt;SPAN&gt;algorithm&amp;nbsp;can't estimate the parameter? Why?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do I have my pocket? (to quote a famous hobbit)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The procedure is attempting to make a "reasonable" estimate to replace missing values using information from records with non-missing values to build the rules. If there are no non-missing values then their is nothing to build a rule from.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 15:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585863#M167173</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-03T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why the variable with missing value can't be all missing in pro mi (EM method)?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585988#M167220</link>
      <description>&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the EM&amp;nbsp;algorithm can estimate the parameter with variables unobserved. Such as the&amp;nbsp;Oxygen is all observed and&amp;nbsp;RunTime&amp;nbsp; is all unobserved. Here assume (Oxygen,&amp;nbsp;RunTime ) ~ Normal (mu,sigma) ,and we use EM&amp;nbsp;algorithm&amp;nbsp; can estimate (mu,sigma). Is this wrong ?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 01:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-the-variable-with-missing-value-can-t-be-all-missing-in-pro/m-p/585988#M167220</guid>
      <dc:creator>diwang</dc:creator>
      <dc:date>2019-09-04T01:28:35Z</dc:date>
    </item>
  </channel>
</rss>

