<?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 do I calculate a Distance Matrix using Yule's Q in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327688#M17288</link>
    <description>&lt;P&gt;It looks like PROC FREQ can, with Gamma being equivalent to Yule's&amp;nbsp;Q.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may may help if present some sample data and expected output. Although not all of us understand the specific terminology, most can code many standard formulas.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 12:28:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-26T12:28:33Z</dc:date>
    <item>
      <title>How do I calculate a Distance Matrix using Yule's Q in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327672#M17287</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking at clustering customers based on their transactional data. I have about 3000+ Products (items) in total that belong to various categories (6+) and I need to &lt;SPAN&gt;sort/group the products based on purchasing behavior of the customers. i.e., which products are bought together by the same customer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to use Yule's Q measure of association (between all prooduct combinations) to prepare the input for the cluster analysis. &lt;SPAN&gt;I can pick one category at a time in order to reduce the product cominations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yule's Q is (ad - bc)/(ad+bc).&lt;BR /&gt;Conceptually, this is the number of pairs in agreement (ad) - the number in disagreement (bc) over the total number of paired observations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I go about doing that using SAS. Proc Distance does not provide the option of Yule's Q&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help will be more than appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mari&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 10:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327672#M17287</guid>
      <dc:creator>mszommer</dc:creator>
      <dc:date>2017-01-26T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate a Distance Matrix using Yule's Q in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327688#M17288</link>
      <description>&lt;P&gt;It looks like PROC FREQ can, with Gamma being equivalent to Yule's&amp;nbsp;Q.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may may help if present some sample data and expected output. Although not all of us understand the specific terminology, most can code many standard formulas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 12:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327688#M17288</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-26T12:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I calculate a Distance Matrix using Yule's Q in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327983#M17303</link>
      <description>&lt;P&gt;Hello Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the very prompt response.&lt;/P&gt;&lt;P&gt;Attached is an excel file with the requested details of the input data and desired output data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lookign forward to hearign from you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mari&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 11:40:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-calculate-a-Distance-Matrix-using-Yule-s-Q-in-SAS/m-p/327983#M17303</guid>
      <dc:creator>mszommer</dc:creator>
      <dc:date>2017-01-27T11:40:13Z</dc:date>
    </item>
  </channel>
</rss>

