<?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: Specify the sample size desired with pps and stratification PROC SURVEYSELECT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487904#M127161</link>
    <description>&lt;P&gt;Thanks for the advice to read the documentation.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 19:10:36 GMT</pubDate>
    <dc:creator>dewittme</dc:creator>
    <dc:date>2018-08-17T19:10:36Z</dc:date>
    <item>
      <title>Specify the sample size desired with pps and stratification PROC SURVEYSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487885#M127151</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying to create a sampling frame. It is a unique problem in that I want to divide a population into two samples that have been stratified by several variables (Demographics/Gender/ etc). I however don't just want a sample of the population, I want to divide the data into two sample, A and B.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run a proc freq to get the marginal probabilities and have joined them to my original data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to specify to proc surveyselect how to say I want a sample with 50% of my data? The samplesize arguments specify the samples per strata which is not what I want exactly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:30:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487885#M127151</guid>
      <dc:creator>dewittme</dc:creator>
      <dc:date>2018-08-17T18:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Specify the sample size desired with pps and stratification PROC SURVEYSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487894#M127155</link>
      <description>&lt;P&gt;You might provide a small example of your data and what you would expect a possible &amp;nbsp;result to look like after your process.&lt;/P&gt;
&lt;P&gt;You may only need the Groups= option.&lt;/P&gt;
&lt;P&gt;Both the SAMPSIZE and SAMPRATE options allow use of a data set to control the numbers/rates per strata combination. So if you set that up correctly using your proc freq information that might be what you are looking for. This would be&amp;nbsp;a different data set than your set to sample from and must have a specific structure. So read the documentation.&lt;/P&gt;
&lt;P&gt;Anything where you specify one or more strata your selection rate/size is your responsibility to get the "total" that you want.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487894#M127155</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-17T18:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Specify the sample size desired with pps and stratification PROC SURVEYSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487904#M127161</link>
      <description>&lt;P&gt;Thanks for the advice to read the documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487904#M127161</guid>
      <dc:creator>dewittme</dc:creator>
      <dc:date>2018-08-17T19:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Specify the sample size desired with pps and stratification PROC SURVEYSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487905#M127162</link>
      <description>&lt;P&gt;Ended up using the SRS method and just verifying the marginal probabilities afterwards. This worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;PROC SURVEYSELECT data = mydata
 method = srs 
 n= 2648
 seed = 1234
 out = srs_method
 ;
RUN;

&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Aug 2018 19:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487905#M127162</guid>
      <dc:creator>dewittme</dc:creator>
      <dc:date>2018-08-17T19:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Specify the sample size desired with pps and stratification PROC SURVEYSELECT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487972#M127166</link>
      <description>&lt;P&gt;Mark your message as a solution.&amp;nbsp; It doesn't matter that you specified the solution to your own topic.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Aug 2018 00:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Specify-the-sample-size-desired-with-pps-and-stratification-PROC/m-p/487972#M127166</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-08-18T00:25:47Z</dc:date>
    </item>
  </channel>
</rss>

