<?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: PROC NLMIXED with categorical covariates in nominal scale in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92225#M4522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I am missing something here.&amp;nbsp; Suppose disage has four levels.&amp;nbsp; If you use GLMMOD to generate the design matrix, it will create five columns that are indicator variables.&amp;nbsp; So if a subject belongs to the first age class, it would have a vector that looks something like (1 1 0 0 0), the second class (1 0 1 0 0), the third (1 0 0 1 0) and the fourth (1 0 0 0 1).&amp;nbsp; Each column has a name, named cleverly col1 through col5.&amp;nbsp; The first column (col1) is the intercept, and will not be used in the NLMIXED code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your lambda statement will then look like (for ONLY disage):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lambda = exp(b0+b12*col2+b13*col3+b14*col4+b15*col5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the nomenclature for the betas as bij, where i denotes the group variable, and j denotes the column in the design matrix.&amp;nbsp; This is only to keep things straight.&amp;nbsp; By the time you get through coding all of the betas, this may seem tedious, but it is going to help in the contrast statements that give the equivalent of testing of groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contrast statement to give a 3 degree of freedom test of whether any of the betas are different from one another within age is then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTRAST 'Disage' b12-b13=0, b13-b14=0, b14-b15=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to generalize from this.&amp;nbsp; As far as I know, this is the only way to deal with class variables in any current version of NLMIXED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2012 12:57:07 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2012-08-15T12:57:07Z</dc:date>
    <item>
      <title>PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92220#M4517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with 9.3 version and want to apply NLMIXED with class effects measured in nominal scale. The problem is that unlike other procedures like PROC MIXED, GLIMMIX, PHREG, etc. there is no CLASS statement and I am a little bit confused how to define these variables. following in my submitted code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc nlmixed data = test ;&lt;/P&gt;&lt;P&gt;lambda=exp(b0+bdisage*disage+blos*los+bmar*mar+bemp*emp+bagents*agents+badmsource*admsource+bseq*seq+e);&lt;/P&gt;&lt;P&gt;ll=-lambda*rtime**(alpha+1)+rstatus*(LOG(alpha+1)+alpha*LOG(rtime)+LOG(lambda));&lt;/P&gt;&lt;P&gt;MODEL rtime~GENERAL(ll);&lt;/P&gt;&lt;P&gt;RANDOM e~NORMAL(0,s2) SUBJECT=id;&lt;/P&gt;&lt;P&gt;PARMS b0=1 bdisage=0 blos=0 bmar=0 bemp=0 bagents=0 badmsource=0 bseq=0 s2=1 alpha=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from "disage" and "los" which are continuous, all other effects (from "mar" to "admsource") are nominal scaled effects, and "seq" is ordinal scaled variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Part of the results from log window is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: Character value converted to numeric for argument 2 of '*' operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;408&amp;nbsp; ll=-lambda*rtime**(alpha+1)+rstatus*(LOG(alpha+1)+alpha*LOG(rtime)+LOG(lambda));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;409&amp;nbsp; MODEL rtime~GENERAL(ll);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;410&amp;nbsp; RANDOM e~NORMAL(0,s2) SUBJECT=id;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;411&amp;nbsp; PARMS b0=1 bdisage=0 blos=0 bmar=0 bemp=0 bagents=0 badmsource=0 bseq=0 s2=1 alpha=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;412&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: Execution error for observation 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;NOTE: PROCEDURE NLMIXED used (Total process time):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&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; 0.24 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&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.09 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any helpful comments would be totally appreciative!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Issac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 19:11:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92220#M4517</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-13T19:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92221#M4518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will probably have to use PROC GLMMOD to generate the design matrix.&amp;nbsp; That would be the singular form.&amp;nbsp; You might also choose to use PROC LOGISTIC to get a non-singular form using the OUTDESIGN= and OUTDESIGNONLY oprtions on the PROC LOGISTIC statement.&amp;nbsp; This will give a design matrix that you can use to construct lambda=.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 12:03:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92221#M4518</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-14T12:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92222#M4519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did this in proc logistic but when I push the new SAS-Data-Set into the NLMIXED, I got an error. I think this is caused since the new data set have new variables labeled differently, say marMARRIED, marNEVER_MARRIED, but I think I need the mar as an categorical covariate in my model, not decoded levels of them. I want to get an estimation for mar as a single explanatory variable, not for its levels, since it is meaningless. Can we do that with the help of design statements? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!&lt;/P&gt;&lt;P&gt;Issac&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 13:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92222#M4519</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-14T13:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92223#M4520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping the old variables to the new ones is one task, and it will have to be addressed.&amp;nbsp; It is much easier to address this in the MODEL statement, than to use a data step and rename variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as an effect for mar as a single test, in NLMIXED the only way I know to address it is through the use of appropriate contrast statements.&amp;nbsp; So for a variable with four levels, coded under the GLMMOD singular method as var_1 to var_4, you might have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTRAST 'Four level variable' var_1 - var_2=0, var_2 - var_3=0, var_3 - var_4=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 18:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92223#M4520</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-14T18:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92224#M4521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid it does not work. Since I have to create a likelihood function with the help of lambda and ll, and then assign it to the response variable 'rtime' (&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;MODEL rtime~GENERAL(ll);&lt;/SPAN&gt;). And in the ll and lambda definition, I need to stick with '&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;mar&lt;/SPAN&gt;', 'emp', 'agents', 'admsource' as whole covariates, not level-specific, such as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;lambda=exp(b0+bdisage*disage+blos*los+bmar*mar&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;+bemp*emp+bagents*agents+badmsource*admsource+bseq*seq+e);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 19:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92224#M4521</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-14T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92225#M4522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I am missing something here.&amp;nbsp; Suppose disage has four levels.&amp;nbsp; If you use GLMMOD to generate the design matrix, it will create five columns that are indicator variables.&amp;nbsp; So if a subject belongs to the first age class, it would have a vector that looks something like (1 1 0 0 0), the second class (1 0 1 0 0), the third (1 0 0 1 0) and the fourth (1 0 0 0 1).&amp;nbsp; Each column has a name, named cleverly col1 through col5.&amp;nbsp; The first column (col1) is the intercept, and will not be used in the NLMIXED code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your lambda statement will then look like (for ONLY disage):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lambda = exp(b0+b12*col2+b13*col3+b14*col4+b15*col5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the nomenclature for the betas as bij, where i denotes the group variable, and j denotes the column in the design matrix.&amp;nbsp; This is only to keep things straight.&amp;nbsp; By the time you get through coding all of the betas, this may seem tedious, but it is going to help in the contrast statements that give the equivalent of testing of groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contrast statement to give a 3 degree of freedom test of whether any of the betas are different from one another within age is then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTRAST 'Disage' b12-b13=0, b13-b14=0, b14-b15=0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to generalize from this.&amp;nbsp; As far as I know, this is the only way to deal with class variables in any current version of NLMIXED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 12:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92225#M4522</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-15T12:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92226#M4523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really appreciate for your helpful comments. Given that we complete theses steps, I think, we may reach an analysis of likelihood parameter estimates table which has 4 lines for disage categories (with one line as an omitted, which can be though as a reference contrast). But what about overall test for disage? I mean Type III Analysis of Effects Table? As far as I know, this test also does not depend on which category of disage is the omitted category. Can we have something as well in the procedure, or we need to get it done manually? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Issac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 13:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92226#M4523</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-15T13:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92227#M4524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I found something helpful. For the overall test, we should fit the model with and without the set of indicators.&amp;nbsp; A likelihood ratio chi-square statistic is then found by taking twice the positive difference in the log-likelihoods for the two models and the DF is the difference in the number of parameters estimated. &lt;/P&gt;&lt;P&gt;Anyway, I face a silly problem in running the code. I submit the following (even without any categorical variables) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc nlmixed data=test;&lt;/P&gt;&lt;P&gt;lambda=exp(b0+bdisage*disage+blos*los+bseq*seq+e);&lt;/P&gt;&lt;P&gt;ll=-lambda*rtime**(alpha+1)+rstatus*(LOG(alpha+1)+alpha*LOG(rtime)+LOG(lambda));&lt;/P&gt;&lt;P&gt;MODEL rtime~GENERAL(ll);&lt;/P&gt;&lt;P&gt;RANDOM e~NORMAL(0,s2) SUBJECT=id;&lt;/P&gt;&lt;P&gt;PARMS b0=1 bdisage=0 blos=0 bseq=0 s2=1 alpha=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and get a prompt result with specification table as below&lt;/P&gt;&lt;P class="c proctitle"&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="table" frame="box" rules="all" summary="Procedure Nlmixed: Specifications"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Data Set&lt;/TD&gt;&lt;TD class="l data"&gt;TMP1.READMISSION&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Dependent Variable&lt;/TD&gt;&lt;TD class="l data"&gt;rtime&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Distribution for Dependent Variable&lt;/TD&gt;&lt;TD class="l data"&gt;General&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Random Effects&lt;/TD&gt;&lt;TD class="l data"&gt;e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Distribution for Random Effects&lt;/TD&gt;&lt;TD class="l data"&gt;Normal&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Subject Variable&lt;/TD&gt;&lt;TD class="l data"&gt;id&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Optimization Technique&lt;/TD&gt;&lt;TD class="l data"&gt;Dual Quasi-Newton&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="l data"&gt;Integration Method&lt;/TD&gt;&lt;TD class="l data"&gt;Adaptive Gaussian Quadrature&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this print in the log : &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;NOTE: Execution error for observation 1.&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; 0.04 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;What is this about?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 22:43:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92227#M4524</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-15T22:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92228#M4525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issac,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two points:&amp;nbsp; Regarding the likelihood ratio test, this is an excellent idea.&amp;nbsp; It does require multiple fits of the nested models, where using the CONTRAST statement properly should require only a single run.&amp;nbsp; I have to admit that writing good orthogonal contrast statements is not always easy. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to the execution error for observation 1, my best guess is that for the data in hand and the starting values proposed for the parameters, something is uncalculable.&amp;nbsp; My first guess would be log(rtime).&amp;nbsp; If rtime is zero in observation 1, then this statement will return a missing value, and execution will stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 11:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92228#M4525</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-08-16T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLMIXED with categorical covariates in nominal scale</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92229#M4526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totally correct. We can also get some other options with CONTRAST in NLMIXED. It is a good point. Besides, the problem is exactly what you guessed, then I change it to a very little number (near zero) and now it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Issac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 14:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-NLMIXED-with-categorical-covariates-in-nominal-scale/m-p/92229#M4526</guid>
      <dc:creator>issac</dc:creator>
      <dc:date>2012-08-16T14:42:55Z</dc:date>
    </item>
  </channel>
</rss>

