<?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: Random weighted mutually exclusive sampling in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Random-weighted-mutually-exclusive-sampling/m-p/214515#M52857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The basic approach would be to have YEAR as a STRAT variable and then SAMPRATE = (.35 .35 .30)&lt;/P&gt;&lt;P&gt;However if the ID appears in multiple years then additional steps may be needed. If your data is large enough you may not have any duplicates selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Apr 2015 00:07:51 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-04-02T00:07:51Z</dc:date>
    <item>
      <title>Random weighted mutually exclusive sampling</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Random-weighted-mutually-exclusive-sampling/m-p/214514#M52856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a brief description of the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset containing IDs cand dates. I have assigned the cases to groups based on a year and have 3 such groups. I need to obtain random samples from this dataset in such a way that the 35%,35% and 30% of cases are picked from the three groups respectively and none of the IDs are overlapping. I intended to use PROC Surveyselect simple random sampling for this but I don't know how to assign the percentages/weights to the groups. Kindly advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 23:46:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Random-weighted-mutually-exclusive-sampling/m-p/214514#M52856</guid>
      <dc:creator>sanketshah07</dc:creator>
      <dc:date>2015-04-01T23:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Random weighted mutually exclusive sampling</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Random-weighted-mutually-exclusive-sampling/m-p/214515#M52857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The basic approach would be to have YEAR as a STRAT variable and then SAMPRATE = (.35 .35 .30)&lt;/P&gt;&lt;P&gt;However if the ID appears in multiple years then additional steps may be needed. If your data is large enough you may not have any duplicates selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 00:07:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Random-weighted-mutually-exclusive-sampling/m-p/214515#M52857</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-02T00:07:51Z</dc:date>
    </item>
  </channel>
</rss>

