<?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: splitting in sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510315#M1922</link>
    <description>&lt;P&gt;Please post what SAS code you are working with and sample data that&amp;nbsp;will assist in explaining what you want to achieve.&lt;/P&gt;
&lt;P&gt;You can search the communities for regression models is that if what your question is and there should be many examples.&lt;/P&gt;
&lt;P&gt;But if you provide samples and a clear statement of what you have (sample data) and what you expect possible sample data we can assist you faster because we will not be guessing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Nov 2018 03:36:16 GMT</pubDate>
    <dc:creator>VDD</dc:creator>
    <dc:date>2018-11-05T03:36:16Z</dc:date>
    <item>
      <title>splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510313#M1921</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking for a code to split the data in the stepwise regression model into predicted and estimated.&lt;BR /&gt;&lt;BR /&gt;Your valuable help is highly appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 03:29:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510313#M1921</guid>
      <dc:creator>esraa</dc:creator>
      <dc:date>2018-11-05T03:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510315#M1922</link>
      <description>&lt;P&gt;Please post what SAS code you are working with and sample data that&amp;nbsp;will assist in explaining what you want to achieve.&lt;/P&gt;
&lt;P&gt;You can search the communities for regression models is that if what your question is and there should be many examples.&lt;/P&gt;
&lt;P&gt;But if you provide samples and a clear statement of what you have (sample data) and what you expect possible sample data we can assist you faster because we will not be guessing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 03:36:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510315#M1922</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2018-11-05T03:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510316#M1923</link>
      <description>&lt;P&gt;What do you mean by 'predicted' and 'estimated'? Do you mean test/training splits?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244540"&gt;@esraa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking for a code to split the data in the stepwise regression model into predicted and estimated.&lt;BR /&gt;&lt;BR /&gt;Your valuable help is highly appreciated&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 03:36:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510316#M1923</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-05T03:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510317#M1924</link>
      <description>&lt;P&gt;I have a data set and the question asked me to Split the data into estimation&lt;BR /&gt;and prediction sets. then&amp;nbsp;&lt;BR /&gt;a. Evaluate the statistical properties of these data sets.&lt;BR /&gt;b. Fit a model involving x 1 and x 6 to the estimation data. Do the coeffi cients&lt;BR /&gt;and fi tted values from this model seem reasonable?&lt;BR /&gt;c. Use this model to predict the observations in the prediction data set.&lt;BR /&gt;What is your evaluation of this model ’ s predictive performance?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 03:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510317#M1924</guid>
      <dc:creator>esraa</dc:creator>
      <dc:date>2018-11-05T03:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510318#M1925</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;Where do you think it's asking you to split the data set? It doesn't as far as I can tell.&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My mistake, I&amp;nbsp;believe you're referring to test and validation data sets then. Use PROC SURVEYSELECT&amp;nbsp;to split your data into two different sample sets. They need to be entirely independent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option is the 'manual' way which is to add a random number, sort the data by the random number and take the first split as the model fitting (prediction) and the second as the evaluation set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244540"&gt;@esraa&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a data set and the question asked me to Split the data into estimation&lt;BR /&gt;and prediction sets. then&amp;nbsp;&lt;BR /&gt;a. Evaluate the statistical properties of these data sets.&lt;BR /&gt;b. Fit a model involving x 1 and x 6 to the estimation data. Do the coeffi cients&lt;BR /&gt;and fi tted values from this model seem reasonable?&lt;BR /&gt;c. Use this model to predict the observations in the prediction data set.&lt;BR /&gt;What is your evaluation of this model ’ s predictive performance?&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 04:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/510318#M1925</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-11-05T04:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: splitting in sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/511094#M2105</link>
      <description>&lt;P&gt;yes exactly, I wrote&amp;nbsp;the code but there is only one table appears in the results could you please help me with that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Title1 'problem 2’;&lt;BR /&gt;data math;&lt;BR /&gt;input x1 x2 x3 x4 x5 x6 x7 x8 x9 y;&lt;BR /&gt;cards;&lt;BR /&gt;&lt;BR /&gt;350 170 275 8.5 2.56 199.6 72.9 3860 1 17&lt;BR /&gt;250 105 185 8.25 2.73 196.7 72.2 3510 1 20&lt;BR /&gt;351 143 255 8 3 199.9 74 3890 1 18.25&lt;BR /&gt;231 110 175 8 2.56 179.3 65.4 3020 1 22.12&lt;BR /&gt;262 110 200 8.5 2.56 179.3 65.4 3180 1 21.47&lt;BR /&gt;89.7 70 81 8.2 3.9 155.7 64 1905 0 34.7&lt;BR /&gt;96.9 75 83 9 4.3 165.2 65 2320 0 30.4&lt;BR /&gt;350 155 250 8.5 3.08 195.4 74.4 3885 1 16.5&lt;BR /&gt;85.3 80 83 8.5 3.89 160.6 62.2 2009 0 36.5&lt;BR /&gt;171 109 146 8.2 3.22 170.4 66.9 2655 0 21.5&lt;BR /&gt;258 110 195 8 3.08 171.5 77 3375 1 19.7&lt;BR /&gt;140 83 109 8.4 3.4 168.8 69.4 2700 0 20.3&lt;BR /&gt;302 129 220 8 3 199.9 74 3890 1 17.8&lt;BR /&gt;500 190 360 8.5 2.73 224.1 79.8 5290 1 14.39&lt;BR /&gt;440 215 330 8.2 2.71 231 79.7 5185 1 14.89&lt;BR /&gt;350 155 250 8.5 3.08 196.7 72.2 3910 1 17.8&lt;BR /&gt;318 145 255 8.5 2.45 197.6 71 3660 1 16.41&lt;BR /&gt;231 110 175 8 2.56 179.3 65.4 3050 1 23.54&lt;BR /&gt;360 180 290 8.4 2.45 214.2 76.3 4250 1 21.47&lt;BR /&gt;96.9 75 83 9 4.3 165.2 61.8 2275 0 31.9&lt;BR /&gt;460 223 366 8 3 228 79.8 5430 1 13.27&lt;BR /&gt;133.6 96 120 8.4 3.91 171.5 63.4 2535 0 23.9&lt;BR /&gt;318 140 255 8.5 2.71 215.3 76.3 4370 1 19.73&lt;BR /&gt;351 148 243 8 3.25 215.5 78.5 4540 1 13.9&lt;BR /&gt;351 148 243 8 3.26 216.1 78.5 4715 1 13.27&lt;BR /&gt;360 195 295 8.25 3.15 209.3 77.4 4215 1 13.77&lt;BR /&gt;360 165 255 8.5 2.73 185.2 69 3660 1 16.5&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc surveyselect data=math outall out=split&lt;BR /&gt;samprate=0.7 seed=90284098 method=SRS;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc freq data=split;&lt;BR /&gt;table selected;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data estimation prediction;&lt;BR /&gt;set split;&lt;BR /&gt;if selected=1 then output estimation;&lt;BR /&gt;else output prediction;&lt;BR /&gt;drop selected;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc reg data=estimation;&lt;BR /&gt;model y=x1x6;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Nov 2018 17:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/splitting-in-sas/m-p/511094#M2105</guid>
      <dc:creator>esraa</dc:creator>
      <dc:date>2018-11-07T17:19:17Z</dc:date>
    </item>
  </channel>
</rss>

