<?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: Permutations in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Permutations/m-p/325684#M72468</link>
    <description>&lt;P&gt;How do you want the output?&lt;/P&gt;
&lt;P&gt;The function Call ALLPERM will do what you want&lt;/P&gt;
&lt;PRE&gt;data _null_;    
/* replace _null_ with the name of a dataset if you want the results in a dataset*/
   array x [4] (23 15 9 76); 
   n=dim(x);
   nfact=fact(n); 
   do i=1 to nfact;   
      call allperm(i, of x[*]);
      put i 5. +2 x[*];
      /* put an output statement here if you want a data set*/
   end;
run;
&lt;/PRE&gt;</description>
    <pubDate>Wed, 18 Jan 2017 14:36:47 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-01-18T14:36:47Z</dc:date>
    <item>
      <title>Permutations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permutations/m-p/325680#M72466</link>
      <description>&lt;P&gt;&amp;nbsp;There are four numbers , a, b, c, d&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can find the permutations of these 4 numbers ? ( There are 24 puermutations total.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permutations/m-p/325680#M72466</guid>
      <dc:creator>Ivy</dc:creator>
      <dc:date>2017-01-18T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Permutations</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Permutations/m-p/325684#M72468</link>
      <description>&lt;P&gt;How do you want the output?&lt;/P&gt;
&lt;P&gt;The function Call ALLPERM will do what you want&lt;/P&gt;
&lt;PRE&gt;data _null_;    
/* replace _null_ with the name of a dataset if you want the results in a dataset*/
   array x [4] (23 15 9 76); 
   n=dim(x);
   nfact=fact(n); 
   do i=1 to nfact;   
      call allperm(i, of x[*]);
      put i 5. +2 x[*];
      /* put an output statement here if you want a data set*/
   end;
run;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 18 Jan 2017 14:36:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Permutations/m-p/325684#M72468</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-18T14:36:47Z</dc:date>
    </item>
  </channel>
</rss>

