<?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: ACCURACY OF GOMPOERTZ MODEL (NLIN PROCEDURE) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939549#M83614</link>
    <description>&lt;A href="https://blogs.sas.com/content/iml/2024/06/17/bootstrap-ci-r-square.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2024/06/17/bootstrap-ci-r-square.html&lt;/A&gt;</description>
    <pubDate>Fri, 16 Aug 2024 02:52:35 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-08-16T02:52:35Z</dc:date>
    <item>
      <title>ACCURACY OF GOMPOERTZ MODEL (NLIN PROCEDURE)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939541#M83612</link>
      <description>&lt;P&gt;Good day&lt;BR /&gt;I want&amp;nbsp; to obtain the R squared to certain the accuracy of my gompertz model. I have run the analysis below and it converged, however I am stuck as I can not compute the R squared for the model to know much variation is explained by this model.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;data sam;&lt;BR /&gt;input wb genotype$ week wght bwo;&lt;BR /&gt;datalines;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=sam; by genotype; run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc nlin data=sam;&lt;BR /&gt;by genotype;&lt;BR /&gt;parameters L 0.2 K 0.1; /* initial guess of L &amp;amp; K */&lt;BR /&gt;model WGHT = Bwo * EXP(L/K*(1- EXP(-K*WEEK))); /* using initial body weight as a variable since it was phentypically recorded*/&lt;BR /&gt;ESTIMATE 'lk_bw_FE' exp(L / K);&lt;BR /&gt;ESTIMATE 'lk_1_bw_infl' exp((L / K)-1);&lt;BR /&gt;ESTIMATE 'TI' (1 / K) * abs(log(L / K)); /*estimates age which growth rate was maximum*/&lt;BR /&gt;output out=sam1 predicted=Pred lclm=Lower95 uclm=Upper95;&lt;BR /&gt;run;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas.PNG" style="width: 314px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99329i7609A5BF03BF26C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas.PNG" alt="sas.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sas1.PNG" style="width: 656px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99330i32EFD140C726A5B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="sas1.PNG" alt="sas1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 01:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939541#M83612</guid>
      <dc:creator>samkelomotsa</dc:creator>
      <dc:date>2024-08-16T01:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: ACCURACY OF GOMPOERTZ MODEL (NLIN PROCEDURE)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939548#M83613</link>
      <description>The R-Square is just the Pearson correlation coefficient between Y and Y_Hat(a.k.a. Y_Pred).&lt;BR /&gt;Since you already get "predicted=Pred",&lt;BR /&gt;You can calculated Perason Corr by PROC CORR + var Y Pred;&lt;BR /&gt;and R^2= Corr^2.&lt;BR /&gt;Check my comment from :&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/compute-95-CI-of-r-square-in-proc-reg/m-p/859684" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/compute-95-CI-of-r-square-in-proc-reg/m-p/859684&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; blog:&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/iml/2024/06/10/distribution-r-square.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2024/06/10/distribution-r-square.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Aug 2024 02:51:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939548#M83613</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-16T02:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: ACCURACY OF GOMPOERTZ MODEL (NLIN PROCEDURE)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939549#M83614</link>
      <description>&lt;A href="https://blogs.sas.com/content/iml/2024/06/17/bootstrap-ci-r-square.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2024/06/17/bootstrap-ci-r-square.html&lt;/A&gt;</description>
      <pubDate>Fri, 16 Aug 2024 02:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ACCURACY-OF-GOMPOERTZ-MODEL-NLIN-PROCEDURE/m-p/939549#M83614</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-08-16T02:52:35Z</dc:date>
    </item>
  </channel>
</rss>

