<?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: proc surveyselect in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213044#M267516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the same this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data one;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; do x=1 to 10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data two / view=two;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;call streaminit(49201);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set one;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rnd = rand("UNIFORM");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc rank data=two out=randomGroups(drop=rnd) groups=3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var x;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ranks groupID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc freq data=RandomGroups;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; tables GroupID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 17:54:32 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2015-05-11T17:54:32Z</dc:date>
    <item>
      <title>proc surveyselect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213043#M267515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using SAS on9.4 (TS1M0). proc surveyselect groups= option not recognized. The following SAS example does not work! At least for me. Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data one;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do x=1 to 10;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc surveyselect data=one groups=3 seed=49201 out=RandomGroups noprint;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;proc freq data=RandomGroups;&lt;/P&gt;&lt;P&gt;&amp;nbsp; tables GroupID;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raphael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:00:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213043#M267515</guid>
      <dc:creator>R_Fraser</dc:creator>
      <dc:date>2015-05-11T17:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213044#M267516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the same this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data one;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; do x=1 to 10;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; output;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; end;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data two / view=two;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;call streaminit(49201);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set one;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rnd = rand("UNIFORM");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc rank data=two out=randomGroups(drop=rnd) groups=3;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;var x;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ranks groupID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc freq data=RandomGroups;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; tables GroupID;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:54:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213044#M267516</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-05-11T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213045#M267517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This option was added in SAS/STAT 13.1, which was 9.4m1. See the "What's New" in &lt;A href="http://support.sas.com/documentation/cdl/en/statug/66859/HTML/default/viewer.htm#statug_whatsnew_sect035.htm" title="http://support.sas.com/documentation/cdl/en/statug/66859/HTML/default/viewer.htm#statug_whatsnew_sect035.htm"&gt;SAS/STAT(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 17:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213045#M267517</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-05-11T17:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213046#M267518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the note below the option should be available in &lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 1.05em; font-weight: bold; line-height: 1.5em;"&gt;SAS&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: inherit; line-height: 1.5em; font-size: smaller;"&gt;®&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 1.05em; font-weight: bold; line-height: 1.5em;"&gt; 9.4 TS1M0 or later.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/36/383.html" title="http://support.sas.com/kb/36/383.html"&gt;36383 - Randomly assign the observations in a data set to two or more groups&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 20:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213046#M267518</guid>
      <dc:creator>R_Fraser</dc:creator>
      <dc:date>2015-05-11T20:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: proc surveyselect</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213047#M267519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could have saved us some time if you had linked to that article in your original question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems, then, that your question is not "How do I do this task," but rather, "Why is the web page wrong."&amp;nbsp; I doubt that anyone on this list can answer that question, other than a generic response: "human error."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 18:50:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-surveyselect/m-p/213047#M267519</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-05-12T18:50:07Z</dc:date>
    </item>
  </channel>
</rss>

