<?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: Proc Survey Select - Stratified Random Sampling in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/560511#M10474</link>
    <description>&lt;P&gt;If exact same data is needed on multiple machines the best approach is likely to generate one data set and&amp;nbsp;copy&amp;nbsp;to other&amp;nbsp;computers. Possibly that data set should only contain 'agents' what ever those may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you specifying&amp;nbsp;the exact&amp;nbsp;same&amp;nbsp;SEED= value on the other machines?&amp;nbsp;SEED may not work on different machines for a number of reasons. ANY difference in the input data set will change the output. Sorting by one variable is not going to guarantee that the order of the data is exactly the same if&amp;nbsp; there are any other variables in the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not understand how your topic 2 differs from topic 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 14:15:52 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-05-21T14:15:52Z</dc:date>
    <item>
      <title>Proc Survey Select - Stratified Random Sampling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/560469#M10464</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;
&lt;P&gt;Sas code&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*STRATA METHOD */&lt;BR /&gt;PROC SORT DATA=PROD_DATA OUT=PROD_DATA_SORT;&lt;BR /&gt;BY PROD_FLAG;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;PROC SURVEYSELECT DATA=PROD_DATA_SORT OUT=STRATA_SPLIT SAMPRATE=.7 SEED=34258 OUTALL;&lt;BR /&gt;STRATA PROD_FLAG;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;DATA TRAINING VALIDATION;&lt;BR /&gt;SET STRATA_SPLIT;&lt;BR /&gt;IF SELECTED = 1 THEN OUTPUT TRAINING;&lt;BR /&gt;ELSE OUTPUT VALIDATION;&lt;BR /&gt;RUN;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have one data set it contains 100 observations. Spiting data into 70%&amp;nbsp; and 30% using&amp;nbsp;PROC SURVEYSELECT method with&amp;nbsp; Strata statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Then data is split into 70 and 30 .&lt;/P&gt;
&lt;P&gt;But i have two problems&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.Run same code into another system/ laptop. the data split is 70 and 30.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But In both of 70 agents are differed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; How to get same agents on all laptops?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.Adding some variables to data set and spit is 70 and 30&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But In both of 70 agents are differed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; How to get same agents on all laptops?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please give your valuable suggestions&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lakshminrayana.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/560469#M10464</guid>
      <dc:creator>tlnarayana26</dc:creator>
      <dc:date>2019-05-21T12:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Survey Select - Stratified Random Sampling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/560511#M10474</link>
      <description>&lt;P&gt;If exact same data is needed on multiple machines the best approach is likely to generate one data set and&amp;nbsp;copy&amp;nbsp;to other&amp;nbsp;computers. Possibly that data set should only contain 'agents' what ever those may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you specifying&amp;nbsp;the exact&amp;nbsp;same&amp;nbsp;SEED= value on the other machines?&amp;nbsp;SEED may not work on different machines for a number of reasons. ANY difference in the input data set will change the output. Sorting by one variable is not going to guarantee that the order of the data is exactly the same if&amp;nbsp; there are any other variables in the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not understand how your topic 2 differs from topic 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/560511#M10474</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-05-21T14:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Survey Select - Stratified Random Sampling</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/561324#M10569</link>
      <description>Thanks,&lt;BR /&gt;ballardw</description>
      <pubDate>Fri, 24 May 2019 06:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Survey-Select-Stratified-Random-Sampling/m-p/561324#M10569</guid>
      <dc:creator>tlnarayana26</dc:creator>
      <dc:date>2019-05-24T06:46:41Z</dc:date>
    </item>
  </channel>
</rss>

