<?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 to extract model SS from GLM in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464592#M118464</link>
    <description>&lt;P&gt;You can use ODS OUTPUT to obtain any statistic from any SAS PROC in a SAS data set.&lt;/P&gt;</description>
    <pubDate>Wed, 23 May 2018 22:35:07 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2018-05-23T22:35:07Z</dc:date>
    <item>
      <title>How to extract model SS from GLM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464585#M118463</link>
      <description>&lt;P&gt;I am running a MANOVA in proc GLM. I would like to extract the model sums of squares into a new data set. How is this done? I can do this the hard way using this code:&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;CODE class=" language-sas"&gt;%macro repete (new, in=inone);
%do i=2000 %to 5000 %by 5;
data &amp;amp;new; Set &amp;amp;new;
if LeafCa le &amp;amp;i/1000 THEN GROUP=1; ELSE GROUP=2;
PROC Glm outstat=twos;
 CLASS GROUP;
MODEL AvgStarchugdivmm2=GROUP SPAD  SLAcm2divg  LeafP   LeafFeppm  SoilBufferpH6inch;
%end;
%mend repete;
%repete(one, in=one);
run;&lt;/CODE&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can then copy and paste the results into Excel, and extract the model SS from there. While slow, I will do that if I must. It is a Cate-Nelson analysis.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 21:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464585#M118463</guid>
      <dc:creator>tebert</dc:creator>
      <dc:date>2018-05-23T21:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract model SS from GLM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464592#M118464</link>
      <description>&lt;P&gt;You can use ODS OUTPUT to obtain any statistic from any SAS PROC in a SAS data set.&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 22:35:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464592#M118464</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-05-23T22:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract model SS from GLM</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464598#M118466</link>
      <description>&lt;P&gt;Blog post to support the answer from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_self"&gt;ODS OUTPUT: Store any statistic created by any SAS procedure&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 23:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-extract-model-SS-from-GLM/m-p/464598#M118466</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-23T23:18:16Z</dc:date>
    </item>
  </channel>
</rss>

