<?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 Grid-Based Clustering with Uniform Density in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709353#M34343</link>
    <description>&lt;DIV class="sasSource"&gt;Hello,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I am a student and new to SAS. Working on an assignment asking me to perform a grid-based clustering analysis. Is there such a procedure in SAS using SAS Studio? I am looking for resources to guide me.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;The output I'm needing for the assignment is a scatterplot of two-dimensional data over a grid (49 cells) and a table of point counts by grid.&amp;nbsp;I've attempted to summarize my data below with first 5 lines as directed, by - this is my first time posting, so please let me know if there is more detail I should provide.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Thank you for any direction you can provide!&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;data WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;infile datalines dsd truncover;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;input x:BEST12. y:BEST12.;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;format x BEST12. y BEST12.;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;datalines;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1.242014903 4.720908725&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;0.930117097 3.543344014&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;2.635858688 3.248436634&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;0.657832858 4.382112956&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;3.273950718 4.17188644&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;;;;;&lt;/DIV&gt;</description>
    <pubDate>Tue, 05 Jan 2021 00:54:07 GMT</pubDate>
    <dc:creator>madelinehenry</dc:creator>
    <dc:date>2021-01-05T00:54:07Z</dc:date>
    <item>
      <title>Grid-Based Clustering with Uniform Density</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709353#M34343</link>
      <description>&lt;DIV class="sasSource"&gt;Hello,&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I am a student and new to SAS. Working on an assignment asking me to perform a grid-based clustering analysis. Is there such a procedure in SAS using SAS Studio? I am looking for resources to guide me.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;The output I'm needing for the assignment is a scatterplot of two-dimensional data over a grid (49 cells) and a table of point counts by grid.&amp;nbsp;I've attempted to summarize my data below with first 5 lines as directed, by - this is my first time posting, so please let me know if there is more detail I should provide.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;Thank you for any direction you can provide!&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;data WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;infile datalines dsd truncover;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;input x:BEST12. y:BEST12.;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;format x BEST12. y BEST12.;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;datalines;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1.242014903 4.720908725&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;0.930117097 3.543344014&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;2.635858688 3.248436634&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;0.657832858 4.382112956&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;3.273950718 4.17188644&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;;;;;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Jan 2021 00:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709353#M34343</guid>
      <dc:creator>madelinehenry</dc:creator>
      <dc:date>2021-01-05T00:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Grid-Based Clustering with Uniform Density</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709396#M34348</link>
      <description>I am not sure. Check PROC CLUSTER + CCC option</description>
      <pubDate>Tue, 05 Jan 2021 11:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709396#M34348</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-05T11:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Grid-Based Clustering with Uniform Density</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709397#M34349</link>
      <description>&lt;P&gt;I remember&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; plot such kind of graph in his blog .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml" target="_blank"&gt;https://blogs.sas.com/content/iml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 11:40:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709397#M34349</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-01-05T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Grid-Based Clustering with Uniform Density</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709401#M34350</link>
      <description>&lt;P&gt;The terms to search for are "binning" or "2-d binning". In particular, it sounds like you want equal-width binning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your instructor might have mentioned ways to bin the data. There are many ways to do this. Including the DATA step, PROC IML, PROC KDE, PROC FORMAT+PROC FREQ, and more. Your instructor might have given a hint about which method you should use, so check with him or her.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More information that you will need is discussed in &lt;A href="https://blogs.sas.com/content/iml/2019/08/07/essential-guide-binning-sas.html" target="_self"&gt;The Essential Guide to Binning in SAS.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your instructor did not indicate a preference for this assignment, PROC FORMAT and PROC FREQ might be the easiest combination. If you have never used PROC FORMAT, then maybe use&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;PROC KDE and the OUT= option on the BIVAR statement. For PROC KDE, the first step would be something like this example (which uses example data)&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc kde data=sashelp.bweight;
   bivar MomWtGain(ngrid=7) Weight(ngrid=7) / out=kdeout;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I will leave the rest of the assignment to you. Good luck.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 12:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Grid-Based-Clustering-with-Uniform-Density/m-p/709401#M34350</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-01-05T12:10:37Z</dc:date>
    </item>
  </channel>
</rss>

