Hi everyone; I am working with 9.3 version. My model did work and now want to do some tests for its estimates. The following is the code proc nlmixed data=x EBOPT MAXFU=800 maxit=600 ; where id ~=. ; lambda=exp(b0+badmsource*admsourceHOSPITAL+bseqadmsource*admsourceHOSPITALseq+bseqsloglos*seqsloglos+b1maruser*marMARRIEDuserenrolleeYES+b2maruser*marPREVIOUSLY_MARRIEDuserenrolle +b1marseq*marMARRIEDseq+b2marseq*marPREVIOUSLY_MARRIEDseq+bsloglos*sloglos+e); ll=-lambda*nrtime/***(alpha+1)*/+rstatus*(/*LOG(alpha+1)+alpha*LOG(nrtime)+*/LOG(lambda)); MODEL nrtime~GENERAL(ll); RANDOM e~NORMAL(0,sd*sd) SUBJECT=id; PARMS b0=0 badmsource=0 bseqadmsource=0 bseqsloglos=0 b1maruser=0 b2maruser=0 b1marseq=0 b2marseq=0 bsloglos=0 sd=1 /*alpha=0*/; CONTRAST 'maruser' mar*userenrollee 1 -1 ; run; I want to test that "b1maruser=b2maruser" or not, but I cannot process it in CONTRAST. These tow estimates are related to crossed effect "mar*userenrollee" that I previously built by output design matrix from proc logistic. The error is this: 88 CONTRAST 'maruser' mar*userenrollee 1 -1 ; - 22 76 ERROR 22-322: Syntax error, expecting one of the following: (, *, **, +, ',', -, /, <>, ><, [, {. ERROR 76-322: Syntax error, statement will be ignored. Any helpful comments would be highly grateful. Thanks! Issac
... View more