<?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: binning a continuous variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535378#M146999</link>
    <description>&lt;P&gt;Thanks so much for a quick response.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Feb 2019 19:46:46 GMT</pubDate>
    <dc:creator>ashatsas</dc:creator>
    <dc:date>2019-02-13T19:46:46Z</dc:date>
    <item>
      <title>binning a continuous variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535256#M146954</link>
      <description>&lt;P&gt;I have a sas dataset with 2 continuous variables (say x and y) and the data set has been sorted on x.&lt;/P&gt;&lt;P&gt;I want to create about 50 bins on x and for each of these bins, I want to calculated the mean of both x and y.&lt;/P&gt;&lt;P&gt;So, the output dataset will have 50 values for x and y.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535256#M146954</guid>
      <dc:creator>ashatsas</dc:creator>
      <dc:date>2019-02-13T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: binning a continuous variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535259#M146955</link>
      <description>&lt;P&gt;1. Use PROC RANK to BIN the data&lt;/P&gt;
&lt;P&gt;2. Use PROC MEANS to calculate the summary statistics&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/261551"&gt;@ashatsas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a sas dataset with 2 continuous variables (say x and y) and the data set has been sorted on x.&lt;/P&gt;
&lt;P&gt;I want to create about 50 bins on x and for each of these bins, I want to calculated the mean of both x and y.&lt;/P&gt;
&lt;P&gt;So, the output dataset will have 50 values for x and y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 16:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535259#M146955</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-13T16:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: binning a continuous variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535378#M146999</link>
      <description>&lt;P&gt;Thanks so much for a quick response.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/binning-a-continuous-variable/m-p/535378#M146999</guid>
      <dc:creator>ashatsas</dc:creator>
      <dc:date>2019-02-13T19:46:46Z</dc:date>
    </item>
  </channel>
</rss>

