<?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: Logistic Regression/GAM Modeling in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323415#M71679</link>
    <description>&lt;P&gt;Setting them to missing &amp;gt; removed from analysis. SAS will discard any record from analysis where any of the model variables are missing. If you don't assign them a "valid" category then you may as well use where clause to subset the data as they would be excluded anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or take a pass at imputing but I wouldn't go that route unless the number of "missing" or "unavailable" is large relative to the sample size. How large? depends on the actual data.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2017 17:16:47 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-01-09T17:16:47Z</dc:date>
    <item>
      <title>Logistic Regression/GAM Modeling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323411#M71676</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In my dataset the variables which are indicated by diffrent range say Female_Age_Band are given as 15-20,20-25,25-30,...&amp;amp; so on.But the problem is wherever the data is unavailable that particular observation is labelled as "Unavailable" which is making sas to read this field as a character. So I believe this will make it difficult to invoke this variable in logistic regression.Further , there are also certain categorical fields which has say 3 distinct indicators 0 1 &amp;amp; 2 .But even these fields have the "Unavailable" label.Cannot technically replace with zeroes because zero might be a valid value.&lt;BR /&gt;&lt;BR /&gt;Can someone help with a solution ?</description>
      <pubDate>Mon, 09 Jan 2017 17:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323411#M71676</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-09T17:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression/GAM Modeling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323413#M71677</link>
      <description>&lt;P&gt;"Unavailable" is a chrachter type field.&lt;/P&gt;
&lt;P&gt;You need to create a new numeric variable using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;data temp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; set have;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; new_variable = input(old_variable, ?? best.);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;in this case the non numeric value will be assigned as missing value&lt;/P&gt;
&lt;P&gt;and that is what you need for statistics and analyze.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323413#M71677</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-09T17:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression/GAM Modeling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323415#M71679</link>
      <description>&lt;P&gt;Setting them to missing &amp;gt; removed from analysis. SAS will discard any record from analysis where any of the model variables are missing. If you don't assign them a "valid" category then you may as well use where clause to subset the data as they would be excluded anyway.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or take a pass at imputing but I wouldn't go that route unless the number of "missing" or "unavailable" is large relative to the sample size. How large? depends on the actual data.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 17:16:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323415#M71679</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-09T17:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression/GAM Modeling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323549#M71729</link>
      <description>&lt;P&gt;Using this also converts the ranges to missing values so the values for eg say 10-20 ,20-30,... are even replaced with missings&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2017 08:45:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Logistic-Regression-GAM-Modeling/m-p/323549#M71729</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-01-10T08:45:31Z</dc:date>
    </item>
  </channel>
</rss>

