<?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: Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587255#M14652</link>
    <description>&lt;P&gt;So exactly how to you intend to use the affluence percentage to "predict" the subgroup?&lt;/P&gt;
&lt;P&gt;If you can work out a few examples by hand then show us the expected result for those examples. Otherwise we are shooting very blind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, I would suggest that your subgroup is not continuous but categorical. The very name indicates such: subgroup. Groups are categorical. Continuous tends to be something measured such as height, weight, sales volume.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2019 14:57:00 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-09-09T14:57:00Z</dc:date>
    <item>
      <title>Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587194#M14630</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a data step or proc sql function to help predict a sub group variable in a dataset. Anyone any ideas??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Group 1 has an average income of 45000, within this group there are 4 sub groups within various degrees of affluence. I want to use the affluence % along with the average group income to predict the sub group income.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY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;/TD&gt;&lt;TD&gt;9.4&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30000&lt;/TD&gt;&lt;TD&gt;2004&lt;/TD&gt;&lt;TD&gt;10.3&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;30000&lt;/TD&gt;&lt;TD&gt;2005&lt;/TD&gt;&lt;TD&gt;8.7&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;50000&lt;/TD&gt;&lt;TD&gt;3001&lt;/TD&gt;&lt;TD&gt;60.9&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;50000&lt;/TD&gt;&lt;TD&gt;3002&lt;/TD&gt;&lt;TD&gt;72.3&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 09 Sep 2019 10:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587194#M14630</guid>
      <dc:creator>finbar_gillen</dc:creator>
      <dc:date>2019-09-09T10:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587255#M14652</link>
      <description>&lt;P&gt;So exactly how to you intend to use the affluence percentage to "predict" the subgroup?&lt;/P&gt;
&lt;P&gt;If you can work out a few examples by hand then show us the expected result for those examples. Otherwise we are shooting very blind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, I would suggest that your subgroup is not continuous but categorical. The very name indicates such: subgroup. Groups are categorical. Continuous tends to be something measured such as height, weight, sales volume.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:57:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587255#M14652</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-09T14:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587280#M14654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The sub group is categorical yes... it is the sub group affluence score that is continuous, this is the variable that I want to use to try and assign a predicted subgroup income.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking of creating 6 bins using the quantile method for the income column to create affluence groupings... i.e. very affluent, affluent, slightly affluent, slightly deprived, &lt;SPAN&gt;deprived&lt;/SPAN&gt;, very &lt;SPAN&gt;deprived&lt;/SPAN&gt;. If a sub group is very affluent then is should have an income that is somewhat higher than the groups average.. if a sub group is very disadvantaged then is should have an income that is somewhat lower than the groups average.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want the income to increase in more affluent sub groups and decrease in less deprived ones, so that there is an income for each sub group.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 15:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587280#M14654</guid>
      <dc:creator>finbar_gillen</dc:creator>
      <dc:date>2019-09-09T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587294#M14655</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225525"&gt;@finbar_gillen&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sub group is categorical yes... it is the sub group affluence score that is continuous, this is the variable that I want to use to try and assign a predicted subgroup income.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was thinking of creating 6 bins using the quantile method for the income column to create affluence groupings... i.e. very affluent, affluent, slightly affluent, slightly deprived, &lt;SPAN&gt;deprived&lt;/SPAN&gt;, very &lt;SPAN&gt;deprived&lt;/SPAN&gt;. If a sub group is very affluent then is should have an income that is somewhat higher than the groups average.. if a sub group is very disadvantaged then is should have an income that is somewhat lower than the groups average.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want the income to increase in more affluent sub groups and decrease in less deprived ones, so that there is an income for each sub group.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think that if possible you want to go back to how the "affluence score" was created. Or at least share exactly what it measures. The first post indicates it is supposed to be a percentage. Percentage of what? Perhaps rawer data would provide a more robust approach.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 16:12:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587294#M14655</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-09T16:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Predicting Sub Group variable based on constant Group variable and continous Sub Group Variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587488#M14696</link>
      <description>&lt;P&gt;Does Income conform to Normal/Gamma distribution?&lt;/P&gt;
&lt;P&gt;If it does , using QUANTILE() function, and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; have done a lot of this stuff .&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 12:37:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Predicting-Sub-Group-variable-based-on-constant-Group-variable/m-p/587488#M14696</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-09-10T12:37:53Z</dc:date>
    </item>
  </channel>
</rss>

