<?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: sample a similar population? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217924#M11787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc surveyselect with SAMPRATE option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 03:06:12 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-04-09T03:06:12Z</dc:date>
    <item>
      <title>sample a similar population?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217923#M11786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure this is the correct forum so please someone point me in the right direction if it's not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one population that is distributed a certain way by length of tenure and I'd like to sample from another population such that I end up with the same distribution.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example I have pop A summarized as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;tenure 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;tenure 2&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;tenure 3&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P&gt;tenure 4&amp;nbsp;&amp;nbsp;&amp;nbsp; 35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I'd like to randomly sample from pop B (say, 1,000,000 records) so that the 4 tenure buckets distribute just like pop A above so I'd have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pop B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N&lt;/P&gt;&lt;P&gt;tenure 1&amp;nbsp;&amp;nbsp; 100,000&lt;/P&gt;&lt;P&gt;tenure 2&amp;nbsp;&amp;nbsp; 300,000&lt;/P&gt;&lt;P&gt;tenure 3&amp;nbsp;&amp;nbsp; 250,000&lt;/P&gt;&lt;P&gt;tenure 4&amp;nbsp;&amp;nbsp; 350,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine there has to be some sort of statistical/sampling PROC to achieve this? If not, perhaps some basic code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a ton for any assistance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 01:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217923#M11786</guid>
      <dc:creator>SASguyCO</dc:creator>
      <dc:date>2015-04-09T01:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: sample a similar population?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217924#M11787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;proc surveyselect with SAMPRATE option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 03:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217924#M11787</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-04-09T03:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: sample a similar population?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217925#M11788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Reeza, can you please provide sample syntax of how this would be accomplished with PROC SURVEYSELECT?&amp;nbsp; I've looked at the documentation and it seems pretty complex.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 04:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sample-a-similar-population/m-p/217925#M11788</guid>
      <dc:creator>SASguyCO</dc:creator>
      <dc:date>2015-04-09T04:10:04Z</dc:date>
    </item>
  </channel>
</rss>

