<?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 split my dataset into multiple datasets based on three or more variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624570#M184011</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is part of my datasets.&amp;nbsp; I want to split the dataset into multiple datasets based on the Group, Product, Condition.&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 18:33:14 GMT</pubDate>
    <dc:creator>bayoote</dc:creator>
    <dc:date>2020-02-13T18:33:14Z</dc:date>
    <item>
      <title>split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624570#M184011</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached is part of my datasets.&amp;nbsp; I want to split the dataset into multiple datasets based on the Group, Product, Condition.&lt;/P&gt;&lt;P&gt;Any suggestions? Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624570#M184011</guid>
      <dc:creator>bayoote</dc:creator>
      <dc:date>2020-02-13T18:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624580#M184018</link>
      <description>&lt;P&gt;Why? This isn't recommend usually because there are multiple ways to process data by groups without splitting them up or ways to export the data without first having to create multiple data sets. So explaining what your end goal is will help us provide a better solution.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624580#M184018</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-13T18:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624617#M184034</link>
      <description>&lt;P&gt;Is there a good reason why you want to do this? Generally, it is not advisable.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 19:49:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/624617#M184034</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-02-13T19:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625153#M184241</link>
      <description>Hi, Thanks for your reply. Since I want to do the interpolation for each small group.That's why I need to split the dataset.</description>
      <pubDate>Sun, 16 Feb 2020 22:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625153#M184241</guid>
      <dc:creator>bayoote</dc:creator>
      <dc:date>2020-02-16T22:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625155#M184242</link>
      <description>&lt;P&gt;You do whatever analysis you are planning using the BY statement. Leave everything in one data set.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 22:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625155#M184242</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-16T22:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: split my dataset into multiple datasets based on three or more variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625174#M184247</link>
      <description>&lt;P&gt;Yeah, you don't need to do that in SAS. You can use BY to treat each group separately. For example, this will produce a regression model for each origin, entirely separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=sashelp.cars out=cars;
by origin;
run;

proc reg data=cars;
by origin;
model Mpg_city = weight cylinders msrp;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/311914"&gt;@bayoote&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi, Thanks for your reply. Since I want to do the interpolation for each small group.That's why I need to split the dataset.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 00:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/split-my-dataset-into-multiple-datasets-based-on-three-or-more/m-p/625174#M184247</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-17T00:08:54Z</dc:date>
    </item>
  </channel>
</rss>

