<?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: Randomization and sample stratification in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/812531#M9176</link>
    <description>&lt;P&gt;Plz post the output you want. and Better give an example .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc plan seed=123;
factors age=10 binary=2;
output out=want;
quit;&lt;/PRE&gt;</description>
    <pubDate>Wed, 11 May 2022 03:03:01 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-05-11T03:03:01Z</dc:date>
    <item>
      <title>Randomization and sample stratification</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/812522#M9175</link>
      <description>&lt;P&gt;Can someone help with coding for randomization of the sample where the outcome is binary and age is stratified&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 02:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/812522#M9175</guid>
      <dc:creator>knargis160</dc:creator>
      <dc:date>2022-05-11T02:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Randomization and sample stratification</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/812531#M9176</link>
      <description>&lt;P&gt;Plz post the output you want. and Better give an example .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc plan seed=123;
factors age=10 binary=2;
output out=want;
quit;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 May 2022 03:03:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/812531#M9176</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-11T03:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Randomization and sample stratification</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/814074#M9179</link>
      <description>&lt;P&gt;I suppose you run SAS Viya, therefore take a look at the specific action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;copied from the sas documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc cas;
   loadactionset "sampling";
   action stratified result=r/table={name="hmeq",groupby={"bad"}}
      samppct=10 samppct2=20 partind="TRUE" seed=10
      output={casout={name="out",replace="TRUE"},
              copyvars={"job","reason","loan","value","delinq","derog"}};
   run;
   print r.STRAFreq; run;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 14:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Randomization-and-sample-stratification/m-p/814074#M9179</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2022-05-18T14:32:17Z</dc:date>
    </item>
  </channel>
</rss>

