<?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: NOTE: Execution error for an observation in PROC NLMIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832652#M41243</link>
    <description>&lt;P&gt;Work through the math. Observation 11 produces an invalid value in the second argument here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model response~normal(pred, pred**(2*delta)*s2);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 10 Sep 2022 15:19:29 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-09-10T15:19:29Z</dc:date>
    <item>
      <title>NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832651#M41242</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use proc nlmixed on a set of simulated data to check for different models and their AIC/BIC criteria. This attempt below is to model the first one which is: response = y0*exp(-kd*t).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below, I have the simulated data, dropped the parameter kd and then try to fit the nlmixed:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data simulated;&lt;BR /&gt;call streaminit(9);&lt;BR /&gt;do subject =1 to 100;&lt;BR /&gt;y0=rand('normal',1,5);&lt;BR /&gt;k1=rand('normal', 2,2);&lt;BR /&gt;k2=rand('normal',7,2);&lt;BR /&gt;kd=rand('normal',2,3);&lt;BR /&gt;do t = 1 to 10;&lt;BR /&gt;response=y0*exp(-kd*t);&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data simulated2;&lt;BR /&gt;set simulated;&lt;BR /&gt;drop kd;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc nlmixed data=simulated2 method=gauss;&lt;BR /&gt;parms kd=1 delta=0.5 s2=2;&lt;BR /&gt;pred=y0*exp(-kd*t);&lt;BR /&gt;model response~normal(pred, pred**(2*delta)*s2);&lt;BR /&gt;random kd ~ normal(1,2)&lt;BR /&gt;subject=subject;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the following error:&lt;/P&gt;&lt;P&gt;NOTE: Execution error for observation 11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's nothing specific about observation 11&amp;nbsp;which is the first record for subject 2:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SR79_1-1662822540489.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75114iE4C679E54DC148B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SR79_1-1662822540489.png" alt="SR79_1-1662822540489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts/help on this would be much appreciated!!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 15:12:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832651#M41242</guid>
      <dc:creator>SR79</dc:creator>
      <dc:date>2022-09-10T15:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832652#M41243</link>
      <description>&lt;P&gt;Work through the math. Observation 11 produces an invalid value in the second argument here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model response~normal(pred, pred**(2*delta)*s2);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Sep 2022 15:19:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832652#M41243</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-10T15:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832679#M41244</link>
      <description>&lt;P&gt;Thanks for responding. I updated the code to make sure it's a positive value for variance but now I have the following coming up:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Quadrature accuracy of 0.000100 could not be achieved with 31 points. The achieved&lt;BR /&gt;accuracy was 1.000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that the problem doesn't converge?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 19:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832679#M41244</guid>
      <dc:creator>SR79</dc:creator>
      <dc:date>2022-09-10T19:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832683#M41245</link>
      <description>&lt;P&gt;I have not had that happen to me, but "does not converge" is what I think it means.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 20:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/832683#M41245</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-10T20:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/833998#M41295</link>
      <description>&lt;P&gt;There was a problem with the input statement, I think I have figured it out. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 20:56:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/833998#M41295</guid>
      <dc:creator>SR79</dc:creator>
      <dc:date>2022-09-17T20:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/833999#M41296</link>
      <description>&lt;P&gt;Please explain what the solution was that you found.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 21:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/833999#M41296</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-17T21:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Execution error for an observation in PROC NLMIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/834653#M41333</link>
      <description>&lt;P&gt;I am in the same boat as&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;.&amp;nbsp; You say the problem was with the input statement.&amp;nbsp; I don't see such a thing in the code you posted, and as far as I know, PROC NLMIXED doesn't support an "input statement".&amp;nbsp; So, how did you solve this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/NOTE-Execution-error-for-an-observation-in-PROC-NLMIXED/m-p/834653#M41333</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2022-09-22T12:55:20Z</dc:date>
    </item>
  </channel>
</rss>

