<?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 MI - Height &amp;amp; Weight of obs 128 still missing in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844202#M41827</link>
    <description>Thanks Rick! That helped.</description>
    <pubDate>Mon, 14 Nov 2022 20:11:23 GMT</pubDate>
    <dc:creator>drkd</dc:creator>
    <dc:date>2022-11-14T20:11:23Z</dc:date>
    <item>
      <title>PROC MI - Height &amp; Weight of obs 128 still missing</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844043#M41822</link>
      <description>&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;I'm trying to impute height &amp;amp; weight of row 128 in this dsn but not sure what I am missing.... I can't seem to impute these 2 columns in obs 128.&amp;nbsp; &amp;nbsp;Any ideas?&lt;BR /&gt;&lt;BR /&gt;DATA HEART;SET SASHELP.HEART;RUN;&lt;BR /&gt;PROC PRINT DATA=HEART(FIRSTOBS=126 OBS=130);TITLE 'BEFORE IMPUTING';RUN;&lt;BR /&gt;proc mi data=HEART seed=12345 nimpute=5 out=HEART_mi;&amp;nbsp;var HEIGHT WEIGHT;RUN;&lt;BR /&gt;PROC PRINT DATA=HEART_MI(FIRSTOBS=126 OBS=130);TITLE 'AFTER IMPUTING';RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 04:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844043#M41822</guid>
      <dc:creator>drkd</dc:creator>
      <dc:date>2022-11-14T04:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI - Height &amp; Weight of obs 128 still missing</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844142#M41825</link>
      <description>&lt;P&gt;Look at the Missing Data Patterns table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Junk.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77280i8BC180CE8DDE599B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Junk.JPG" alt="Junk.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It shows that there are two observations for which BOTH Height and Weight are missing. The imputation does not impute those records. For other records, the procedure can estimate the joint distribution of Height and Weight and conditionally impute one missing value when the other variable is nonmissing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to get imputed values when both Height and Weight are missing is to include a third variable. For example, if you think that joint distribution of heights and weights might be dependent on the SEX&amp;nbsp; variable, you can use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mi data=HEART seed=12345 nimpute=5 out=HEART_mi;
class SEX; 
var HEIGHT WEIGHT SEX;
FCS;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 15:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844142#M41825</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-11-14T15:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MI - Height &amp; Weight of obs 128 still missing</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844202#M41827</link>
      <description>Thanks Rick! That helped.</description>
      <pubDate>Mon, 14 Nov 2022 20:11:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/844202#M41827</guid>
      <dc:creator>drkd</dc:creator>
      <dc:date>2022-11-14T20:11:23Z</dc:date>
    </item>
    <item>
      <title>SAS help Heart</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/855689#M42302</link>
      <description>&lt;P&gt;Please help with this probelem&lt;/P&gt;&lt;P&gt;Tabulate the percent of observations in the &lt;STRONG&gt;SASHELP.HEART&lt;/STRONG&gt; dataset that have non-missing values for all the predictor variables that you will use in later analyses: &lt;STRONG&gt;AgeAtStart&lt;/STRONG&gt;, &lt;STRONG&gt;BP_Status&lt;/STRONG&gt;, &lt;STRONG&gt;Chol_Status&lt;/STRONG&gt;, &lt;STRONG&gt;Cholesterol&lt;/STRONG&gt;, &lt;STRONG&gt;Diastolic&lt;/STRONG&gt;, &lt;STRONG&gt;Height&lt;/STRONG&gt;, &lt;STRONG&gt;MRW&lt;/STRONG&gt;, &lt;STRONG&gt;Sex&lt;/STRONG&gt;, &lt;STRONG&gt;Smoking&lt;/STRONG&gt;, &lt;STRONG&gt;Smoking_Status&lt;/STRONG&gt;, &lt;STRONG&gt;Systolic&lt;/STRONG&gt;, &lt;STRONG&gt;Weight&lt;/STRONG&gt;, and &lt;STRONG&gt;Weight_Status&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 05:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/855689#M42302</guid>
      <dc:creator>vsandoval6</dc:creator>
      <dc:date>2023-01-26T05:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS help Heart</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/855712#M42304</link>
      <description>&lt;P&gt;Since this sounds like a school assignment, I will give you a hint rather than a complete SAS program. You can get your answer by reading the article &lt;A href="https://blogs.sas.com/content/iml/2011/09/19/count-the-number-of-missing-values-for-each-variable.html" target="_self"&gt;"Count the number of missing values for each variable."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The article shows how to get counts. To get percentages also, just remove the NOPERCENT option on the TABLES statement in PROC FREQ.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 10:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MI-Height-amp-Weight-of-obs-128-still-missing/m-p/855712#M42304</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-01-26T10:58:40Z</dc:date>
    </item>
  </channel>
</rss>

