<?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 Help summing variables on the basis of their names in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198143#M14972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a lot of numeric variables with the following naming convention: TIME[WEEK][WEEKDAY][HOUR][STATUS]&lt;/P&gt;&lt;P&gt;[week] has 2 digits, [weekday] 1 digit, [hour] 2 digits, [status] 1 digit (1/2 dummy).&lt;/P&gt;&lt;P&gt;Ex: August 13 10 AM would be named: TIME334102 ( I use European calendar and week calculations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the variables I've stored minute values ranging from 0 to 60.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would for instance like to sum all TIME variables with [weekday]=4.&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;&lt;P&gt;I know the&amp;nbsp;&amp;nbsp; array num_vars&lt;LI&gt; _NUMERIC_; function and the OF operator, but I'm missing some pieces in the puzzle.&lt;/LI&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 08:20:24 GMT</pubDate>
    <dc:creator>Boka98</dc:creator>
    <dc:date>2015-08-13T08:20:24Z</dc:date>
    <item>
      <title>Help summing variables on the basis of their names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198143#M14972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a lot of numeric variables with the following naming convention: TIME[WEEK][WEEKDAY][HOUR][STATUS]&lt;/P&gt;&lt;P&gt;[week] has 2 digits, [weekday] 1 digit, [hour] 2 digits, [status] 1 digit (1/2 dummy).&lt;/P&gt;&lt;P&gt;Ex: August 13 10 AM would be named: TIME334102 ( I use European calendar and week calculations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the variables I've stored minute values ranging from 0 to 60.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would for instance like to sum all TIME variables with [weekday]=4.&lt;/P&gt;&lt;P&gt;Can this be done?&lt;/P&gt;&lt;P&gt;I know the&amp;nbsp;&amp;nbsp; array num_vars&lt;LI&gt; _NUMERIC_; function and the OF operator, but I'm missing some pieces in the puzzle.&lt;/LI&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 08:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198143#M14972</guid>
      <dc:creator>Boka98</dc:creator>
      <dc:date>2015-08-13T08:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help summing variables on the basis of their names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198144#M14973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some example of what your data actually looks like would be helpful.&lt;/P&gt;&lt;P&gt;Depending on what your project started with you might have been better off with single variable for date/time and another for what ever you want to sum. If all of your summary activities are going to work around ideas like week of year, day of week then a date variable might suffice.&lt;/P&gt;&lt;P&gt;If you have a date variable then you can inspect that easily with functions such as Year, Month, Day and such and often summarize with other procedures by assigning a format to the date variable to create groups.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 16:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198144#M14973</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-08-13T16:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help summing variables on the basis of their names</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198145#M14974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually solved my problem right after posting it.&lt;/P&gt;&lt;P&gt;Seems that just to formulate the problem helped me solve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 06:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Help-summing-variables-on-the-basis-of-their-names/m-p/198145#M14974</guid>
      <dc:creator>Boka98</dc:creator>
      <dc:date>2015-08-17T06:40:30Z</dc:date>
    </item>
  </channel>
</rss>

