<?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: What is the best programming: New dimension in table or using arrays in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556066#M154845</link>
    <description>&lt;P&gt;A good tradeoff is to use two tables. One for item characteristics, the other for the time series, with an itemID key to link the two tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Going wide (arrays) will prove cumbersome in all aspects of data management and analysis.&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2019 19:25:41 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2019-05-03T19:25:41Z</dc:date>
    <item>
      <title>What is the best programming: New dimension in table or using arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556040#M154829</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS but I have been working with databases for a long time. I am struggling to understand what is the best way to work with SAS. I have variables that are dependent on time and from my understanding of database structuring is that there should be a column with the time step. Although this means that all the characteristics of the item will be duplicated many times which creates a large database?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As in SAS there are Arrays (which are just a grouping of variables) this makes the database more compact but what about the runtime is SAS not more efficient in doing line by line instead of a do loop?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope that my explanation is clear and that someone can help me in my dilemma.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to all for helping out.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 18:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556040#M154829</guid>
      <dc:creator>andraro</dc:creator>
      <dc:date>2019-05-03T18:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best programming: New dimension in table or using arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556066#M154845</link>
      <description>&lt;P&gt;A good tradeoff is to use two tables. One for item characteristics, the other for the time series, with an itemID key to link the two tables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Going wide (arrays) will prove cumbersome in all aspects of data management and analysis.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 19:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556066#M154845</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-05-03T19:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best programming: New dimension in table or using arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556071#M154849</link>
      <description>&lt;P&gt;Indeed one of the disadvantages of using arrays is the data handling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do you handle the fact that you need the characteristics to do the calculation of the time series.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 19:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556071#M154849</guid>
      <dc:creator>andraro</dc:creator>
      <dc:date>2019-05-03T19:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best programming: New dimension in table or using arrays</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556104#M154872</link>
      <description>&lt;P&gt;When required by a given procedure: create views that join item characteristics to time series. A view generates the expanded dataset only when it is read, the whole data never has to be stored anywhere.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 20:56:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-programming-New-dimension-in-table-or-using/m-p/556104#M154872</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-05-03T20:56:41Z</dc:date>
    </item>
  </channel>
</rss>

