<?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: Please help with population data structuring? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842774#M333245</link>
    <description>&lt;P&gt;So, it is actually 138 observations with that combination of age, race, sex etc. I have sum for each combination in my data already. I need to expand or split those into rows based on that number. Thank you!&lt;/P&gt;</description>
    <pubDate>Sun, 06 Nov 2022 18:53:40 GMT</pubDate>
    <dc:creator>SP01</dc:creator>
    <dc:date>2022-11-06T18:53:40Z</dc:date>
    <item>
      <title>Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842768#M333240</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have dataset A&amp;nbsp;&lt;/P&gt;&lt;P&gt;datalines&amp;nbsp; age race sex county&amp;nbsp; &amp;nbsp;population&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp;W&amp;nbsp; &amp;nbsp; &amp;nbsp;F&amp;nbsp; &amp;nbsp; &amp;nbsp;Adams&amp;nbsp; &amp;nbsp;139&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here population 139 is the aggregate of that age, sex, race, and county.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want to do is replicate that above combination to 138 rows to reflect as row level data. Any help is really appreciated?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 18:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842768#M333240</guid>
      <dc:creator>SP01</dc:creator>
      <dc:date>2022-11-06T18:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842771#M333242</link>
      <description>&lt;P&gt;Do you want to split this observation into 138 observations which sum up to 139?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 18:39:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842771#M333242</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-06T18:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842772#M333243</link>
      <description>&lt;P&gt;Yes, that is right. Thank you! Any help would be great.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 18:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842772#M333243</guid>
      <dc:creator>SP01</dc:creator>
      <dc:date>2022-11-06T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842773#M333244</link>
      <description>&lt;P&gt;So you want 137 observations with a value of 1 and one observation with a value of 2?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 18:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842773#M333244</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-06T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842774#M333245</link>
      <description>&lt;P&gt;So, it is actually 138 observations with that combination of age, race, sex etc. I have sum for each combination in my data already. I need to expand or split those into rows based on that number. Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 18:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842774#M333245</guid>
      <dc:creator>SP01</dc:creator>
      <dc:date>2022-11-06T18:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842776#M333246</link>
      <description>&lt;P&gt;A simple DO loop:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
do i = 1 to population;
  population = 1;
  output;
end;
drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 06 Nov 2022 19:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842776#M333246</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-11-06T19:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Please help with population data structuring?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842778#M333247</link>
      <description>&lt;P&gt;Thank you, Sir! This worked. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 19:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Please-help-with-population-data-structuring/m-p/842778#M333247</guid>
      <dc:creator>SP01</dc:creator>
      <dc:date>2022-11-06T19:22:07Z</dc:date>
    </item>
  </channel>
</rss>

