Hi everybody 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: proc nlmixed data = test ; lambda=exp(b0+bdisage*disage+blos*los+bmar*mar+bemp*emp+bagents*agents+badmsource*admsource+bseq*seq+e); ll=-lambda*rtime**(alpha+1)+rstatus*(LOG(alpha+1)+alpha*LOG(rtime)+LOG(lambda)); MODEL rtime~GENERAL(ll); RANDOM e~NORMAL(0,s2) SUBJECT=id; PARMS b0=1 bdisage=0 blos=0 bmar=0 bemp=0 bagents=0 badmsource=0 bseq=0 s2=1 alpha=0; run; 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. Part of the results from log window is as below: NOTE: Character value converted to numeric for argument 2 of '*' operation. NOTE: Character value converted to numeric for argument 2 of '*' operation. NOTE: Character value converted to numeric for argument 2 of '*' operation. NOTE: Character value converted to numeric for argument 2 of '*' operation. 408 ll=-lambda*rtime**(alpha+1)+rstatus*(LOG(alpha+1)+alpha*LOG(rtime)+LOG(lambda)); 409 MODEL rtime~GENERAL(ll); 410 RANDOM e~NORMAL(0,s2) SUBJECT=id; 411 PARMS b0=1 bdisage=0 blos=0 bmar=0 bemp=0 bagents=0 badmsource=0 bseq=0 s2=1 alpha=0; 412 run; NOTE: Execution error for observation 1. NOTE: PROCEDURE NLMIXED used (Total process time): real time 0.24 seconds cpu time 0.09 seconds Any helpful comments would be totally appreciative! Thanks! Issac
... View more