<?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: Obtaining cluster proportion in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623164#M183401</link>
    <description>&lt;P&gt;DUPLICATE THREAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DO NOT REPLY HERE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reply at:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Calculating-proportion/td-p/623140" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Calculating-proportion/td-p/623140&lt;/A&gt;&amp;nbsp;where there is already one answer.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 20:39:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-02-07T20:39:02Z</dc:date>
    <item>
      <title>Obtaining cluster proportion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623161#M183400</link>
      <description>&lt;P&gt;I have 400 clusters (20,000 observations). I want to get proportion of smokers in each cluster (Smoking vs non-smoking) as a separate variable in the same data set for each cluster.&amp;nbsp; I would really appreciate the help from helping hands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 20:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623161#M183400</guid>
      <dc:creator>Deepai</dc:creator>
      <dc:date>2020-02-07T20:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining cluster proportion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623164#M183401</link>
      <description>&lt;P&gt;DUPLICATE THREAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DO NOT REPLY HERE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reply at:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Calculating-proportion/td-p/623140" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Calculating-proportion/td-p/623140&lt;/A&gt;&amp;nbsp;where there is already one answer.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 20:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623164#M183401</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-07T20:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining cluster proportion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623165#M183402</link>
      <description>&lt;P&gt;Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712&lt;/A&gt; will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example data only needs to include the variables needed to identify a cluster and your smoking variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then show what you expect as a result.&lt;/P&gt;
&lt;P&gt;In the same data set is possibly not a good idea as mixing summaries and observation values has the potential for oddness when someone forgets which variable is a summary. Can you describe exactly why you need the summary proportion on each record?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 20:39:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Obtaining-cluster-proportion/m-p/623165#M183402</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-02-07T20:39:53Z</dc:date>
    </item>
  </channel>
</rss>

