<?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 Oversampling method in program description in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/646469#M193398</link>
    <description>&lt;P&gt;Oversampling is introduced below as a method of building a model when the number of targets is extremely small.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method by Enterprise Miner is introduced below,&lt;/P&gt;&lt;P&gt;Could it be done by writing program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/offices/asiapacific/japan/service/technical/faq/list/body/em003.html" target="_blank"&gt;https://www.sas.com/offices/asiapacific/japan/service/technical/faq/list/body/em003.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to trouble you, but please tell me.&lt;/P&gt;</description>
    <pubDate>Sun, 10 May 2020 07:42:35 GMT</pubDate>
    <dc:creator>kokodenden52</dc:creator>
    <dc:date>2020-05-10T07:42:35Z</dc:date>
    <item>
      <title>Oversampling method in program description</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/646469#M193398</link>
      <description>&lt;P&gt;Oversampling is introduced below as a method of building a model when the number of targets is extremely small.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method by Enterprise Miner is introduced below,&lt;/P&gt;&lt;P&gt;Could it be done by writing program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sas.com/offices/asiapacific/japan/service/technical/faq/list/body/em003.html" target="_blank"&gt;https://www.sas.com/offices/asiapacific/japan/service/technical/faq/list/body/em003.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to trouble you, but please tell me.&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 07:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/646469#M193398</guid>
      <dc:creator>kokodenden52</dc:creator>
      <dc:date>2020-05-10T07:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Oversampling method in program description</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/646492#M193409</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
 set sashelp.heart;
run;
proc sort data=have;by status;run;
/*Check population ratio of Dead and Alive*/
proc freq data=have;
table status/missing;
run;

/*If you want oversample 1:1 for Dead and Alive*/
proc surveyselect data=have out=want sampsize=(1000 1000);
strata status;
run;

/*Check the oversample rate*/
proc freq data=want;
table status/missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 10 May 2020 11:07:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/646492#M193409</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-05-10T11:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Oversampling method in program description</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/647530#M193812</link>
      <description>&lt;P&gt;Mr.Ksharp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You showed the program in detail.&lt;/P&gt;
&lt;P&gt;It helps me&amp;nbsp; very useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once again, thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 16:33:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/647530#M193812</guid>
      <dc:creator>kokodenden52</dc:creator>
      <dc:date>2020-05-13T16:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Oversampling method in program description</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/647605#M193837</link>
      <description>&lt;P&gt;If you want oversampling, i.e. to sample more units than there are in the dataset, you will need to add option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;method=urs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the proc surveyselect statement of &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt; code above. URS means unrestricted random sampling, i.e. sampling with replacement. By default, proc surveyselect does SRS: simple random sampling which is sampling without replacement.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 20:17:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Oversampling-method-in-program-description/m-p/647605#M193837</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-05-13T20:17:45Z</dc:date>
    </item>
  </channel>
</rss>

