<?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 How to use BY statement along with OUTPUT in PROC GLM to save several output data sets ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-BY-statement-along-with-OUTPUT-in-PROC-GLM-to-save/m-p/399867#M96873</link>
    <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to run PROC GLM several times on the same data set using BY statement. This works fine.&lt;/P&gt;
&lt;P&gt;But how to save different output data sets of residuals (with OUTPUT) each time ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 17:58:11 GMT</pubDate>
    <dc:creator>stan</dc:creator>
    <dc:date>2017-09-29T17:58:11Z</dc:date>
    <item>
      <title>How to use BY statement along with OUTPUT in PROC GLM to save several output data sets ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-BY-statement-along-with-OUTPUT-in-PROC-GLM-to-save/m-p/399867#M96873</link>
      <description>&lt;P&gt;Dear SAS users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to run PROC GLM several times on the same data set using BY statement. This works fine.&lt;/P&gt;
&lt;P&gt;But how to save different output data sets of residuals (with OUTPUT) each time ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 17:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-BY-statement-along-with-OUTPUT-in-PROC-GLM-to-save/m-p/399867#M96873</guid>
      <dc:creator>stan</dc:creator>
      <dc:date>2017-09-29T17:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use BY statement along with OUTPUT in PROC GLM to save several output data sets ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-BY-statement-along-with-OUTPUT-in-PROC-GLM-to-save/m-p/399870#M96875</link>
      <description>&lt;P&gt;If you use a BY statement, the residuals still get written into the OUTPUT data set. Does your question mean that you want each BY group's residuals in a different data set? Generally, I would advise against doing this, as I don't see the benefit, but you can certainly take the output data set and in&amp;nbsp;a following data step, split it up by the value of the BY variable (but again, I don't see any benefit to doing this).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-BY-statement-along-with-OUTPUT-in-PROC-GLM-to-save/m-p/399870#M96875</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-29T18:08:45Z</dc:date>
    </item>
  </channel>
</rss>

