<?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 Proc Distance and Varclus in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Distance-and-Varclus/m-p/26923#M1006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, hope someone can help me with this one!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the "limitations" of Proc Varclus is that only divides a set of &lt;STRONG&gt;numeric variables &lt;/STRONG&gt;into disjoint or hierarchical clusters and from here you can remove redundant variables etc.. However, more often than not, your data set made of not only numerica variables but ordinal, binary etc. Then I thought I could use proc distance to produce a matrix that I could use as input for Varclus but sadly Proc VarClus doesn't accept type=DISTANCE as input data set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can produce a data set type=DISTANCE and then convert it manually to type=CORR in order to use it with Proc Varclus but I am not sure about the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How Varclus will interpret this data set where I have zeros in the diagonal instead of ones? or&lt;/LI&gt;&lt;LI&gt;type=CORR only tells VARCLUS how to read data and there is no calculation where the correlation is involved?&lt;/LI&gt;&lt;LI&gt;perhaps there is a different approach to solve this problem using diff procedures?&lt;/LI&gt;&lt;LI&gt;does this idea make sense at all (statistically speaking)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Oct 2011 13:18:54 GMT</pubDate>
    <dc:creator>_Altons_</dc:creator>
    <dc:date>2011-10-10T13:18:54Z</dc:date>
    <item>
      <title>Proc Distance and Varclus</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Distance-and-Varclus/m-p/26923#M1006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, hope someone can help me with this one!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the "limitations" of Proc Varclus is that only divides a set of &lt;STRONG&gt;numeric variables &lt;/STRONG&gt;into disjoint or hierarchical clusters and from here you can remove redundant variables etc.. However, more often than not, your data set made of not only numerica variables but ordinal, binary etc. Then I thought I could use proc distance to produce a matrix that I could use as input for Varclus but sadly Proc VarClus doesn't accept type=DISTANCE as input data set. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can produce a data set type=DISTANCE and then convert it manually to type=CORR in order to use it with Proc Varclus but I am not sure about the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How Varclus will interpret this data set where I have zeros in the diagonal instead of ones? or&lt;/LI&gt;&lt;LI&gt;type=CORR only tells VARCLUS how to read data and there is no calculation where the correlation is involved?&lt;/LI&gt;&lt;LI&gt;perhaps there is a different approach to solve this problem using diff procedures?&lt;/LI&gt;&lt;LI&gt;does this idea make sense at all (statistically speaking)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alberto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Oct 2011 13:18:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Distance-and-Varclus/m-p/26923#M1006</guid>
      <dc:creator>_Altons_</dc:creator>
      <dc:date>2011-10-10T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Proc Distance and Varclus</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Distance-and-Varclus/m-p/26924#M1007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there are some problem (statistically speaking) with your approach. You can't have a correlation matrix with zeros on the diagonal; VARCLUS will know that it can't compute with such a nonsensical matrix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have ORDINAL character values (like "small", "medium", and "large"), you can recode the values in various ways. The simplest way to do this is to assign the value j to the j_th ordered category. However, there are other ways as well. You can use PROC FREQ to do this: use the SCORES= option on the TABLES statement and request a SCOREOUT data set &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/63963/HTML/default/viewer.htm#procstat_freq_sect010.htm#procstat.freq.freqscoresopt"&gt;http://support.sas.com/documentation/cdl/en/procstat/63963/HTML/default/viewer.htm#procstat_freq_sect010.htm#procstat.freq.freqscoresopt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have general nominal data (for example, "red," "green," and "blue") then I don't know how to make sense of your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 13:47:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Distance-and-Varclus/m-p/26924#M1007</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-10-21T13:47:51Z</dc:date>
    </item>
  </channel>
</rss>

