<?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 Logistic Regression Categorization in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423326#M22279</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is that when I categorize a variable in logistic regression by making it binary at the 75th percentile cutoff, it makes Variable 2 which was previously significant into non-significant. Then, when I change the categorization to binary while using an outlier number much greater than the 75th percentile as the cut off ,&amp;nbsp;Variable 2&amp;nbsp;then becomes significant again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) model event1= variable 1(continuous), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- variable 1 is significant, variable 2 is significant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) model&amp;nbsp;event1= variable 1 (categorical at 75th percentile), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;- variable 1 is significant, variable 2 becomes non-significant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) model event1= variable1 (categorical at outlier point, much greater than 75th percentile), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- variable 1 is significant, variable 2 is again significant&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2017 15:08:22 GMT</pubDate>
    <dc:creator>sasnewbie12</dc:creator>
    <dc:date>2017-12-22T15:08:22Z</dc:date>
    <item>
      <title>Logistic Regression Categorization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423326#M22279</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is that when I categorize a variable in logistic regression by making it binary at the 75th percentile cutoff, it makes Variable 2 which was previously significant into non-significant. Then, when I change the categorization to binary while using an outlier number much greater than the 75th percentile as the cut off ,&amp;nbsp;Variable 2&amp;nbsp;then becomes significant again?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) model event1= variable 1(continuous), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- variable 1 is significant, variable 2 is significant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) model&amp;nbsp;event1= variable 1 (categorical at 75th percentile), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;- variable 1 is significant, variable 2 becomes non-significant&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) model event1= variable1 (categorical at outlier point, much greater than 75th percentile), variable 2(categorical)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- variable 1 is significant, variable 2 is again significant&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 15:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423326#M22279</guid>
      <dc:creator>sasnewbie12</dc:creator>
      <dc:date>2017-12-22T15:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Categorization [how to improve your question]</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423327#M22280</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/169765"&gt;@sasnewbie12&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&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" style="width: 229px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Fri, 22 Dec 2017 15:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423327#M22280</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2017-12-22T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Categorization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423328#M22281</link>
      <description>&lt;P&gt;Code would tell us which options might have an effect.&lt;/P&gt;
&lt;P&gt;You also might provide examples of the two sets. It may be interesting to see how you accomplish "making it binary at the 7th percentile cutoff".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it sounds like you are surprised that you change the data or the model and get different results. That is generally not uncommon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 15:25:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423328#M22281</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-22T15:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression Categorization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423330#M22282</link>
      <description>&lt;P&gt;You changed a variable and the model changed?&lt;/P&gt;
&lt;P&gt;That’s to be expected. THis is almost a good example of why it’s not a good idea to categorize data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Categorizing a continuous variable suddenly means that 10 and 11 can be entirely separate categories where the weren’t previously.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would do some cross tabs (Variable1*outcome) and variable2*outcome to see what happens with the outcome. Knowing your data will help to understand why this is happening.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2017 16:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Categorization/m-p/423330#M22282</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-12-22T16:17:11Z</dc:date>
    </item>
  </channel>
</rss>

