<?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 random  number in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6205#M2484</link>
    <description>Hi &lt;BR /&gt;
I got 10 data sets which is having each 60000 obs. so i nees to get 100 random obs from each set . can you please let me know any one .&lt;BR /&gt;
&lt;BR /&gt;
I got idea to use RANUNI but dont know how&lt;BR /&gt;
&lt;BR /&gt;
thx</description>
    <pubDate>Tue, 08 Jan 2008 14:43:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-01-08T14:43:42Z</dc:date>
    <item>
      <title>random  number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6205#M2484</link>
      <description>Hi &lt;BR /&gt;
I got 10 data sets which is having each 60000 obs. so i nees to get 100 random obs from each set . can you please let me know any one .&lt;BR /&gt;
&lt;BR /&gt;
I got idea to use RANUNI but dont know how&lt;BR /&gt;
&lt;BR /&gt;
thx</description>
      <pubDate>Tue, 08 Jan 2008 14:43:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6205#M2484</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-01-08T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: random  number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6206#M2485</link>
      <description>How about using PROC SURVEYSELECT?&lt;BR /&gt;
&lt;BR /&gt;
proc surveyselect data=subscribers&lt;BR /&gt;
  out=subsamp100(drop=selectionProb samplingWeight)&lt;BR /&gt;
  method=srs /* simple random sample */&lt;BR /&gt;
  n=100 /* 100 per strata */&lt;BR /&gt;
  noprint&lt;BR /&gt;
  seed=1952 ;&lt;BR /&gt;
  *strata prodlvl1d /* stratified by product level 1 */;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 08 Jan 2008 17:26:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6206#M2485</guid>
      <dc:creator>advoss</dc:creator>
      <dc:date>2008-01-08T17:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: random  number</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6207#M2486</link>
      <description>There are many ways to do.  This is my favorite&lt;BR /&gt;
&lt;BR /&gt;
data in/view=in;&lt;BR /&gt;
set input_data_set;&lt;BR /&gt;
random=uniform(0);&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc sort data=in out=output_data_set(obs=100);&lt;BR /&gt;
by random;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 08 Feb 2008 02:54:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/random-number/m-p/6207#M2486</guid>
      <dc:creator>david2010</dc:creator>
      <dc:date>2008-02-08T02:54:31Z</dc:date>
    </item>
  </channel>
</rss>

