<?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: How to resolve the error message in proc nlmixed? in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92374#M1767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ballardw, it is actually time1_cum, I have corrected that but still having trouble running the model. Please do you have an idea of what might have gone wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 10:59:10 GMT</pubDate>
    <dc:creator>Tcook</dc:creator>
    <dc:date>2012-12-07T10:59:10Z</dc:date>
    <item>
      <title>How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92370#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to fit a frailty model for recurrent event time in SAS using the proc nlmixed procedure. I have 8 categorical variable, with the highest having 9 categories while the least has just two categories, with also with continues variable.&lt;/P&gt;&lt;P&gt;Variables:Tip ( 2 levels), sup1(3 levels), period(5 levels), red(2 levels), upperb(2 levels), wc(9 levels), name1( 2 levels), trapname1(3 levels), while shade and shade2 are continuous variable.&lt;/P&gt;&lt;P&gt;Below is the sas code and the error message generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Title "Frailty Gamma Model ";&lt;/P&gt;&lt;P&gt;ods output ParameterEstimates=Est;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; proc nlmixed data=new qpoints=50 noad;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bounds gamma &amp;gt; 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linp&amp;nbsp; = b0 + b1*(tip1) - b2*(sup1)- b3*(sup2) +b4*(period1) + b5*(period2)-b6*(period3)-b7*(period4)+&lt;/P&gt;&lt;P&gt;b8*(red)-b9*(upperb)+b10*(wc1)+c1*(wc2)+ c2*(wc3)+ c3*(wc4)+ c4*(wc5)+ c5*(wc6)+ &lt;/P&gt;&lt;P&gt;c6*(wc7)+ c7*(wc8)+ c8*(name1)-&lt;/P&gt;&lt;P&gt;c9*(trapname1)-c10*(trapname2)-d1*(shade)+d2*(shade2)+ z;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alpha = exp(-linp);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G_t&amp;nbsp;&amp;nbsp; = exp(-(alpha*time1_cum)**gamma);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gamma*alpha*((alpha*time1_cum)**(gamma-1))*G_t;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ll = (status=1)*log(g) + (status=0)*log(G_t);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model time ~ general(ll);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random z ~ normal(0,exp(2*logsig)) subject=pie_id out=EB;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; predict 1-G_t out=cdf;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message is below;&lt;/P&gt;&lt;P&gt;60&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;61&amp;nbsp;&amp;nbsp; ods output ParameterEstimates=est;&lt;/P&gt;&lt;P&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;/P&gt;&lt;P&gt;62&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc nlmixed data=new qpoints=50 noad;&lt;/P&gt;&lt;P&gt;63&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bounds gamma &amp;gt; 0;&lt;/P&gt;&lt;P&gt;64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linp&amp;nbsp; = b0 + b1*(tip1) - b2*(sup1)- b3*(sup12) +b4*(period1) +&lt;/P&gt;&lt;P&gt;64 ! b5*(period2)-b6*(period3)-b7*(period4)+&lt;/P&gt;&lt;P&gt;65&amp;nbsp;&amp;nbsp; b8*(red)-b9*(upperb)+b10*(wc1)+c1*(wc2)+ c2*(wc3)+ c3*(wc4)+ c4*(wc5)+ c5*(wc6)+&lt;/P&gt;&lt;P&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation at line 65 column 3.&lt;/P&gt;&lt;P&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation at line 65 column 15.&lt;/P&gt;&lt;P&gt;66&amp;nbsp;&amp;nbsp; c6*(wc7)+ c7*(wc8)+ c8*(name1)-&lt;/P&gt;&lt;P&gt;67&amp;nbsp;&amp;nbsp; c9*(trapname1)-c10*(trapname2)-d1*(shade)+d2*(shade2)+ z;&lt;/P&gt;&lt;P&gt;68&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alpha = exp(-linp);&lt;/P&gt;&lt;P&gt;69&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; G_t&amp;nbsp;&amp;nbsp; = exp(-(alpha*time1_cum)**gamma);&lt;/P&gt;&lt;P&gt;70&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = gamma*alpha*((alpha*time1_cum)**(gamma-1))*G_t;&lt;/P&gt;&lt;P&gt;71&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ll = (status=1)*log(g) + (status=0)*log(G_t);&lt;/P&gt;&lt;P&gt;72&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model time ~ general(ll);&lt;/P&gt;&lt;P&gt;73&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random z ~ normal(0,exp(2*logsig)) subject=pie_id out=EB;&lt;/P&gt;&lt;P&gt;74&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; predict 1-G_t out=cdf;&lt;/P&gt;&lt;P&gt;75&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: To assign starting values to parameters, use the PARMS statement. The default starting value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of 1.0 is in effect for all parameters.&lt;/P&gt;&lt;P&gt;ERROR: Dependent variable is not in the input data set.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.EB may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 0 variables.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.CDF may be incomplete.&amp;nbsp; When this step was stopped there were 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; observations and 0 variables.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE NLMIXED used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.34 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.04 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please I would appreciate if anyone could have a look at it and tell how to go about resolving it.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Cook&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92370#M1763</guid>
      <dc:creator>Tcook</dc:creator>
      <dc:date>2012-12-06T15:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92371#M1764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the variable LINP is not in your input data set NEW. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 15:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92371#M1764</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-06T15:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92372#M1765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ballardw,&lt;/P&gt;&lt;P&gt;yeah, its defined in the model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 17:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92372#M1765</guid>
      <dc:creator>Tcook</dc:creator>
      <dc:date>2012-12-06T17:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92373#M1766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mea culpa, is TIME in the input data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 18:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92373#M1766</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-06T18:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92374#M1767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ballardw, it is actually time1_cum, I have corrected that but still having trouble running the model. Please do you have an idea of what might have gone wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 10:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92374#M1767</guid>
      <dc:creator>Tcook</dc:creator>
      <dc:date>2012-12-07T10:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92375#M1768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same or new error message? If a different message then log is going to be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 15:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92375#M1768</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-07T15:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92376#M1769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to resolve the initial problem but after running the nlmixed model for a weilbull frailty model, I realized that no standard error estimates were generated for the intercept and one other parameter in the models. Secondly I got the following warning message &lt;/P&gt;&lt;P&gt;WARNING: The final Hessian matrix is full rank but has at least one negative eigenvalue. Second-order&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; optimality condition violated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will greatly appreciate it if anyone has an idea of what the problem might be and suggestion on how I should go about resolving it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2012 04:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92376#M1769</guid>
      <dc:creator>Tcook</dc:creator>
      <dc:date>2012-12-09T04:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve the error message in proc nlmixed?</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92377#M1770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you start a new thread with a title something like "No standard error for intercept in NLMIXED" in the Statistics group instead of health care as it may get more attention there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And with the error resolved for this one mark it answered, even if you found the resolution on your own.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 16:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/How-to-resolve-the-error-message-in-proc-nlmixed/m-p/92377#M1770</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-12-10T16:10:36Z</dc:date>
    </item>
  </channel>
</rss>

