<?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: R - Square in GLM in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/664730#M31680</link>
    <description>&lt;P&gt;You can get the RSquare values for the models by putting&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ods output FitStatistics(PERSIST)=Results;&amp;nbsp; /* concatenate into data set named 'Results' */&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;prior to the first PROC GLM call.&lt;/P&gt;
&lt;P&gt;The mean response does not change from model to model, so that will be a constant column.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2020 18:01:14 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2020-06-24T18:01:14Z</dc:date>
    <item>
      <title>R - Square in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390090#M20323</link>
      <description>&lt;P&gt;After running GLM, the statistics that showns are Deviance, AIC, AICC, BIC etc.... without R-square generated. How do i get the R- square everytime I have run the GLM?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I notice that there is a formula for the R-squared but I try to avoid it computing manually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 03:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390090#M20323</guid>
      <dc:creator>JCW91</dc:creator>
      <dc:date>2017-08-23T03:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: R - Square in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390097#M20324</link>
      <description>What does your code look like that doesn't generate an R Squared? Does it include categorical variables?</description>
      <pubDate>Wed, 23 Aug 2017 04:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390097#M20324</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-23T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: R - Square in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390199#M20325</link>
      <description>&lt;P&gt;The R-Square value is in the FitStatistics&amp;nbsp;table, which is created automatically. Here are two examples where I've use ODS SELECT to display ONLY the table that has the R-square value&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=sashelp.class plots=none;
model height = weight;
ods select FitStatistics;
quit;

proc glm data=sashelp.class plots=none;
class sex;
model height = sex;
ods select FitStatistics;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/390199#M20325</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-08-23T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: R - Square in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/664671#M31676</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; how can we get an output in GLM for multiple variables like below:&lt;/P&gt;&lt;P&gt;VarName RSQUARE height_MEAN&lt;BR /&gt;&amp;nbsp; &amp;nbsp; weight&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xx&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xxx&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; sex&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; yy&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; yyy&lt;/P&gt;&lt;P&gt;Thank you for your response!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 15:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/664671#M31676</guid>
      <dc:creator>mh2t</dc:creator>
      <dc:date>2020-06-24T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: R - Square in GLM</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/664730#M31680</link>
      <description>&lt;P&gt;You can get the RSquare values for the models by putting&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ods output FitStatistics(PERSIST)=Results;&amp;nbsp; /* concatenate into data set named 'Results' */&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;prior to the first PROC GLM call.&lt;/P&gt;
&lt;P&gt;The mean response does not change from model to model, so that will be a constant column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 18:01:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/R-Square-in-GLM/m-p/664730#M31680</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-06-24T18:01:14Z</dc:date>
    </item>
  </channel>
</rss>

