<?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: Splitting in decile dataset depending on numeric variable's value for each char varaible's value in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466819#M30290</link>
    <description>&lt;P&gt;Please post some sample data and the PROC RANK code you used. You might be missing by variable in PROC RANK.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jun 2018 13:01:08 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2018-06-01T13:01:08Z</dc:date>
    <item>
      <title>Splitting in decile dataset depending on numeric variable's value for each char varaible's value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466813#M30288</link>
      <description>&lt;P&gt;Hi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset with a variable "ID" (char) and a variable "Price" (num) and some others variables.&lt;/P&gt;&lt;P&gt;I need split the dataset in 10 deciles (10% of observations in each) FOR EACH ID'S VALUE depending on price's values for after to can choose the highest 10% price's value for each ID'S value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the differents ID's values there is not the same number of observations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried with PROC RANK but i get deciles for all the dataset (not depending of each ID's value).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be relatively easy to do it but I am a new SAS user and I can not do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 12:44:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466813#M30288</guid>
      <dc:creator>luciacossaro</dc:creator>
      <dc:date>2018-06-01T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting in decile dataset depending on numeric variable's value for each char varaible's value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466819#M30290</link>
      <description>&lt;P&gt;Please post some sample data and the PROC RANK code you used. You might be missing by variable in PROC RANK.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 13:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466819#M30290</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-06-01T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splitting in decile dataset depending on numeric variable's value for each char varaible's value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466845#M30291</link>
      <description>&lt;P&gt;Try 1) sorting the data set by your ID variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) add a BY Id; statement to proc rank&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 14:30:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Splitting-in-decile-dataset-depending-on-numeric-variable-s/m-p/466845#M30291</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-01T14:30:27Z</dc:date>
    </item>
  </channel>
</rss>

