<?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: Removing random sample obs from sampling frame after using Proc Survey in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Removing-random-sample-obs-from-sampling-frame-after-using-Proc/m-p/42710#M11110</link>
    <description>Hello SASer,&lt;BR /&gt;
&lt;BR /&gt;
You can use OUTALL option and for the second sampling use Selected=0. This is extraction from Proc SURVEYSELECT help: &lt;BR /&gt;
&lt;BR /&gt;
OUTALL &lt;BR /&gt;
includes all observations from the input data set in the output data set. By default, the output data set includes only those observations selected for the sample. When you specify the OUTALL option, the output data set includes all observations from DATA= and also contains a variable to indicate each observation's selection status. The variable Selected equals 1 for an observation selected for the sample, and equals 0 for an observation not selected. For information on the contents of the output data set, see the section "Output Data Set." &lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
    <pubDate>Thu, 02 Dec 2010 15:02:21 GMT</pubDate>
    <dc:creator>SPR</dc:creator>
    <dc:date>2010-12-02T15:02:21Z</dc:date>
    <item>
      <title>Removing random sample obs from sampling frame after using Proc Survey</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Removing-random-sample-obs-from-sampling-frame-after-using-Proc/m-p/42709#M11109</link>
      <description>I need to generate a random sample of 50 individuals from a sampling frame dataset.  I did this using proc surveyselect....now, of those 50 random individuals, I need to remove them from the sampling frame now so if I drawn another random sample that don't have the chance to be included again....how would I go about removing the random generated sample from the sampling frame after they are chosen?  Thanks</description>
      <pubDate>Thu, 02 Dec 2010 01:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Removing-random-sample-obs-from-sampling-frame-after-using-Proc/m-p/42709#M11109</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-02T01:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing random sample obs from sampling frame after using Proc Survey</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Removing-random-sample-obs-from-sampling-frame-after-using-Proc/m-p/42710#M11110</link>
      <description>Hello SASer,&lt;BR /&gt;
&lt;BR /&gt;
You can use OUTALL option and for the second sampling use Selected=0. This is extraction from Proc SURVEYSELECT help: &lt;BR /&gt;
&lt;BR /&gt;
OUTALL &lt;BR /&gt;
includes all observations from the input data set in the output data set. By default, the output data set includes only those observations selected for the sample. When you specify the OUTALL option, the output data set includes all observations from DATA= and also contains a variable to indicate each observation's selection status. The variable Selected equals 1 for an observation selected for the sample, and equals 0 for an observation not selected. For information on the contents of the output data set, see the section "Output Data Set." &lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Thu, 02 Dec 2010 15:02:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Removing-random-sample-obs-from-sampling-frame-after-using-Proc/m-p/42710#M11110</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2010-12-02T15:02:21Z</dc:date>
    </item>
  </channel>
</rss>

