<?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: ODS Trace to ouput adjusted R-Squared in linear regression in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Trace-to-ouput-adjusted-R-Squared-in-linear-regression/m-p/673538#M24316</link>
    <description>&lt;P&gt;Your ODS TRACE should contain&lt;/P&gt;
&lt;PRE&gt;Output Added:
-------------
Name:       FitStatistics
Label:      Fit Statistics
Template:   Stat.REG.FitStatistics
Path:       Reg.MODEL1.Fit.Height.FitStatistics
-------------
&lt;/PRE&gt;
&lt;P&gt;Doesn't it show that? So you need FitStatistics in your ODS output statement. Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ParameterEstimates = ParmsEst fitstatistics=fitstatistics;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 Jul 2020 19:11:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-07-30T19:11:02Z</dc:date>
    <item>
      <title>ODS Trace to ouput adjusted R-Squared in linear regression</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Trace-to-ouput-adjusted-R-Squared-in-linear-regression/m-p/673531#M24315</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to output adjusted R-Squared out of the linear regression result. Any of you know how to do that? Below is the code I started to keep the parameters:&lt;/P&gt;
&lt;P&gt;ods trace on;&lt;BR /&gt;proc reg data=mydata;&lt;BR /&gt;model depvar=var1 var2;&lt;BR /&gt;ods output ParameterEstimates = ParmsEst;&lt;BR /&gt;run;&lt;BR /&gt;ods trace off;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all!&lt;/P&gt;
&lt;P&gt;Lizi&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 18:59:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Trace-to-ouput-adjusted-R-Squared-in-linear-regression/m-p/673531#M24315</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2020-07-30T18:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Trace to ouput adjusted R-Squared in linear regression</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Trace-to-ouput-adjusted-R-Squared-in-linear-regression/m-p/673538#M24316</link>
      <description>&lt;P&gt;Your ODS TRACE should contain&lt;/P&gt;
&lt;PRE&gt;Output Added:
-------------
Name:       FitStatistics
Label:      Fit Statistics
Template:   Stat.REG.FitStatistics
Path:       Reg.MODEL1.Fit.Height.FitStatistics
-------------
&lt;/PRE&gt;
&lt;P&gt;Doesn't it show that? So you need FitStatistics in your ODS output statement. Like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output ParameterEstimates = ParmsEst fitstatistics=fitstatistics;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 Jul 2020 19:11:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-Trace-to-ouput-adjusted-R-Squared-in-linear-regression/m-p/673538#M24316</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-07-30T19:11:02Z</dc:date>
    </item>
  </channel>
</rss>

