<?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: Adjusted R^2 (adjusted R square) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208804#M11315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Si, no result &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; just errors !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc summary data=expp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stw_residual stw;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=stats css(stw)=sstot uss(stw_residual)=ssres;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data expp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set stats;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsquared=1-(ssres/sstot);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=expp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data expp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;adjrsquared = (1-((1-rsquared)(16-2-1)/1));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Aug 2015 13:12:26 GMT</pubDate>
    <dc:creator>afgdurrani0</dc:creator>
    <dc:date>2015-08-30T13:12:26Z</dc:date>
    <item>
      <title>Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208778#M11289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14.6666669845581px; background-color: #ffffff;"&gt;R^2 is unfortunately not a part of the output from the nonlinear regression (e.g. below) in the newer versions of SAS. But I need the adjusted r2 value or simple r2 (coefficient of determination) for my research manuscript. Please kindly modify my below proc programming that could also estimate the R2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 14.6666669845581px; background-color: #ffffff;"&gt;Many thanks &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;nlin&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=small &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;method&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=marquardt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;parms&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; B=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0.5&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; R=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0.1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;delta=&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0.000001&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;s=sow**(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B)-R*(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B)*time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; s&amp;gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; stx=s**(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;/(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;else&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; stx=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; stw=stx;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sb=(sow**(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B+delta)-R*(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B+delta)*time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sb&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sdb=(stx-sb**(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;/(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B+delta)))/delta;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;else&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sdb=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;der.B=sdb;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;sr=(sow**(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B)-(R-delta)*(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B)*time);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sr&amp;gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;0&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sdr=(stx-sr**(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;/(&lt;/SPAN&gt;&lt;STRONG style="color: teal; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;-B)))/delta;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;else&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; sdr=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: teal; background: white;"&gt;0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;der.R=sdr;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=smallp &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=pstw;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; padding: 0 0 1.0pt 0;"&gt;&lt;STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: navy; background: white;"&gt;run&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="DA" style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 13:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208778#M11289</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-27T13:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208779#M11290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the residual values that your can output into your dataset smallp, the calculation of R-squared is pretty simple. Why, I believe even Wikipedia has &lt;A href="https://en.wikipedia.org/wiki/Coefficient_of_determination"&gt;the proper formulas&lt;/A&gt; to use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 13:50:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208779#M11290</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-08-27T13:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208780#M11291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dearest Miller, I don't have very strong knowledge of these programming that's why I need someone expert like you to insert/modify my present programming that could also estimate the R^2. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 14:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208780#M11291</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-27T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208781#M11292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change the line&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=smallp &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=pstw;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;to &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=smallp &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;=pstw r=stw_residual;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then, this ought to work (untested code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc summary data=smallp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stw_residual stw;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=stats css(stw)=sstot uss(stw_residual)=ssres;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data final;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set stats;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsquared=1-(ssres/sstot);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208781#M11292</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-08-27T18:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208782#M11293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No result for R^2 &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; . It shows nothing about R^2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the complete data, please use it if you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data large;&lt;/P&gt;&lt;P&gt;input sow stw time;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;4 3.366 3&lt;/P&gt;&lt;P&gt;4 3.052 6&lt;/P&gt;&lt;P&gt;4 2.666 9&lt;/P&gt;&lt;P&gt;4 2.755 12&lt;/P&gt;&lt;P&gt;4 2.203 15&lt;/P&gt;&lt;P&gt;4 1.886 18&lt;/P&gt;&lt;P&gt;3.982 1.525 21&lt;/P&gt;&lt;P&gt;3.882 1.547 24&lt;/P&gt;&lt;P&gt;3.393 0.81 27&lt;/P&gt;&lt;P&gt;3.586 0.76 30&lt;/P&gt;&lt;P&gt;2.295 0.27 33&lt;/P&gt;&lt;P&gt;3.475 0.67 36&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc nlin data=large method=marquardt;&lt;/P&gt;&lt;P&gt;parms B=0.5 R=0.1;&lt;/P&gt;&lt;P&gt;delta=0.000001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s=sow**(1-B)-R*(1-B)*time;&lt;/P&gt;&lt;P&gt;if s&amp;gt;0 then stx=s**(1/(1-B));&lt;/P&gt;&lt;P&gt;else stx=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;model stw=stx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb=(sow**(1-B+delta)-R*(1-B+delta)*time);&lt;/P&gt;&lt;P&gt;if sb&amp;gt;0 then sdb=(stx-sb**(1/(1-B+delta)))/delta;&lt;/P&gt;&lt;P&gt;else sdb=0;&lt;/P&gt;&lt;P&gt;der.B=sdb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sr=(sow**(1-B)-(R-delta)*(1-B)*time);&lt;/P&gt;&lt;P&gt;if sr&amp;gt;0 then sdr=(stx-sr**(1/(1-B)))/delta;&lt;/P&gt;&lt;P&gt;else sdr=0;&lt;/P&gt;&lt;P&gt;der.R=sdr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output out=largep p=pstw;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 19:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208782#M11293</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-27T19:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208783#M11294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an error in the SAS LOG?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 19:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208783#M11294</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-08-27T19:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208784#M11295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No , nothing like that. But before it use to produce R^2 along with my desired parameters but now the newer version doesn't generate the R^2. that's why I want to modify my persent programming to make it capable to produce R^2 (or AIC at least) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208784#M11295</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208785#M11296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reading your messages, I don't see where you stated that you actually tried to run the code I provided. Did you do that? What happened?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 14:25:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208785#M11296</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-08-28T14:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208786#M11297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sir of course I did but no result. I try your both suggested but no result. You can also copy past my data in sas program and can see the result.&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208786#M11297</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T15:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208787#M11298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@umarkhan&amp;nbsp; You didn't add the r=stw_residual to the PROC NLIN program in the output statement. &lt;/P&gt;&lt;P&gt;The PROC summary should point to this data set instead of the smallp dataset in &lt;A __default_attr="9481" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With these changes it runs fine for me with your sample data. &lt;/P&gt;&lt;P&gt;I'll assume you can make the changes on your system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS, Thank you for the sample data/code but It's helpful to include the full code you ran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 15:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208787#M11298</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-28T15:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208788#M11299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; r=stw_residual in the output statement but no result about R^2. The one I give is the original form of my programming without any addition. But I modified the output statement and inserted &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt; r=stw_residual in the output as I was suggested, but result was similar as without this modification. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:02:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208788#M11299</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T16:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208789#M11300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post your full code. The code above doesn't include the portion Paige suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208789#M11300</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-28T16:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208790#M11301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the full code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data large;&lt;/P&gt;&lt;P&gt;input sow stw time;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;4 3.366 3&lt;/P&gt;&lt;P&gt;4 3.052 6&lt;/P&gt;&lt;P&gt;4 2.666 9&lt;/P&gt;&lt;P&gt;4 2.755 12&lt;/P&gt;&lt;P&gt;4 2.203 15&lt;/P&gt;&lt;P&gt;4 1.886 18&lt;/P&gt;&lt;P&gt;3.982 1.525 21&lt;/P&gt;&lt;P&gt;3.882 1.547 24&lt;/P&gt;&lt;P&gt;3.393 0.81 27&lt;/P&gt;&lt;P&gt;3.586 0.76 30&lt;/P&gt;&lt;P&gt;2.295 0.27 33&lt;/P&gt;&lt;P&gt;3.475 0.67 36&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc nlin data=large method=marquardt;&lt;/P&gt;&lt;P&gt;parms B=0.5 R=0.1;&lt;/P&gt;&lt;P&gt;delta=0.000001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s=sow**(1-B)-R*(1-B)*time;&lt;/P&gt;&lt;P&gt;if s&amp;gt;0 then stx=s**(1/(1-B));&lt;/P&gt;&lt;P&gt;else stx=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;model stw=stx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb=(sow**(1-B+delta)-R*(1-B+delta)*time);&lt;/P&gt;&lt;P&gt;if sb&amp;gt;0 then sdb=(stx-sb**(1/(1-B+delta)))/delta;&lt;/P&gt;&lt;P&gt;else sdb=0;&lt;/P&gt;&lt;P&gt;der.B=sdb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sr=(sow**(1-B)-(R-delta)*(1-B)*time);&lt;/P&gt;&lt;P&gt;if sr&amp;gt;0 then sdr=(stx-sr**(1/(1-B)))/delta;&lt;/P&gt;&lt;P&gt;else sdr=0;&lt;/P&gt;&lt;P&gt;der.R=sdr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output out=largep p=pstw r=stw_residual;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208790#M11301</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T16:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208791#M11302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go back and read Paiges answer. Where's the proc summary? Proc NLIN does not calculate the R-squared directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;change the line&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;=smallp &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;=pstw;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;to&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;=smallp &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: blue; background: white;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;=pstw r=stw_residual;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 'Courier New'; color: black; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Then, this ought to work (untested code)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;proc summary data=smallp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stw_residual stw;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=stats css(stw)=sstot uss(stw_residual)=ssres;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;data final;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set stats;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsquared=1-(ssres/sstot);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 12pt; color: #ff0000;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message-abuse!input.jspa?objectID=296524&amp;amp;objectType=2" style="font-weight: inherit; font-style: inherit; font-size: 11.6999998092651px; font-family: inherit; color: #0e66ba;"&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208791#M11302</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-28T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208792#M11303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also run like that too: but same result nothing about R^2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data large;&lt;/P&gt;&lt;P&gt;input sow stw time;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;4 3.366 3&lt;/P&gt;&lt;P&gt;4 3.052 6&lt;/P&gt;&lt;P&gt;4 2.666 9&lt;/P&gt;&lt;P&gt;4 2.755 12&lt;/P&gt;&lt;P&gt;4 2.203 15&lt;/P&gt;&lt;P&gt;4 1.886 18&lt;/P&gt;&lt;P&gt;3.982 1.525 21&lt;/P&gt;&lt;P&gt;3.882 1.547 24&lt;/P&gt;&lt;P&gt;3.393 0.81 27&lt;/P&gt;&lt;P&gt;3.586 0.76 30&lt;/P&gt;&lt;P&gt;2.295 0.27 33&lt;/P&gt;&lt;P&gt;3.475 0.67 36&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;proc nlin data=large method=marquardt;&lt;/P&gt;&lt;P&gt;parms B=0.5 R=0.1;&lt;/P&gt;&lt;P&gt;delta=0.000001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s=sow**(1-B)-R*(1-B)*time;&lt;/P&gt;&lt;P&gt;if s&amp;gt;0 then stx=s**(1/(1-B));&lt;/P&gt;&lt;P&gt;else stx=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;model stw=stx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sb=(sow**(1-B+delta)-R*(1-B+delta)*time);&lt;/P&gt;&lt;P&gt;if sb&amp;gt;0 then sdb=(stx-sb**(1/(1-B+delta)))/delta;&lt;/P&gt;&lt;P&gt;else sdb=0;&lt;/P&gt;&lt;P&gt;der.B=sdb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sr=(sow**(1-B)-(R-delta)*(1-B)*time);&lt;/P&gt;&lt;P&gt;if sr&amp;gt;0 then sdr=(stx-sr**(1/(1-B)))/delta;&lt;/P&gt;&lt;P&gt;else sdr=0;&lt;/P&gt;&lt;P&gt;der.R=sdr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output out=largep p=pstw r=stw_residual;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc summary data=largep;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stw_residual stw;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=stats css(stw)=sstot uss(stw_residual)=ssres;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data final;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set stats;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsquared=1-(ssres/sstot);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208792#M11303</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T16:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208793#M11304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And my original answer today was &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;@umarkhan&amp;nbsp; You didn't add the r=stw_residual to the PROC NLIN program in the output statement.&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;The PROC summary should point to this data set instead of the smallp dataset in &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="9481" data-objecttype="3" href="https://communities.sas.com/people/PaigeMiller" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0e66ba;"&gt;Paige Miller&lt;/A&gt; code.&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208793#M11304</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-28T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208794#M11305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you read my full code? There no result about R^2 still.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208794#M11305</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T16:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208795#M11306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Full code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data large;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;input sow stw time;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;datalines;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 3.366 3&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 3.052 6&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 2.666 9&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 2.755 12&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 2.203 15&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;4 1.886 18&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3.982 1.525 21&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3.882 1.547 24&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3.393 0.81 27&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3.586 0.76 30&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;2.295 0.27 33&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;3.475 0.67 36&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc nlin data=large method=marquardt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;parms B=0.5 R=0.1;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;delta=0.000001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;s=sow**(1-B)-R*(1-B)*time;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;if s&amp;gt;0 then stx=s**(1/(1-B));&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;else stx=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;model stw=stx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;sb=(sow**(1-B+delta)-R*(1-B+delta)*time);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;if sb&amp;gt;0 then sdb=(stx-sb**(1/(1-B+delta)))/delta;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;else sdb=0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;der.B=sdb;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;sr=(sow**(1-B)-(R-delta)*(1-B)*time);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;if sr&amp;gt;0 then sdr=(stx-sr**(1/(1-B)))/delta;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;else sdr=0;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;der.R=sdr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;output out=largep p=pstw r=stw_residual;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc summary data=largep;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var stw_residual stw;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output out=stats css(stw)=sstot uss(stw_residual)=ssres;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;data final;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set stats;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rsquared=1-(ssres/sstot);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:48:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208795#M11306</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T16:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208796#M11307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;UmarKhan wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Did you read my full code? There no result about R^2 still.&lt;/P&gt;
&lt;/PRE&gt;&lt;P style="margin: 0 5px 1.4em;"&gt;Yes. My original answer was wrong, but you didn't implement it anyways. &lt;/P&gt;&lt;P style="margin: 0 5px 1.4em;"&gt;Did you open the final dataset?&lt;/P&gt;&lt;P style="margin: 0 5px 1.4em;"&gt;proc print data=final;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 17:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208796#M11307</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-08-28T17:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusted R^2 (adjusted R square)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208797#M11308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It finally works &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Many thanks to &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="9481" data-objecttype="3" href="https://communities.sas.com/people/PaigeMiller" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0e66ba;"&gt;Paige Miller&lt;/A&gt; and Reeza. the generated R^2 is Coefficient of determination or adjusted R^2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 18:32:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Adjusted-R-2-adjusted-R-square/m-p/208797#M11308</guid>
      <dc:creator>afgdurrani0</dc:creator>
      <dc:date>2015-08-28T18:32:05Z</dc:date>
    </item>
  </channel>
</rss>

