<?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: how do I split data into TRAINING AND TEST in BASE SAS 9.4? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582122#M28551</link>
    <description>You cannot use a standard test/train split when dealing with time series data because your splits need to be based on time. So you're looking for basic filters which can be accomplished via WHERE statements. &lt;BR /&gt;&lt;BR /&gt;ie &lt;BR /&gt;&lt;BR /&gt;where year in (2018, 2017);&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;where year = '2017-18';&lt;BR /&gt; Depending on your variable types. &lt;BR /&gt;&lt;BR /&gt;Almost all procedures support a WHERE statement including a data step or proc sql.</description>
    <pubDate>Mon, 19 Aug 2019 14:55:32 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-08-19T14:55:32Z</dc:date>
    <item>
      <title>how do I split data into TRAINING AND TEST in BASE SAS 9.4?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582105#M28549</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an excel file with data for years 2017-2019. I want to import the excel file and train the 2017-18 data to predict for 2019, which is unknown. For example, if I want to predict weather college applicants&amp;nbsp; would accept an offer or not based on the 2017-18 profile, how could I go about that?&amp;nbsp; Can anyone please provide me with a sample code that I can use to perform such a task, by splitting the years into training and testing and how I may be able to put the variable for which I want the prediction?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 13:49:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582105#M28549</guid>
      <dc:creator>MikeA</dc:creator>
      <dc:date>2019-08-19T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: how do I split data into TRAINING AND TEST in BASE SAS 9.4?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582110#M28550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/285719"&gt;@MikeA&lt;/a&gt;&amp;nbsp;and welcome to the SAS Communities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A good place to start is the article&amp;nbsp;&lt;A href="https://blogs.sas.com/content/iml/2019/01/21/training-validation-test-data-sas.html" target="_self"&gt;Create training, validation, and test data sets in SAS&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 14:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582110#M28550</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-08-19T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: how do I split data into TRAINING AND TEST in BASE SAS 9.4?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582122#M28551</link>
      <description>You cannot use a standard test/train split when dealing with time series data because your splits need to be based on time. So you're looking for basic filters which can be accomplished via WHERE statements. &lt;BR /&gt;&lt;BR /&gt;ie &lt;BR /&gt;&lt;BR /&gt;where year in (2018, 2017);&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;where year = '2017-18';&lt;BR /&gt; Depending on your variable types. &lt;BR /&gt;&lt;BR /&gt;Almost all procedures support a WHERE statement including a data step or proc sql.</description>
      <pubDate>Mon, 19 Aug 2019 14:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-do-I-split-data-into-TRAINING-AND-TEST-in-BASE-SAS-9-4/m-p/582122#M28551</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-08-19T14:55:32Z</dc:date>
    </item>
  </channel>
</rss>

