<?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 How do I use PROC MI to only impute missing values for ONE variable? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865632#M42794</link>
    <description>I have a dataset with only categorical variables. Some of the variables have missing values but I only want to impute missing values for one variable and to leave the others alone. Is it acceptable to fill them in with temporary flags for missing values so that the function doesn't impute them?&lt;BR /&gt;&lt;BR /&gt;Like this. Let's say I don't want to impute the missing values for Var1.&lt;BR /&gt;Var1 -&amp;gt; Var1&lt;BR /&gt;'Cat' -&amp;gt; 'Cat'&lt;BR /&gt;'Dog' -&amp;gt; 'Dog'&lt;BR /&gt;' ' -&amp;gt; 'ZZZ'</description>
    <pubDate>Wed, 22 Mar 2023 02:16:25 GMT</pubDate>
    <dc:creator>hava</dc:creator>
    <dc:date>2023-03-22T02:16:25Z</dc:date>
    <item>
      <title>How do I use PROC MI to only impute missing values for ONE variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865632#M42794</link>
      <description>I have a dataset with only categorical variables. Some of the variables have missing values but I only want to impute missing values for one variable and to leave the others alone. Is it acceptable to fill them in with temporary flags for missing values so that the function doesn't impute them?&lt;BR /&gt;&lt;BR /&gt;Like this. Let's say I don't want to impute the missing values for Var1.&lt;BR /&gt;Var1 -&amp;gt; Var1&lt;BR /&gt;'Cat' -&amp;gt; 'Cat'&lt;BR /&gt;'Dog' -&amp;gt; 'Dog'&lt;BR /&gt;' ' -&amp;gt; 'ZZZ'</description>
      <pubDate>Wed, 22 Mar 2023 02:16:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865632#M42794</guid>
      <dc:creator>hava</dc:creator>
      <dc:date>2023-03-22T02:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use PROC MI to only impute missing values for ONE variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865678#M42797</link>
      <description>&lt;P&gt;You should show the code that you are currently using or have attempted.&lt;/P&gt;
&lt;P&gt;If you had I would not have to ask "Did you have a VAR statement?".&lt;/P&gt;
&lt;P&gt;From the online help for the Var statement in Proc MI:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-refProc"&gt;
&lt;DIV id="statug.mi.mivar" class="AAsection"&gt;
&lt;P&gt;The VAR statement lists the variables to be analyzed. The variables can be either character or numeric. If you omit the VAR statement, all continuous variables not mentioned in other statements are used.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429246"&gt;@hava&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I have a dataset with only categorical variables. Some of the variables have missing values but I only want to impute missing values for one variable and to leave the others alone. Is it acceptable to fill them in with temporary flags for missing values so that the function doesn't impute them?&lt;BR /&gt;&lt;BR /&gt;Like this. Let's say I don't want to impute the missing values for Var1.&lt;BR /&gt;Var1 -&amp;gt; Var1&lt;BR /&gt;'Cat' -&amp;gt; 'Cat'&lt;BR /&gt;'Dog' -&amp;gt; 'Dog'&lt;BR /&gt;' ' -&amp;gt; 'ZZZ'&lt;HR /&gt;&lt;/BLOCKQUOTE&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 09:06:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865678#M42797</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-03-22T09:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I use PROC MI to only impute missing values for ONE variable?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865710#M42798</link>
      <description>&lt;P&gt;I think it depends on what you want to assume about the missing values in the variables that you do not want to impute.&amp;nbsp; Are they missing at random, MNAR or actually valid responses?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 12:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-use-PROC-MI-to-only-impute-missing-values-for-ONE/m-p/865710#M42798</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2023-03-22T12:12:38Z</dc:date>
    </item>
  </channel>
</rss>

