<?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: Equivalent of split by in JMP to Base SAS in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499706#M206</link>
    <description>&lt;P&gt;I think that’s PROC TRANSPOSE or the TRANSPOSE task.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the second one, don’t include any of the options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Sep 2018 20:46:56 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-09-27T20:46:56Z</dc:date>
    <item>
      <title>Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499666#M190</link>
      <description>&lt;P&gt;Hello SAS users:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A message from jmp lover cheating with base SAS:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;JMP has&amp;nbsp;an option in Tables that is called "Split by" where you can split a column, mapping several rows on one column to one row in several columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any examples on how to do the same thing in SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 19:00:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499666#M190</guid>
      <dc:creator>triunk</dc:creator>
      <dc:date>2018-09-27T19:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499685#M196</link>
      <description>I think this is a TRANSPOSE task or PROC TRANSPOSE if I understand what you want correctly.  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-long-to-wide-using-proc-transpose/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/how-to-reshape-data-long-to-wide-using-proc-transpose/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2018 19:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499685#M196</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-27T19:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499686#M197</link>
      <description>&lt;P&gt;What does "split a column" mean? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:00:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499686#M197</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-09-27T20:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499692#M200</link>
      <description>&lt;P&gt;Wow that was fast response - thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what JMP means by split by&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/14/split-columns.shtml" target="_blank"&gt;https://www.jmp.com/support/help/14/split-columns.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is the different feature they have on transpose&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/14/transpose-rows-and-columns.shtml" target="_blank"&gt;https://www.jmp.com/support/help/14/transpose-rows-and-columns.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think both concepts are related but there are subtle differences&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:08:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499692#M200</guid>
      <dc:creator>triunk</dc:creator>
      <dc:date>2018-09-27T20:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499699#M203</link>
      <description>&lt;P&gt;It would be better if you can provide a sample data you have and how JMP "split by", so that someone here can give you the same result in SAS using your sample data as source.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499699#M203</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-09-27T20:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499703#M204</link>
      <description>&lt;P&gt;Here is an example from JMP webpage:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/14/examples-of-splitting-columns.shtml" target="_blank"&gt;https://www.jmp.com/support/help/14/examples-of-splitting-columns.shtml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is JSL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data Table( "Popcorn" ) &amp;lt;&amp;lt; Split(&lt;BR /&gt; Split By( :trial ),&lt;BR /&gt; Split( :yield ),&lt;BR /&gt; Group( :popcorn ),&lt;BR /&gt; Sort by Column Property&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:45:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499703#M204</guid>
      <dc:creator>triunk</dc:creator>
      <dc:date>2018-09-27T20:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499706#M206</link>
      <description>&lt;P&gt;I think that’s PROC TRANSPOSE or the TRANSPOSE task.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the second one, don’t include any of the options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 20:46:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499706#M206</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-27T20:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499708#M207</link>
      <description>&lt;P&gt;I was able to get the example popcorn.jmp data and here is the SAS version of "Split by" as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;mentioning.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data popcorn;
infile datalines dlm='09'x missover;
input popcorn:$8.	oil_amt :$8.	batch:$8.	yield	trial;
datalines;
gourmet	little	large	8.2	2
gourmet	little	large	8.6	1
gourmet	little	small	12.1	1
gourmet	little	small	15.9	2
gourmet	lots	large	9.2	1
gourmet	lots	large	9.8	2
gourmet	lots	small	16	2
gourmet	lots	small	18	1
plain	little	large	8.2	1
plain	little	large	8.8	2
plain	little	small	9.9	1
plain	little	small	10.1	2
plain	lots	large	8.8	2
plain	lots	large	10.4	1
plain	lots	small	7.4	2
plain	lots	small	10.6	1
;
run;

PROC SORT DATA=POPCORN;
BY popcorn	oil_amt	batch	yield	;
RUN;
PROC TRANSPOSE DATA=POPCORN OUT=TRANSPOSE(drop=_name_ ) ;
BY popcorn	oil_amt	batch;
iD trial;
var yield;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23626i8BF47C7E13DC74B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 21:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499708#M207</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-09-27T21:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of split by in JMP to Base SAS</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499744#M209</link>
      <description>&lt;P&gt;So in SAS PROC TRANSPOSE does both jobs of split by and transpose interesting!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 00:59:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Equivalent-of-split-by-in-JMP-to-Base-SAS/m-p/499744#M209</guid>
      <dc:creator>triunk</dc:creator>
      <dc:date>2018-09-28T00:59:49Z</dc:date>
    </item>
  </channel>
</rss>

