<?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: Normalize the dataset in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322521#M21570</link>
    <description>&lt;P&gt;Here are two links that illustrate using arrays &amp;amp;&amp;nbsp;proc transpose&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/modules/widetolong_data.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/modules/widetolong_data.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both methods are also used to go from long to wide.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 22:27:35 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-01-04T22:27:35Z</dc:date>
    <item>
      <title>Normalize the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322514#M21567</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm trying to figure out how to eliminate repeating attributes in my dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, i want:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TICKET_ID &amp;nbsp; &amp;nbsp; STATUS1 &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;STATUS2 &amp;nbsp; &amp;nbsp;STATUS3 &amp;nbsp; &amp;nbsp;STATUS5 &amp;nbsp; &amp;nbsp;&amp;nbsp;STATUS6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to become:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TICKET_ID &amp;nbsp; &amp;nbsp; STATUS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assuming the statuses are unique.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help! &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 21:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322514#M21567</guid>
      <dc:creator>trishaechual</dc:creator>
      <dc:date>2017-01-04T21:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322517#M21569</link>
      <description>&lt;P&gt;This operation is usually called "going from wide to long". It can be performed with arrays, which offer efficiency and flexiblility, but a simpler way is to use proc transpose:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc transpose data=have out=want(rename=col1=STATUS);
by ticket_id notsorted;
var status1-status6;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:13:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322517#M21569</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-01-04T22:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Normalize the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322521#M21570</link>
      <description>&lt;P&gt;Here are two links that illustrate using arrays &amp;amp;&amp;nbsp;proc transpose&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/modules/wtol_transpose.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.ats.ucla.edu/stat/sas/modules/widetolong_data.htm" target="_blank"&gt;http://www.ats.ucla.edu/stat/sas/modules/widetolong_data.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both methods are also used to go from long to wide.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Normalize-the-dataset/m-p/322521#M21570</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-04T22:27:35Z</dc:date>
    </item>
  </channel>
</rss>

