<?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 use ODS OUTPUT to obtain R-squared (and other statistics) in a SAS data set? Thanks. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129351#M294679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two ways can get R square into a data set.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For most of Stats model, OUTEST is a very useful option&lt;/LI&gt;&lt;LI&gt;ODS OUTPUT statement&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;A demo code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;ods output&amp;nbsp; FitStatistics=FitStat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;proc reg data=sashelp.class outest=aa RSQUARE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model weight=age height;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Hongqiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2013 00:48:33 GMT</pubDate>
    <dc:creator>HongqiuGu</dc:creator>
    <dc:date>2013-10-31T00:48:33Z</dc:date>
    <item>
      <title>How to use ODS OUTPUT to obtain R-squared (and other statistics) in a SAS data set? Thanks.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129349#M294677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to use ODS OUTPUT to obtain R-squared (and other statistics) in a SAS data set. How can I do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;Jian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 19:46:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129349#M294677</guid>
      <dc:creator>jzhang332002</dc:creator>
      <dc:date>2013-10-30T19:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ODS OUTPUT to obtain R-squared (and other statistics) in a SAS data set? Thanks.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129350#M294678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the table name using ODS TRACE or reviewing the documentation.&lt;/P&gt;&lt;P&gt;Then add in a statement before the procedure to store the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS TABLE TABLENAME=myTABLENAME;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 20:07:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129350#M294678</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-30T20:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ODS OUTPUT to obtain R-squared (and other statistics) in a SAS data set? Thanks.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129351#M294679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two ways can get R square into a data set.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;For most of Stats model, OUTEST is a very useful option&lt;/LI&gt;&lt;LI&gt;ODS OUTPUT statement&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;A demo code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;ods output&amp;nbsp; FitStatistics=FitStat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;proc reg data=sashelp.class outest=aa RSQUARE ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model weight=age height;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Hongqiu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 00:48:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-use-ODS-OUTPUT-to-obtain-R-squared-and-other-statistics/m-p/129351#M294679</guid>
      <dc:creator>HongqiuGu</dc:creator>
      <dc:date>2013-10-31T00:48:33Z</dc:date>
    </item>
  </channel>
</rss>

