<?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: How to Use Regression to Fill missing Values like in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273955#M54606</link>
    <description>&lt;P&gt;Don't change a missing value with zero unless zero truly is the observed value. A missing value signals the absence of information and is treated appropriatly. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: // is not the syntax for comments in SAS code.&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2016 18:51:59 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2016-05-30T18:51:59Z</dc:date>
    <item>
      <title>How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273946#M54603</link>
      <description>&lt;P&gt;&lt;STRONG&gt;How to Use Regression to Fill missing Values like this Examlpe&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have alot of missing values&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't want to replace it with static Value,as we can change the missing with mean and Standard Deviasion then i want to predict the Missing Value using an algorithm like Regression&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;simply i want to Merge First and Second code&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;SPAN&gt; yourdata;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;set&lt;/SPAN&gt;&lt;SPAN&gt; yourdata;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;array&lt;/SPAN&gt;&lt;SPAN&gt; change &lt;/SPAN&gt;&lt;SPAN&gt;_numeric_&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;do&lt;/SPAN&gt; &lt;SPAN&gt;over&lt;/SPAN&gt;&lt;SPAN&gt; change;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if change=&lt;STRONG&gt;OldValue&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;then change=&lt;EM&gt;&lt;SPAN style="line-height: 20px;"&gt;&lt;STRONG&gt;newValue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/EM&gt;;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;end&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt; ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Proc reg data=yourdata&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Model=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Run&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;want to use the second Code replace the &lt;EM&gt;&lt;STRONG&gt;newValue&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 19:28:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273946#M54603</guid>
      <dc:creator>saleh</dc:creator>
      <dc:date>2016-05-30T19:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273952#M54605</link>
      <description>&lt;P&gt;I don't understand what your question is, please clarify. If you can post sample data and expected output.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 18:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273952#M54605</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-30T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273955#M54606</link>
      <description>&lt;P&gt;Don't change a missing value with zero unless zero truly is the observed value. A missing value signals the absence of information and is treated appropriatly. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: // is not the syntax for comments in SAS code.&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 18:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273955#M54606</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-05-30T18:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273959#M54609</link>
      <description>&lt;P&gt;I have alot of missing values&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i don't want to replace it with static Value,as we can change the missing with mean and Standard Deviasion then i want to predict the Missing Value using an algorithm like Regression&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 19:13:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273959#M54609</guid>
      <dc:creator>saleh</dc:creator>
      <dc:date>2016-05-30T19:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273961#M54610</link>
      <description>&lt;P&gt;I would like to predict this missing value, How to do that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your replan ....&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 19:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273961#M54610</guid>
      <dc:creator>saleh</dc:creator>
      <dc:date>2016-05-30T19:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Use Regression to Fill missing Values like</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273970#M54614</link>
      <description>&lt;P&gt;If you want to interpolate using regression you can use proc reg and get the output with the predicted value.&lt;/P&gt;
&lt;P&gt;Here's an example using the CLASS dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
set sashelp.class;
if weight in (84, 112) then weight = .;
run;

proc reg data=class;
model weight = height age;
output out=want predicted=p;
run;quit;

proc print data=want;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 19:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-Use-Regression-to-Fill-missing-Values-like/m-p/273970#M54614</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-30T19:55:53Z</dc:date>
    </item>
  </channel>
</rss>

