<?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: correlation of sales data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/correlation-of-sales-data/m-p/23914#M5371</link>
    <description>Base-only does make it challenging.&lt;BR /&gt;
&lt;BR /&gt;
This is a straightforward cluster analysis from data mining.  It is in SAS enterprise miner.&lt;BR /&gt;
&lt;BR /&gt;
If you get SAS IML Studio (part of SAS/Stat), you could use the R-interface to get to the clustering algorithms there.&lt;BR /&gt;
&lt;BR /&gt;
In Base SAS, one approach with a relatively limited of ITEMs would be to do a TRANSPOSE by CUSTOMER (to get one record per person) and follow-up with FREQ to get all the two-way combinations, save the outputs and order by percent.</description>
    <pubDate>Tue, 01 Dec 2009 17:37:08 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2009-12-01T17:37:08Z</dc:date>
    <item>
      <title>correlation of sales data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/correlation-of-sales-data/m-p/23913#M5370</link>
      <description>Forgive me if I've posted this in the wrong forum and please suggest a more appropriate site as needed.&lt;BR /&gt;
&lt;BR /&gt;
I have some customer sales data. I'll keep it simple, two variables: CUSTOMER and ITEM. ITEM is a code specifying what the CUSTOMER purchased during their visit. Each CUSTOMER will have at least one ITEM. ITEM is unique within each CUSTOMER.&lt;BR /&gt;
&lt;BR /&gt;
What I'd like to know is for each ITEM, how often do each of the other ITEMs get purchased by the same CUSTOMER, expressed in terms of a count or percent. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way to do this for the entire dataset in one shot using a PROC or do I have to do it one ITEM at a time? &lt;BR /&gt;
&lt;BR /&gt;
My product set is BASE SAS only, so I hope this doesn't tie my hands too much.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any assistance.</description>
      <pubDate>Tue, 01 Dec 2009 17:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/correlation-of-sales-data/m-p/23913#M5370</guid>
      <dc:creator>dmorrell</dc:creator>
      <dc:date>2009-12-01T17:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: correlation of sales data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/correlation-of-sales-data/m-p/23914#M5371</link>
      <description>Base-only does make it challenging.&lt;BR /&gt;
&lt;BR /&gt;
This is a straightforward cluster analysis from data mining.  It is in SAS enterprise miner.&lt;BR /&gt;
&lt;BR /&gt;
If you get SAS IML Studio (part of SAS/Stat), you could use the R-interface to get to the clustering algorithms there.&lt;BR /&gt;
&lt;BR /&gt;
In Base SAS, one approach with a relatively limited of ITEMs would be to do a TRANSPOSE by CUSTOMER (to get one record per person) and follow-up with FREQ to get all the two-way combinations, save the outputs and order by percent.</description>
      <pubDate>Tue, 01 Dec 2009 17:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/correlation-of-sales-data/m-p/23914#M5371</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-12-01T17:37:08Z</dc:date>
    </item>
  </channel>
</rss>

