<?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: ESTIMATE STATMENT NOT WORKING ON SAS 9.4 NLIN PROCEDURE in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927133#M46108</link>
    <description>&lt;P&gt;Thank you. Let me update my software. I hope it won't affect my licence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my version&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For SAS/STAT ...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Custom version information: 14.1&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2024 08:30:40 GMT</pubDate>
    <dc:creator>samkelomotsa</dc:creator>
    <dc:date>2024-05-06T08:30:40Z</dc:date>
    <item>
      <title>ESTIMATE STATMENT NOT WORKING ON SAS 9.4 NLIN PROCEDURE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927127#M46106</link>
      <description>&lt;P&gt;USING THE CODE ALREADY POSTED IN &lt;A href="https://blogs.sas.com/content/iml/2018/10/10/fit-growth-curve-sas.html" target="_self"&gt;SUNFLOWER&lt;/A&gt; EXAMPLE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I HAVE A PROBLEM THE ESTIMATE STATEMENT OR LINE IS NOT WORKING AS IT GIVES AN ERROR "ERROR 180-322: Statement is not valid or it is used out of proper order."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHAT COULD BE THE PROBLEM? I HAVE TRIED SHIFTING THE ESTIMATE LINE TO BE BEFORE THE OUTPUT STATEMENT, STILL IT FAILS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;/* Mean heights of 58 sunflowers:&lt;BR /&gt;Reed, H. S. and Holland, R. H. (1919), "Growth of sunflower seeds"&lt;BR /&gt;Proceedings of the National Academy of Sciences, volume 5, p. 140.&lt;BR /&gt;&lt;A href="http://www.pnas.org/content/pnas/5/4/135.full.pdf" target="_blank" rel="noopener"&gt;http://www.pnas.org/content/pnas/5/4/135.full.pdf&lt;/A&gt;&lt;BR /&gt;*/&lt;BR /&gt;data Sunflower;&lt;BR /&gt;input Time Height;&lt;BR /&gt;label Time = "Time (days)"&lt;BR /&gt;Height="Sunflower Height (cm)";&lt;BR /&gt;datalines;&lt;BR /&gt;7 17.93&lt;BR /&gt;14 36.36&lt;BR /&gt;21 67.76&lt;BR /&gt;28 98.1&lt;BR /&gt;35 131&lt;BR /&gt;42 169.5&lt;BR /&gt;49 205.5&lt;BR /&gt;56 228.3&lt;BR /&gt;63 247.1&lt;BR /&gt;70 250.5&lt;BR /&gt;77 253.8&lt;BR /&gt;84 254.5&lt;BR /&gt;;&lt;BR /&gt;proc nlin data=Sunflower list noitprint;&lt;BR /&gt;parms K 250 r 1 b 40; /* initial guess */&lt;BR /&gt;model Height = K / (1 + exp(-r*(Time - b))); /* model to fit; Height and Time are variables in data */&lt;BR /&gt;output out=ModelOut predicted=Pred lclm=Lower95 uclm=Upper95;&lt;BR /&gt;estimate 'Dt' log(81) / r; /* optional: estimate function of parameters */&lt;BR /&gt;run;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 05:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927127#M46106</guid>
      <dc:creator>samkelomotsa</dc:creator>
      <dc:date>2024-05-06T05:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: ESTIMATE STATMENT NOT WORKING ON SAS 9.4 NLIN PROCEDURE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927131#M46107</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/461306"&gt;@samkelomotsa&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With my SAS 9.4 (TS1&lt;STRONG&gt;M5&lt;/STRONG&gt;) using SAS/STAT &lt;STRONG&gt;14.3&lt;/STRONG&gt; your code example works. Your error message suggests that you are using an older SAS/STAT version, perhaps&amp;nbsp;&lt;STRONG&gt;13.2&lt;/STRONG&gt; or &lt;STRONG&gt;14.1&lt;/STRONG&gt;, because the ESTIMATE statement of PROC NLIN &lt;A href="https://documentation.sas.com/doc/en/statcdc/14.2/statug/statug_whatsnew_sect005.htm" target="_blank" rel="noopener"&gt;was introduced in SAS/STAT &lt;STRONG&gt;14.2&lt;/STRONG&gt;&lt;/A&gt; (which has been &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/whatsdiff/p1km9uv6bj8owin17v53q0rdcio6.htm" target="_blank" rel="noopener"&gt;available since November 2016&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the version number at the top of your SAS log. Also, &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/p167ky4zsoxrn2n1myz6iisao1wc.htm" target="_blank" rel="noopener"&gt;PROC PRODUCT_STATUS&lt;/A&gt; writes the information to the log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If it shows a version number &amp;lt;=14.1 for SAS/STAT, you will need a software update to make the ESTIMATE statement available.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 07:39:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927131#M46107</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-05-06T07:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: ESTIMATE STATMENT NOT WORKING ON SAS 9.4 NLIN PROCEDURE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927133#M46108</link>
      <description>&lt;P&gt;Thank you. Let me update my software. I hope it won't affect my licence.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my version&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For SAS/STAT ...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Custom version information: 14.1&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 08:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/ESTIMATE-STATMENT-NOT-WORKING-ON-SAS-9-4-NLIN-PROCEDURE/m-p/927133#M46108</guid>
      <dc:creator>samkelomotsa</dc:creator>
      <dc:date>2024-05-06T08:30:40Z</dc:date>
    </item>
  </channel>
</rss>

