<?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 Finding the default customers from the data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241129#M44642</link>
    <description>&lt;P&gt;Dear Team,&lt;/P&gt;
&lt;P&gt;I am working on a collections assignment for one of my clientele.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The requirement is that they need to analyze how's the pay pattern of customers and who are a pain area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this i have started with creating day level drill down of customers based on payment days. so customers make payment from a period of 10 days to over 1000 days.&lt;/P&gt;
&lt;P&gt;so i used a case statement and created various segments with respective population.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The challenge i have now is that since this data is for past 1 year hence there are&amp;nbsp;instances where a customer (SFX code)&amp;nbsp;might have made a payment in 10 days whereas the same customer would have made the payment in 50 or 100 or even more days.&lt;/P&gt;
&lt;P&gt;Hence i need to know % payments made within x number of days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could have created a new var as total where total =&amp;nbsp;category + category 2 (first 2 lowest categories)/ total = x% and then i could have filtered however as these categories are calculated columns hence i cannot use this as well.&lt;/P&gt;
&lt;P&gt;Request you to please suggest an alternate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached some data for examination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Shivi&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2015 13:31:27 GMT</pubDate>
    <dc:creator>Shivi82</dc:creator>
    <dc:date>2015-12-29T13:31:27Z</dc:date>
    <item>
      <title>Finding the default customers from the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241129#M44642</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;
&lt;P&gt;I am working on a collections assignment for one of my clientele.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The requirement is that they need to analyze how's the pay pattern of customers and who are a pain area.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this i have started with creating day level drill down of customers based on payment days. so customers make payment from a period of 10 days to over 1000 days.&lt;/P&gt;
&lt;P&gt;so i used a case statement and created various segments with respective population.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The challenge i have now is that since this data is for past 1 year hence there are&amp;nbsp;instances where a customer (SFX code)&amp;nbsp;might have made a payment in 10 days whereas the same customer would have made the payment in 50 or 100 or even more days.&lt;/P&gt;
&lt;P&gt;Hence i need to know % payments made within x number of days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could have created a new var as total where total =&amp;nbsp;category + category 2 (first 2 lowest categories)/ total = x% and then i could have filtered however as these categories are calculated columns hence i cannot use this as well.&lt;/P&gt;
&lt;P&gt;Request you to please suggest an alternate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached some data for examination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Shivi&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 13:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241129#M44642</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2015-12-29T13:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the default customers from the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241153#M44650</link>
      <description>Why can't you filter? Are you using SAS BASE or SAS VA?</description>
      <pubDate>Tue, 29 Dec 2015 20:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241153#M44650</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-29T20:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the default customers from the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241154#M44651</link>
      <description>For default analysis, or Churn, you can look at survival methods as well.</description>
      <pubDate>Tue, 29 Dec 2015 20:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241154#M44651</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-12-29T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the default customers from the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241197#M44675</link>
      <description>&lt;P&gt;I am using base SAS 9.3&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 04:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241197#M44675</guid>
      <dc:creator>Shivi82</dc:creator>
      <dc:date>2015-12-30T04:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the default customers from the data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241273#M44698</link>
      <description>&lt;P&gt;If you have data that looks something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Identification (could be multiple variables) Days&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you could create a custom format for days of interest. Possibly something like&lt;/P&gt;
&lt;P&gt;proc format;&lt;/P&gt;
&lt;P&gt;value mydays&lt;/P&gt;
&lt;P&gt;0 - 5 = '0 to &amp;nbsp;5 days'&lt;/P&gt;
&lt;P&gt;6 - 10 = '5 to 10 days'&lt;/P&gt;
&lt;P&gt;11-20 = '11 to 20 days'&lt;/P&gt;
&lt;P&gt;21 - high= '21+ days'&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;then use that format in one of the report procedures such as:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc tabulate data= have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; class Id;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; class Days;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; format days mydays.;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; table id * days, pctn ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 19:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Finding-the-default-customers-from-the-data/m-p/241273#M44698</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-12-30T19:24:45Z</dc:date>
    </item>
  </channel>
</rss>

