<?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 datapreprocess.impute action doesn't fill missing values in the output table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875180#M345802</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I'm trying to use&amp;nbsp;datapreprocess.impute action to impute interval variables with their medians. However, when inspecting the output table, the missing values are not imputed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is shown below, and, this is part of the "&lt;A style="background-color: #ffffff;" title="High-Performance Data Processing with CASL in SAS Viya" href="https://vle.sas.com/course/view.php?id=8683" target="_self"&gt;High-Performance Data Processing with CASL in SAS Viya&lt;/A&gt;" Course.&lt;/P&gt;
&lt;PRE&gt;proc cas;
    inTbl={name="cars_raw", caslib="casuser"};
	outTbl={name="cars_imputed", caslib="casuser"};

    table.upload / 
        path="&amp;amp;path/data/my_data/cars_raw.sas7bdat"
        casOut=inTbl || {replace=TRUE};

    table.columnInfo /
        table=inTbl;

    simple.distinct / table=inTbl;

	datapreprocess.impute /
		table=inTbl,
		casOut=outTbl || {replace=TRUE},
		inputs={"EngineSize","Cylinders"},
		methodInterval="MEDIAN",
		copyAllVars=TRUE;


    table.columnInfo /
        table=outTbl;

    simple.distinct / table=outTbl;
quit;&lt;/PRE&gt;
&lt;P&gt;Appreciate your explanation on this.&lt;/P&gt;</description>
    <pubDate>Thu, 11 May 2023 11:13:42 GMT</pubDate>
    <dc:creator>Melhamamsy</dc:creator>
    <dc:date>2023-05-11T11:13:42Z</dc:date>
    <item>
      <title>datapreprocess.impute action doesn't fill missing values in the output table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875180#M345802</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I'm trying to use&amp;nbsp;datapreprocess.impute action to impute interval variables with their medians. However, when inspecting the output table, the missing values are not imputed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code is shown below, and, this is part of the "&lt;A style="background-color: #ffffff;" title="High-Performance Data Processing with CASL in SAS Viya" href="https://vle.sas.com/course/view.php?id=8683" target="_self"&gt;High-Performance Data Processing with CASL in SAS Viya&lt;/A&gt;" Course.&lt;/P&gt;
&lt;PRE&gt;proc cas;
    inTbl={name="cars_raw", caslib="casuser"};
	outTbl={name="cars_imputed", caslib="casuser"};

    table.upload / 
        path="&amp;amp;path/data/my_data/cars_raw.sas7bdat"
        casOut=inTbl || {replace=TRUE};

    table.columnInfo /
        table=inTbl;

    simple.distinct / table=inTbl;

	datapreprocess.impute /
		table=inTbl,
		casOut=outTbl || {replace=TRUE},
		inputs={"EngineSize","Cylinders"},
		methodInterval="MEDIAN",
		copyAllVars=TRUE;


    table.columnInfo /
        table=outTbl;

    simple.distinct / table=outTbl;
quit;&lt;/PRE&gt;
&lt;P&gt;Appreciate your explanation on this.&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 11:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875180#M345802</guid>
      <dc:creator>Melhamamsy</dc:creator>
      <dc:date>2023-05-11T11:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: datapreprocess.impute action doesn't fill missing values in the output table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875813#M346060</link>
      <description>&lt;P&gt;It's creating new variables with the imputed results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="imput.PNG" style="width: 516px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/83977i9D62408F3A669A85/image-size/large?v=v2&amp;amp;px=999" role="button" title="imput.PNG" alt="imput.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 13:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875813#M346060</guid>
      <dc:creator>DerylHollick</dc:creator>
      <dc:date>2023-05-15T13:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: datapreprocess.impute action doesn't fill missing values in the output table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875923#M346091</link>
      <description>Thank you!</description>
      <pubDate>Tue, 16 May 2023 06:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/datapreprocess-impute-action-doesn-t-fill-missing-values-in-the/m-p/875923#M346091</guid>
      <dc:creator>Melhamamsy</dc:creator>
      <dc:date>2023-05-16T06:28:06Z</dc:date>
    </item>
  </channel>
</rss>

