<?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 SRS by STRATA in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857206#M42165</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/439183"&gt;@TT105&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All records in stratum 1 will have the same probability of selection, all&amp;nbsp;records in stratum 2 will have the same probability of selection, etc., but the selection probabilities may differ &lt;EM&gt;between&lt;/EM&gt; the strata. Suppose that stratum 1 contains 100 records, stratum 2 contains 200 records and the sample sizes specified in dataset SAMPSIZE for these two strata are 30 and 40, respectively. Then the selection probabilities will be 30/100=0.3 for the records in stratum 1 and 40/200=0.2 for those in stratum 2 and these probabilities will be contained in variable &lt;FONT face="courier new,courier"&gt;SelectionProb&lt;/FONT&gt; of your output dataset SAMPLES.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2023 22:22:41 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2023-02-04T22:22:41Z</dc:date>
    <item>
      <title>PROC SURVEYSELECT SRS by STRATA</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857199#M42164</link>
      <description>&lt;P&gt;Hi, I have a general question about using the SRS method of random sampling by strata. I am wondering if using SRS by Strata will automatically result in the random sampling to be evenly distributed within each strata. By this, I mean that all records within each strata will have equal probability in getting selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: I have 4 different groups identified by "ID" (1, 2, 3, 4). I have a file called SAMPSIZE to specify the number of samples I want to select from each group. If I use the proc surveyselect statement below, would the records within each strata ("ID") have an equal probability of being randomly selected? If not, how can this be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SURVEYSELECT N=SAMPSIZE&amp;nbsp; &amp;nbsp;METHOD=SRS&amp;nbsp; &amp;nbsp;OUT=SAMPLES&amp;nbsp; &amp;nbsp; DATA=POPULATION;&lt;BR /&gt;STRATA ID;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 19:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857199#M42164</guid>
      <dc:creator>TT105</dc:creator>
      <dc:date>2023-02-04T19:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYSELECT SRS by STRATA</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857206#M42165</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/439183"&gt;@TT105&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All records in stratum 1 will have the same probability of selection, all&amp;nbsp;records in stratum 2 will have the same probability of selection, etc., but the selection probabilities may differ &lt;EM&gt;between&lt;/EM&gt; the strata. Suppose that stratum 1 contains 100 records, stratum 2 contains 200 records and the sample sizes specified in dataset SAMPSIZE for these two strata are 30 and 40, respectively. Then the selection probabilities will be 30/100=0.3 for the records in stratum 1 and 40/200=0.2 for those in stratum 2 and these probabilities will be contained in variable &lt;FONT face="courier new,courier"&gt;SelectionProb&lt;/FONT&gt; of your output dataset SAMPLES.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2023 22:22:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857206#M42165</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-02-04T22:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYSELECT SRS by STRATA</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857291#M42167</link>
      <description>Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;, thank you for your response! This is what I had thought based on things I've read, but I needed to be extra extra sure. I appreciate the quick response!</description>
      <pubDate>Mon, 06 Feb 2023 00:59:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-SURVEYSELECT-SRS-by-STRATA/m-p/857291#M42167</guid>
      <dc:creator>TT105</dc:creator>
      <dc:date>2023-02-06T00:59:16Z</dc:date>
    </item>
  </channel>
</rss>

