<?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 cluster outtree creates more observations than original input in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/624972#M30097</link>
    <description>&lt;P&gt;Hello - I am running a proc cluster procedure.&amp;nbsp; My data is unique based on an AppID and nonmissing, and I am specifying the outtree option with the ID = AppID.&amp;nbsp; However, the output dataset is almost double the size of my original input dataset.&amp;nbsp; I noticed in the output dataset, there are new observations created for the cluster number, where the AppID is a missing value.&amp;nbsp; I could not find any documentation that explains what is happening.&amp;nbsp; Could you please help explain this?&amp;nbsp; I would like to use proc tree to prune the clusters and this is causing errors.&amp;nbsp; Thanks.&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2020 00:26:22 GMT</pubDate>
    <dc:creator>JBHUI</dc:creator>
    <dc:date>2020-02-15T00:26:22Z</dc:date>
    <item>
      <title>Proc cluster outtree creates more observations than original input</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/624972#M30097</link>
      <description>&lt;P&gt;Hello - I am running a proc cluster procedure.&amp;nbsp; My data is unique based on an AppID and nonmissing, and I am specifying the outtree option with the ID = AppID.&amp;nbsp; However, the output dataset is almost double the size of my original input dataset.&amp;nbsp; I noticed in the output dataset, there are new observations created for the cluster number, where the AppID is a missing value.&amp;nbsp; I could not find any documentation that explains what is happening.&amp;nbsp; Could you please help explain this?&amp;nbsp; I would like to use proc tree to prune the clusters and this is causing errors.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 00:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/624972#M30097</guid>
      <dc:creator>JBHUI</dc:creator>
      <dc:date>2020-02-15T00:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc cluster outtree creates more observations than original input</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/624981#M30098</link>
      <description>&lt;P&gt;This is correct based on how it provides data - each cluster gets a line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you running into issues with the TREE procedure or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/129340"&gt;@JBHUI&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello - I am running a proc cluster procedure.&amp;nbsp; My data is unique based on an AppID and nonmissing, and I am specifying the outtree option with the ID = AppID.&amp;nbsp; However, the output dataset is almost double the size of my original input dataset.&amp;nbsp; I noticed in the output dataset, there are new observations created for the cluster number, where the AppID is a missing value.&amp;nbsp; I could not find any documentation that explains what is happening.&amp;nbsp; Could you please help explain this?&amp;nbsp; I would like to use proc tree to prune the clusters and this is causing errors.&amp;nbsp; Thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 02:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/624981#M30098</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-15T02:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc cluster outtree creates more observations than original input</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/641518#M30668</link>
      <description>&lt;P&gt;Thanks Reeza.&amp;nbsp; Sorry for not thanking you sooner...I guess I am a little confused by the output in the outtree option.&amp;nbsp; Suppose I have 75 observations in my original dataset "dset" below.&amp;nbsp; Outtree produces a tree dataset with 149 observations which contains the original 75 plus additional observations for the cluster that begin with a "CL".&amp;nbsp; Based on the output of the cluster procedure, I would like to limit my data to 5 clusters, and I would like to assign the original 75 observations a value of 1 to 5 that represent the 5 clusters.&amp;nbsp; How would I go about doing this?&amp;nbsp; Thank you so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;proc cluster data = dset method = ward ccc outtree = tree;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id AppID;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&amp;nbsp; x1 x2 x3 x4;&lt;BR /&gt;run;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 04:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-cluster-outtree-creates-more-observations-than-original/m-p/641518#M30668</guid>
      <dc:creator>JBHUI</dc:creator>
      <dc:date>2020-04-21T04:48:49Z</dc:date>
    </item>
  </channel>
</rss>

